:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#2d261b;--muted:#74664d;--paper:#fff8e2f5;--gold:#f0b64b;--green:#79c96f;--deep:#0a1b20f5;--deep-top:#19343af2;--line:#ddb26357}.behavior-analysis-list{gap:14px;display:grid}.behavior-analysis-card{background:#0f172a2e;border:1px solid #94a3b83d;border-radius:8px;padding:16px}.behavior-analysis-card>header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;display:flex}.behavior-analysis-card>header div{gap:4px;display:grid}.behavior-analysis-card>header strong{color:inherit;font-size:15px}.behavior-analysis-card>header span{color:#94a3b8e6;font-size:12px}.behavior-analysis-card .statement-markdown{color:inherit}.behavior-analysis-card .statement-markdown h1,.behavior-analysis-card .statement-markdown h2,.behavior-analysis-card .statement-markdown h3{margin:14px 0 8px;font-size:15px}.behavior-analysis-card .statement-markdown p,.behavior-analysis-card .statement-markdown li{font-size:13px;line-height:1.7}.assessment-stability{--assessment-surface:#fcfcfd;--assessment-muted-surface:#f8fafc;--assessment-border:#e5e7eb;--assessment-text:#101828;--assessment-muted:#667085;gap:12px;display:grid}.admin-shell .assessment-stability,.admin-shell .assessment-stability-notes,.admin-shell .assessment-stability-empty{--assessment-surface:var(--admin-surface-muted);--assessment-muted-surface:var(--admin-surface);--assessment-border:var(--admin-border);--assessment-text:var(--admin-text);--assessment-muted:var(--admin-muted-text)}.teacher-shell .assessment-stability,.teacher-shell .assessment-stability-notes,.teacher-shell .assessment-stability-empty{--assessment-surface:#fcfcfd;--assessment-muted-surface:#f8fafc;--assessment-border:var(--teacher-line);--assessment-text:#101828;--assessment-muted:var(--teacher-muted)}.assessment-stability-notes,.assessment-stability-empty{border:1px solid var(--assessment-border);color:var(--assessment-text);background:var(--assessment-muted-surface);border-radius:8px;gap:8px;padding:10px 12px;display:grid}.assessment-stability-notes p,.assessment-stability-empty{color:var(--assessment-muted);margin:0;font-size:13px;line-height:1.65}.behavior-assessment-stability-summary{gap:8px;display:grid}.behavior-assessment-stability-summary>header{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.behavior-assessment-stability-summary>header strong{color:var(--assessment-text,#101828);font-size:14px;font-weight:900}.behavior-assessment-stability-summary>header span{color:var(--assessment-muted,#667085);font-size:12px;font-weight:850}.assessment-stability-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.assessment-stability-stats>div{border:1px solid var(--assessment-border);background:var(--assessment-surface);border-radius:8px;gap:5px;padding:10px;display:grid}.assessment-stability-stats span{color:var(--assessment-muted);font-size:12px;font-weight:750}.assessment-stability-stats strong{color:var(--assessment-text);font-size:18px;font-weight:850}.assessment-stability-attempts,.assessment-stability-question-list{gap:10px;display:grid}.assessment-stability-attempt{border:1px solid var(--assessment-border);background:var(--assessment-surface);border-radius:8px;gap:10px;padding:12px;display:grid}.assessment-stability-attempt>header,.assessment-stability-question{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.assessment-stability-attempt>header div,.assessment-stability-question div{gap:4px;min-width:0;display:grid}.assessment-stability-attempt strong,.assessment-stability-question strong{color:var(--assessment-text);font-size:13px;font-weight:850}.assessment-stability-attempt span,.assessment-stability-attempt p,.assessment-stability-question span,.assessment-stability-question small{color:var(--assessment-muted);margin:0;font-size:12px;line-height:1.55}.assessment-stability-attempt>header>em{color:var(--assessment-text);flex:none;font-size:12px;font-style:normal;font-weight:850}.assessment-stability-question{border:1px solid var(--assessment-border);background:var(--assessment-muted-surface);border-radius:8px;padding:9px 10px}.assessment-stability-chip{white-space:nowrap;border-radius:999px;flex:none;padding:3px 8px;font-size:12px;font-style:normal;font-weight:850}.assessment-stability-chip-not_entered{color:#344054;background:#f2f4f7}.assessment-stability-chip-viewed_not_edited,.assessment-stability-chip-edited_not_submitted{color:#b54708;background:#fef0c7}.assessment-stability-chip-submitted_not_passed{color:#b42318;background:#fee4e2}.assessment-stability-chip-submitted_passed{color:#067647;background:#dcfae6}@media (max-width:760px){.assessment-stability-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.assessment-stability-attempt>header,.assessment-stability-question{display:grid}}.teacher-inline-warning{color:#92400e;background:#f59e0b1a;border:1px solid #f59e0b52;border-radius:8px;margin:0 0 12px;padding:10px 12px}.teacher-inline-success{color:#047857;background:#10b9811a;border:1px solid #10b98152;border-radius:8px;margin:0 0 12px;padding:10px 12px}.admin-inline-warning{color:#fbbf24;background:#f59e0b1f;border:1px solid #f59e0b52;border-radius:8px;margin:0 0 14px;padding:10px 12px}.admin-inline-success{color:#86efac;background:#10b9811f;border:1px solid #10b98152;border-radius:8px;margin:0 0 14px;padding:10px 12px}.behavior-generate-form{border-top:1px solid #94a3b838;margin-top:14px;padding-top:14px}.admin-behavior-analysis-list .behavior-analysis-card{background:#0f172a6b}.admin-behavior-filter-panel .admin-panel-head{padding-bottom:0}.admin-behavior-filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:12px;display:grid}.admin-behavior-filter-row form{min-width:0}.admin-behavior-filter-row .admin-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:8px}.admin-behavior-filter-row .admin-filter-bar label{min-width:0}.admin-behavior-filter-row .admin-button{min-height:38px;padding:8px 10px}.admin-behavior-analysis-layout{grid-template-columns:minmax(320px,.76fr) minmax(0,1.44fr);align-items:start;gap:14px;display:grid}.admin-behavior-report-list{gap:8px;display:grid}.admin-behavior-report-row{color:inherit;background:#0000001f;border:1px solid #decda024;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;text-decoration:none;display:grid}.admin-behavior-report-row:hover,.admin-behavior-report-row.active{background:#f3d17a1a;border-color:#f3d17a5c}.admin-behavior-report-row div{min-width:0}.admin-behavior-report-row strong,.admin-behavior-report-row span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.admin-behavior-report-row strong{color:#fff8dc;font-size:13px;font-weight:900}.admin-behavior-report-row span{color:#edf3eb9e;margin-top:4px;font-size:12px}.admin-behavior-detail-card{background:#0f172a6b}.teacher-compact-row.behavior-report-list-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;display:grid}.behavior-report-list-row:hover,.behavior-report-list-row.active{background:#f0f6ff;border-color:#175cd357}.behavior-report-list-link{min-width:0;color:inherit;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;text-decoration:none;display:grid}.behavior-report-list-link>div{min-width:0}.behavior-report-list-link .teacher-badge{flex:none}.behavior-report-delete-form{min-width:0;display:grid}.behavior-report-delete-button{width:44px;min-height:30px;padding:0}.behavior-analysis-detail-card{background:#fcfcfd}.growth-report-list-row{color:inherit;text-decoration:none}.growth-report-list-row:hover,.growth-report-list-row.active{background:#f0f6ff;border-color:#175cd357}.growth-report-list-main{gap:2px;min-width:0;display:grid}.growth-report-detail-panel{grid-column:1/-1}.growth-report-detail-card{background:#fcfcfd}.growth-report-detail-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.teacher-behavior-analysis-layout{grid-template-columns:minmax(330px,.88fr) minmax(0,1.42fr);align-items:start;gap:14px;display:grid}.behavior-analysis-sidebar{gap:14px;min-width:0;display:grid}.teacher-filter-bar-dense.behavior-analysis-filter-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-bottom:0;display:grid;overflow:visible}.teacher-filter-bar-dense.behavior-analysis-filter-form label,.teacher-filter-bar-dense.behavior-analysis-filter-form>.teacher-button{width:100%;min-width:0}.teacher-filter-bar-dense.behavior-analysis-filter-form>.teacher-button{min-height:34px;padding:0 8px}.behavior-analysis-detail-panel{min-height:100%}.upgrade-required-page{background:linear-gradient(135deg,#132e42c7,#0d1426e0),url(/assets/art/backgrounds/ch1-mist-town/programming-bg-clean-v1.webp) 50%/cover;place-items:center;min-height:100vh;padding:28px;display:grid}.upgrade-required-panel{color:#f8fafc;background:#090e1cd1;border:1px solid #ffffff2e;border-radius:16px;width:min(560px,100%);padding:32px;box-shadow:0 24px 80px #00000052}.upgrade-required-kicker,.pricing-hero>span{color:#8bd4ff;letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}.upgrade-required-panel h1,.pricing-hero h1{letter-spacing:0;margin:10px 0}.upgrade-required-panel p,.pricing-hero p{color:#f8fafcb8;line-height:1.65}.upgrade-required-actions,.exam-complete-actions,.pricing-card-head{gap:12px;display:flex}.upgrade-primary,.upgrade-secondary,.pricing-card button,.pricing-request-form button{border:0;border-radius:10px;justify-content:center;align-items:center;min-height:42px;padding:0 16px;font-weight:800;text-decoration:none;display:inline-flex}.upgrade-primary,.pricing-request-form button{color:#062032;background:#7dd3fc}.upgrade-secondary,.pricing-card button:disabled{color:#dbeafe;background:#ffffff1f}.pricing-page{overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;color:#3e2d18;background:radial-gradient(circle at 0 0,#8ccf6933,#0000 30%),linear-gradient(#f7efd9 0%,#efe1bd 100%);height:100dvh;min-height:100vh;overflow:hidden auto}.pricing-shell{gap:18px;width:min(1080px,100% - 40px);margin:0 auto;padding:26px 0 56px;display:grid}.pricing-page-head{background:#fffcedeb;border:1px solid #82643738;border-radius:14px;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px;display:flex;box-shadow:0 16px 38px #422f1a24}.pricing-kicker{color:#6a4c1d;letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:900}.pricing-page-head h1{color:#3e2d18;margin:4px 0 0;font-size:34px;line-height:1.1}.pricing-page-head p{color:#7a6138;max-width:720px;margin:8px 0 0;font-size:14px;line-height:1.55}.pricing-head-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.pricing-back-link,.pricing-card-action{color:#315b2e;background:#ebfaded1;border:1px solid #82643738;border-radius:8px;justify-content:center;align-items:center;min-height:34px;padding:0 12px;font-family:inherit;font-size:13px;font-weight:900;text-decoration:none;display:inline-flex}button.pricing-card-action{appearance:none;cursor:pointer}.pricing-current-badge{color:#26541f;background:#8ccf6947;border-radius:999px;justify-content:center;align-items:center;min-height:34px;padding:0 12px;font-size:13px;font-weight:900;display:inline-flex}.pricing-card-actions{align-self:end;gap:8px;display:grid}.pricing-card-action.pricing-activation-action,.pricing-card-action.pricing-activation-submit{color:#fff;background:#315b2e;border-color:#315b2e61}.pricing-card-action.pricing-activation-action:hover,.pricing-card-action.pricing-activation-submit:hover:not(:disabled),.pricing-card-action.pricing-activation-action:focus-visible,.pricing-card-action.pricing-activation-submit:focus-visible{color:#fff;background:#244b23}.pricing-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.pricing-card{background:#fffcedf0;border:1px solid #82643738;border-radius:14px;grid-template-rows:auto auto 1fr auto;gap:14px;min-height:360px;padding:18px;display:grid;box-shadow:0 16px 38px #422f1a1f}.pricing-card.featured{background:linear-gradient(#ffefc2db,#fffcedf0),#fffcedf0;border-color:#b8872d5c}.pricing-card.current{border-color:#5d8e5675;box-shadow:0 0 0 1px #5d8e5624,0 16px 38px #422f1a1f}.pricing-card-head{gap:8px;display:grid}.pricing-card-head span{color:#6a4c1d;background:#ffefc2db;border-radius:999px;width:fit-content;padding:5px 9px;font-size:12px;font-weight:950}.pricing-card.current .pricing-card-head span,.pricing-card-action.current{color:#26541f;background:#8ccf6947}.pricing-card.featured .pricing-card-head span{color:#5a3c16;background:#b8872d2e}.pricing-card h2,.pricing-card strong,.pricing-card p{margin:0}.pricing-card h2{color:#3e2d18;font-size:20px}.pricing-card-head>strong{color:#315b2e;font-size:32px;line-height:1}.pricing-card-head em{color:#8a7044;font-size:12px;font-style:normal;text-decoration:line-through}.pricing-card p,.pricing-card li{color:#7a6138;font-size:13px;line-height:1.55}.pricing-card ul{align-content:start;gap:9px;margin:0;padding-left:18px;display:grid}.pricing-contact-panel{background:linear-gradient(90deg,#ebfadee6,#fffcedf0),#fffcedf0;border:1px solid #50784a47;border-radius:14px;grid-template-columns:minmax(0,1fr) minmax(360px,.95fr);align-items:center;gap:18px;padding:18px;display:grid;box-shadow:0 16px 38px #422f1a1f}.pricing-contact-panel.level-upgrade{border-color:#315b2e6b;box-shadow:0 0 0 1px #8ccf6929,0 16px 38px #422f1a1f}.pricing-contact-copy{gap:8px;min-width:0;display:grid}.pricing-contact-copy span{color:#26541f;background:#8ccf6947;border-radius:999px;width:fit-content;padding:5px 9px;font-size:12px;font-weight:950}.pricing-contact-copy h2{color:#3e2d18;margin:0;font-size:24px;line-height:1.2}.pricing-contact-copy p{color:#6f5731;max-width:640px;margin:0;font-size:14px;font-weight:800;line-height:1.6}.pricing-contact-qr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;display:grid}.pricing-contact-qr-card{text-align:center;background:#ffffffad;border:1px solid #8264372e;border-radius:12px;justify-items:center;gap:8px;min-width:0;padding:12px;display:grid}.pricing-contact-qr-frame{background:#fff;border:1px solid #82643724;border-radius:10px;place-items:center;width:100%;height:clamp(170px,22vw,238px);padding:8px;display:grid}.pricing-contact-qr-frame img{object-fit:contain;max-width:100%;max-height:100%;display:block}.pricing-contact-qr-card strong{color:#3e2d18;font-size:16px}.pricing-contact-qr-card span{color:#7a6138;font-size:12px;font-weight:900;line-height:1.4}.pricing-compare-panel{background:#fffcedf0;border:1px solid #82643738;border-radius:14px;gap:14px;padding:18px;display:grid;overflow-x:auto;box-shadow:0 16px 38px #422f1a1f}.pricing-compare-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.pricing-compare-head h2{color:#3e2d18;font-size:20px}.pricing-compare-head span{color:#7a6138;margin-top:4px;font-size:13px;line-height:1.45;display:block}.pricing-compare-table{background:#ffffff75;border:1px solid #8264372e;border-radius:12px;min-width:820px;display:grid;overflow:hidden}.pricing-compare-row{grid-template-columns:minmax(160px,1.1fr) repeat(4,minmax(120px,1fr));align-items:stretch;display:grid}.pricing-compare-row+.pricing-compare-row{border-top:1px solid #82643729}.pricing-compare-row>*{color:#7a6138;align-items:center;min-height:50px;padding:12px;font-size:13px;font-weight:800;display:flex}.pricing-compare-row>*+*{border-left:1px solid #82643729}.pricing-compare-row.heading>*{color:#3e2d18;background:#ffefc2a3}.pricing-compare-row strong.available{color:#315b2e}.pricing-consult-backdrop{z-index:90;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#291f146b;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.pricing-consult-dialog{color:#3e2d18;background:#fffced;border:1px solid #82643738;border-radius:18px;gap:16px;width:min(360px,100vw - 32px);max-height:calc(100dvh - 40px);padding:22px;display:grid;position:relative;overflow-y:auto;box-shadow:0 26px 80px #281d1147}.pricing-consult-close{color:#5b4324;cursor:pointer;background:#fffcedd1;border:1px solid #8264372e;border-radius:999px;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:12px;right:12px}.pricing-consult-kicker{color:#315b2e;font-size:12px;font-weight:950}.pricing-consult-dialog h2{color:#3e2d18;margin:6px 40px 0 0;font-size:22px}.pricing-consult-dialog p{color:#7a6138;margin:6px 0 0;font-size:13px;font-weight:800}.pricing-consult-qr{object-fit:contain;background:#fff;border:1px solid #82643729;border-radius:14px;width:100%;max-height:min(520px,58dvh)}.pricing-activation-dialog{width:min(420px,100vw - 32px)}.pricing-activation-form{gap:12px;display:grid}.pricing-activation-form label{color:#5b4324;gap:6px;font-size:12px;font-weight:900;display:grid}.pricing-activation-form input{color:#3e2d18;min-height:42px;font:inherit;background:#fff;border:1px solid #8264373d;border-radius:10px;padding:0 12px;font-size:14px}.pricing-activation-form input:focus{border-color:#315b2e7a;outline:3px solid #8ccf693d}.pricing-activation-message,.pricing-activation-error{border-radius:10px;margin:0;padding:10px 12px;font-size:13px;font-weight:900;line-height:1.45}.pricing-activation-message{color:#25511f;background:#8ccf6938}.pricing-activation-error{color:#8a2f18;background:#ffb89938}.exam-question-list-grid button.locked{cursor:not-allowed;opacity:.72}.exam-question-list-grid button.locked strong{color:#facc15}.teacher-form-note,.admin-help-text{gap:8px;margin:0;display:grid}.teacher-form-note p,.admin-help-text p{color:inherit;opacity:.78;margin:0}@media (max-width:980px){.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-contact-panel{grid-template-columns:1fr}}@media (max-width:640px){.pricing-page-head,.pricing-grid{grid-template-columns:1fr}.pricing-page-head{display:grid}.pricing-head-actions{justify-content:flex-start}.pricing-contact-qr-grid{grid-template-columns:1fr}.pricing-contact-qr-frame{height:min(260px,68vw)}}.growth-report-page{-webkit-overflow-scrolling:touch;color:#24170f;background:#f5f0e7;height:100dvh;min-height:100vh;padding:36px 16px;overflow:hidden auto}.growth-report-card{background:#fffaf1;border:1px solid #5a3f242e;border-radius:8px;width:min(920px,100%);margin:0 auto;padding:28px;box-shadow:0 18px 50px #3e28141f}.growth-report-head{border-bottom:1px solid #5a3f2429;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px;padding-bottom:18px;display:flex}.growth-report-head h1{margin:4px 0 0;font-size:28px;line-height:1.2}.growth-report-head span,.growth-report-foot{color:#6b5947;font-size:13px}.growth-report-foot{border-top:1px solid #5a3f2429;flex-wrap:wrap;gap:10px 18px;margin-top:24px;padding-top:16px;display:flex}*{box-sizing:border-box}html,body{min-width:320px;min-height:100%;margin:0;overflow:hidden}body{color:#fff8dc;letter-spacing:0;background:#0b1514;font-family:Inter,Avenir Next,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;filter:saturate(.7);opacity:.78}a[data-navigation-pending=true]{cursor:progress;filter:brightness(1.08)saturate(1.08)}.navigation-feedback{z-index:10000;pointer-events:none;opacity:0;width:100%;height:3px;transition:opacity .12s;position:fixed;top:0;left:0;overflow:hidden}.navigation-feedback span{background:linear-gradient(90deg,#6de5dc00,#6de5dcf2,#f4ce65e6);border-radius:999px;width:42%;height:100%;display:block;transform:translate(-120%);box-shadow:0 0 18px #6de5dc9e}.navigation-feedback.active{opacity:1}.navigation-feedback.active span{animation:.92s ease-in-out infinite navigationFeedbackSweep}.deployment-version-guard{z-index:12000;color:#fff6d8;background:#0d1c19f0;border:1px solid #f6d3785c;border-radius:14px;align-items:center;gap:12px;max-width:min(420px,100vw - 32px);padding:12px 14px;font-size:14px;line-height:1.4;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 18px 42px #0000005c,0 0 28px #52d3be24}.deployment-version-guard button{color:#241b09;background:#f7cb65f0;border:1px solid #ffecb19e;border-radius:999px;flex:none;padding:7px 12px;font-weight:600}.deployment-version-guard button:hover,.deployment-version-guard button:focus-visible{background:#ffe19a}.map-loading-scene{min-height:100vh}.map-loading-hud,.map-loading-scene .level-node{pointer-events:none}.map-loading-panel{z-index:20;color:#fff8dc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#14100cb8;border:1px solid #ffe6aa47;border-radius:14px;gap:6px;width:min(360px,100vw - 48px);margin:auto;padding:18px 20px;display:grid;position:relative;box-shadow:0 18px 44px #00000052}.map-loading-panel.compact{text-align:center;width:auto;min-width:72px;min-height:36px;margin:0;padding:0 10px}.map-loading-panel.inline{color:#fff8dcdb;pointer-events:none;background:#14100c85;border-radius:9px;justify-content:center;align-self:stretch;align-items:center;min-height:36px;display:flex;box-shadow:0 6px 16px #0000002e}.map-loading-panel span{color:#fff8dcad;font-size:12px;font-weight:600}.map-loading-panel strong{font-size:15px;font-weight:700}.map-loading-panel.inline strong{white-space:nowrap;font-size:12px;font-weight:800;line-height:1}.instant-level-overlay{z-index:360;background:#07110f;position:fixed;inset:0;overflow:hidden}.instant-level-scene{width:100%;height:var(--programming-viewport-height,100dvh);background:linear-gradient(#070b0a2e,#070b0a2e),url(/assets/art/backgrounds/ch1-mist-town/programming-bg-clean-v1.webp?v=20260512) 50%/cover no-repeat;min-height:100vh}.instant-me-overlay{z-index:365;background:#f6ead0;position:fixed;inset:0;overflow:hidden}@keyframes navigationFeedbackSweep{0%{transform:translate(-120%)}to{transform:translate(260%)}}.route-loading-scene{color:#fff8dc}.route-loading-map-hud,.route-loading-level-topbar{z-index:20;pointer-events:none;align-items:center;gap:18px;display:grid;position:absolute;top:22px;left:28px;right:28px}.route-loading-map-hud{grid-template-columns:170px minmax(0,1fr) 116px}.route-loading-level-topbar{z-index:120;grid-template-columns:190px minmax(0,1fr) 116px}.route-loading-logo,.route-loading-pill,.route-loading-panel,.route-loading-map-node,.route-loading-map-path{background:#22191080;border:1px solid #ffe6aa29;position:relative;overflow:hidden;box-shadow:0 12px 30px #0000003d}.route-loading-logo:after,.route-loading-pill:after,.route-loading-panel:after,.route-loading-map-node:after{content:"";background:linear-gradient(100deg,#0000,#fff8dc1f,#0000);animation:1.1s ease-in-out infinite routeLoadingShimmer;position:absolute;inset:0;transform:translate(-120%)}.route-loading-logo{border-radius:10px;width:152px;height:46px}.route-loading-pill{border-radius:999px;justify-self:end;width:116px;height:46px}.route-loading-pill.wide{justify-self:stretch;width:auto}.route-loading-map{background:radial-gradient(circle at 22% 70%,#63d3c62e,#0000 9rem),radial-gradient(circle at 58% 48%,#f5ce6529,#0000 10rem),linear-gradient(#0a1a17f0,#050e0df5);min-height:100vh;position:absolute;inset:0}.route-loading-map-node{aspect-ratio:1;background:#0c2824b8;border-radius:999px;width:clamp(64px,8vw,96px);position:absolute}.route-loading-map-node.node-one{top:68%;left:18%}.route-loading-map-node.node-two{top:42%;left:48%}.route-loading-map-node.node-three{top:24%;left:74%}.route-loading-map-path{background:linear-gradient(90deg,#6de5dc33,#f5ce6547,#6de5dc1f);border:0;border-radius:999px;height:4px;position:absolute;top:52%;left:20%;right:18%;transform:rotate(-16deg)}.route-loading-level{grid-template-columns:minmax(300px,26%) minmax(0,1fr);gap:clamp(10px,1.3vw,18px);height:100vh;padding:clamp(82px,11vh,98px) clamp(10px,1.4vw,18px) clamp(10px,1.4vw,18px);display:grid}.route-loading-panel{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#131a18d1;border-radius:18px;min-height:0}.route-loading-panel.editor{background:linear-gradient(#171a1deb,#090c0df0),#0d1113f0}@keyframes routeLoadingShimmer{0%{transform:translate(-120%)}to{transform:translate(120%)}}h1,h2,h3,p{margin:0}img{display:block}.village-scene,.login-scene,.programming-scene{min-height:100vh;position:relative;overflow:hidden}.village-scene{background:#10201d}.village-hud,.programming-topbar{z-index:10;pointer-events:none;align-items:center;gap:18px;display:grid;position:absolute;top:22px;left:28px;right:28px}.village-hud{z-index:20;grid-template-columns:170px minmax(0,1fr) auto}.programming-topbar{z-index:120;grid-template-columns:190px minmax(420px,.9fr) minmax(0,1fr) 116px;overflow:visible}.village-logo,.kit-logo img,.login-logo{width:152px;height:auto}.kit-logo,.village-actions,.village-map-menus,.village-chapter-menu,.village-chapter-trigger,.village-level-menu,.village-level-trigger,.village-leaderboard-link,.programming-actions,.programming-level-context,.programming-problem-menu,.current-level-cta,.hud-icon,.top-icon-button,.chapter-pill,.village-chapter,.game-start-button,.login-link{pointer-events:auto}.chapter-pill,.village-chapter,.hud-icon,.top-icon-button{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#22191080;border:1px solid #ffe6aa38;box-shadow:0 8px 24px #00000038}.chapter-pill,.village-chapter{color:#fff8dc;white-space:nowrap;border-radius:14px;justify-content:center;align-items:center;min-height:48px;padding:0 18px;font-size:20px;font-weight:800;display:flex}.village-actions,.programming-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.village-map-menus{align-items:center;gap:10px;min-width:0;display:flex}.village-chapter-menu,.village-level-menu{position:relative}.village-chapter-trigger{color:#fff8dc;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;text-align:left;background:linear-gradient(145deg,#25493bd1,#7e5222c7);border:1px solid #ffe6aa33;border-radius:12px;grid-template-columns:minmax(0,1fr);align-content:center;width:315px;min-width:315px;min-height:48px;padding:7px 12px;font-family:inherit;display:grid;box-shadow:0 8px 22px #00000038}.village-chapter-trigger span{color:#ffd984;font-size:11px;font-weight:900}.village-chapter-trigger strong{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:14px;font-weight:900;overflow:hidden}.village-chapter-menu-panel{z-index:30;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#14100ce6;border:1px solid #ffe6aa47;border-radius:14px;width:min(420px,100vw - 56px);max-height:min(540px,100vh - 120px);padding:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0;overflow:auto;box-shadow:0 18px 42px #00000061}.village-chapter-menu-panel a,.village-chapter-menu-placeholder{color:#fff8dcd6;border:1px solid #0000;border-radius:10px;grid-template-columns:58px minmax(0,1fr);grid-template-areas:"order title""order point";align-items:center;gap:2px 10px;padding:10px;display:grid}.village-chapter-menu-placeholder{color:#fff8dc8f;cursor:default;opacity:.78}.village-chapter-menu-panel a.active{color:#fff8dc;background:#44684b66;border-color:#ffe6aa6b}.village-chapter-menu-panel a span,.village-chapter-menu-placeholder span{color:#2a1a08;background:#ffd984e0;border-radius:10px;grid-area:order;place-items:center;min-width:50px;height:34px;font-size:12px;font-weight:900;display:grid}.village-chapter-menu-placeholder span{color:#fff8dca8;background:#fff8dc29}.village-chapter-menu-panel a strong,.village-chapter-menu-placeholder strong{text-overflow:ellipsis;white-space:nowrap;grid-area:title;font-size:14px;font-weight:900;overflow:hidden}.village-chapter-menu-panel a em,.village-chapter-menu-placeholder em{color:#fff8dca8;text-overflow:ellipsis;white-space:nowrap;grid-area:point;font-size:12px;font-style:normal;font-weight:700;overflow:hidden}.village-level-trigger{color:#fff8dc;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;text-align:left;background:#22191094;border:1px solid #ffe6aa3d;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:132px;min-height:48px;padding:8px 12px;font-family:inherit;display:grid;box-shadow:0 8px 24px #0000003d}.village-level-trigger span{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;overflow:hidden}.village-level-trigger strong{color:#1f1408;background:#ffd984;border-radius:999px;place-items:center;min-width:28px;height:28px;font-size:13px;font-weight:900;display:grid}.village-level-menu-panel{z-index:30;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#14100ce6;border:1px solid #ffe6aa47;border-radius:14px;width:min(380px,100vw - 56px);max-height:min(540px,100vh - 120px);padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:auto;box-shadow:0 18px 42px #00000061}.village-level-menu-panel a{color:#fff8dcd6;border:1px solid #0000;border-radius:10px;grid-template-columns:40px minmax(0,1fr);grid-template-areas:"order title""order point";align-items:center;gap:2px 10px;padding:10px;display:grid}.village-level-menu-panel a.active{color:#fff8dc;background:#44684b66;border-color:#ffe6aa6b}.village-level-menu-panel a span{color:#2a1a08;background:#ffd984e0;border-radius:10px;grid-area:order;place-items:center;width:34px;height:34px;font-size:12px;font-weight:900;display:grid}.village-level-menu-panel a strong{text-overflow:ellipsis;white-space:nowrap;grid-area:title;font-size:14px;font-weight:900;overflow:hidden}.village-level-menu-panel a em{color:#fff8dca8;text-overflow:ellipsis;white-space:nowrap;grid-area:point;font-size:12px;font-style:normal;font-weight:700;overflow:hidden}.village-leaderboard-link{color:#221608;background:linear-gradient(145deg,#fff1b8,#e1a94c);border:1px solid #ffe6aa47;border-radius:12px;grid-template-columns:auto auto;place-items:center;gap:6px;min-width:54px;min-height:48px;padding:8px 12px;font-size:13px;font-weight:950;text-decoration:none;display:grid;box-shadow:0 8px 24px #0000003d}.village-leaderboard-link svg{color:#6b3d08}.village-leaderboard-link span{color:#fff8dc;background:#221910b8;border-radius:999px;place-items:center;min-width:22px;height:22px;font-size:12px;font-weight:950;display:grid}.chapter-switcher{z-index:11;pointer-events:auto;gap:8px;max-width:min(720px,100vw - 56px);display:flex;position:absolute;top:88px;left:28px}.chapter-tab{color:#fff8dcd1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1715117a;border:1px solid #ffe6aa33;border-radius:12px;grid-template-columns:auto 1fr;align-items:center;gap:8px;min-height:42px;padding:7px 12px;display:grid;box-shadow:0 8px 22px #00000038}.chapter-tab.active{color:#fff8dc;background:linear-gradient(145deg,#2a4338b8,#5f401dbd);border-color:#ffe6aa7a}.chapter-tab span{color:#ffd984;font-size:11px;font-weight:900}.chapter-tab strong{white-space:nowrap;font-size:14px;font-weight:900}.hud-icon,.top-icon-button{border-radius:12px;place-items:center;width:48px;height:48px;display:grid}.hud-icon img,.top-icon-button img{width:28px;height:28px}.topbar-account-actions{pointer-events:auto;justify-content:flex-end;align-items:center;gap:5px;display:flex;position:relative}.user-account-menu{pointer-events:auto;min-width:0;display:inline-flex;position:relative}.user-account-menu-floating{z-index:9;position:fixed;top:10px;right:106px}.global-sound-toggle{color:#fff8dc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;font:inherit;isolation:isolate;background:#221910b8;border:1px solid #ffe6aa47;justify-content:center;align-items:center;font-size:12px;font-weight:900;line-height:1;display:inline-flex;box-shadow:0 10px 26px #00000047}.global-sound-toggle-floating{top:calc(env(safe-area-inset-top,0px) + 10px);right:calc(env(safe-area-inset-right,0px) + 14px);z-index:2147483000;border-radius:999px;width:38px;min-width:38px;height:34px;padding:0;position:fixed}.global-sound-toggle-topbar{flex:none;position:relative}.global-sound-toggle.enabled{color:#ecffd7;background:#26541fc2;border-color:#9ee47a70}.global-sound-toggle.muted{color:#fff8dcbd}.global-sound-toggle:hover,.global-sound-toggle:focus-visible{transform:translateY(-1px)}.global-sound-toggle:focus-visible{outline-offset:3px;outline:2px solid #ffe6aa8a}.global-sound-toggle svg{flex:none}.global-sound-toggle:after{z-index:9201;color:#fff8dc;content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;background:#221910e6;border:1px solid #ffe6aa3d;border-radius:9px;max-width:min(220px,100vw - 28px);padding:7px 9px;font-size:12px;font-weight:850;transition:opacity .15s,transform .15s;position:absolute;top:calc(100% + 8px);right:0;transform:translateY(-4px);box-shadow:0 12px 28px #00000047}.global-sound-toggle:hover:after,.global-sound-toggle:focus-visible:after{opacity:1;transform:translateY(0)}:is(body:has(.village-hud) .global-sound-toggle-floating,body:has(.programming-topbar) .global-sound-toggle-floating){display:none}body:has(.ranked-exam-page) .global-sound-toggle-floating{display:none}body:has(.teacher-drawer-backdrop) .global-sound-toggle-floating{display:none}.xingyin-mentor-layer{right:calc(env(safe-area-inset-right,0px) + clamp(12px, 2vw, 24px));bottom:calc(env(safe-area-inset-bottom,0px) + clamp(14px, 2.4vh, 28px));z-index:9100;pointer-events:none;width:min(430px,100vw - 24px);animation:.36s cubic-bezier(.18,1.12,.24,1) both xingyinMentorEnter;position:fixed}body:has(.programming-scene) .xingyin-mentor-layer{right:calc(env(safe-area-inset-right,0px) + clamp(12px, 2vw, 24px));bottom:calc(env(safe-area-inset-bottom,0px) + clamp(108px, 16vh, 158px))}.xingyin-mentor-layer.ide-anchored{width:min(360px,100vw - 24px)}.xingyin-mentor-layer.dismissing{animation:.22s both xingyinMentorExit}.xingyin-mentor-card{color:#fff8dc;pointer-events:auto;background:linear-gradient(135deg,#0d231fe6,#261f12db),radial-gradient(circle at 20% 18%,#7edfab33,#0000 42%);border:1px solid #c6e2b442;border-radius:8px;grid-template-columns:clamp(96px,25vw,136px) minmax(0,1fr) 28px;align-items:end;gap:clamp(8px,1.4vw,12px);min-height:clamp(116px,20vw,148px);padding:10px 10px 12px 0;display:grid;position:relative;overflow:visible;box-shadow:0 18px 42px #00000057,inset 0 0 0 1px #ffffff0d}.xingyin-mentor-card:before{z-index:-1;filter:blur(18px);content:"";background:#54ca961a;border-radius:8px;position:absolute;inset:8px}.xingyin-mentor-layer.ide-anchored .xingyin-mentor-card{grid-template-columns:92px minmax(0,1fr) 28px;gap:9px;min-height:110px;padding:9px 9px 10px 0}.xingyin-mentor-portrait{align-self:end;width:clamp(96px,25vw,136px);height:clamp(124px,28vw,168px);margin:-36px 0 -12px -8px;position:relative;overflow:visible}.xingyin-mentor-layer.ide-anchored .xingyin-mentor-portrait{width:92px;height:122px;margin:-26px 0 -8px -6px}.xingyin-mentor-portrait img{z-index:1;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 14px 18px #00000057);-webkit-user-select:none;user-select:none;width:118%;height:118%;display:block;position:relative}.xingyin-mentor-nameplate{z-index:2;color:#ffe6a4;letter-spacing:0;text-shadow:0 1px #2b1806e6,0 0 10px #ffdd8661;white-space:nowrap;background:linear-gradient(135deg,#1e1a10d6,#4c33149e),radial-gradient(circle at 50% 0,#ffe09538,#0000 58%);border:1px solid #edc46c8f;border-radius:999px;place-items:center;min-width:58px;padding:2px 10px 4px;font-family:Kaiti SC,STKaiti,KaiTi,Songti SC,serif;font-size:18px;font-weight:600;line-height:1.05;display:inline-grid;position:absolute;top:-8px;left:52%;transform:translate(-50%)rotate(-2deg);box-shadow:0 8px 20px #00000047,0 0 16px #dfb15938,inset 0 0 0 1px #fff8dc14}.xingyin-mentor-layer.ide-anchored .xingyin-mentor-nameplate{min-width:50px;padding:1px 8px 3px;font-size:15px;top:-6px}.xingyin-mentor-message{align-self:center;gap:5px;min-width:0;padding:6px 0;display:grid}.xingyin-mentor-message strong{color:#c9f7bc;font-size:13px;font-weight:950;line-height:1}.xingyin-mentor-message p{color:#fff8dceb;white-space:pre-line;margin:0;font-size:14px;font-weight:760;line-height:1.55}.xingyin-online-summary{gap:7px;min-width:0;display:grid}.xingyin-online-summary p{margin:0}.xingyin-online-summary .xingyin-online-intro{color:#fff8dcf0}.xingyin-online-stats{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.xingyin-online-stat{color:#fff8dcf0;background:#fff8dc14;border:1px solid #fff8dc24;border-radius:999px;align-items:center;gap:5px;max-width:100%;min-height:26px;padding:4px 7px;font-size:12px;font-weight:780;line-height:1.2;display:inline-flex;box-shadow:inset 0 0 0 1px #ffffff08}.xingyin-online-stat-icon{flex:none;place-items:center;width:17px;height:17px;font-size:14px;line-height:1;display:inline-grid}.xingyin-online-stat-icon img{object-fit:contain;filter:drop-shadow(0 1px 2px #00000052);width:17px;height:17px;display:block}.xingyin-online-stat.passed .xingyin-online-stat-icon{color:#68f28a;text-shadow:0 0 10px #68f28a7a}.xingyin-online-stat.knowledge .xingyin-online-stat-icon{color:#ffd867;text-shadow:0 0 12px #ffd8677a}.xingyin-online-stat.title .xingyin-online-stat-icon,.xingyin-online-stat.garlic .xingyin-online-stat-icon,.xingyin-online-stat.task .xingyin-online-stat-icon{color:#ffe0a3}.xingyin-online-stat-text{overflow-wrap:anywhere;min-width:0}.xingyin-online-stat-detail{color:#c9f7bcdb;font-weight:640}.xingyin-online-summary .xingyin-online-closing{color:#c9f7bc}.xingyin-online-summary .xingyin-online-empty{color:#fff8dcd1}.xingyin-online-summary .xingyin-online-footer{color:#fff8dcc7;border-top:1px solid #fff8dc1f;padding-top:5px;font-size:12px;font-weight:680;line-height:1.5}.xingyin-mentor-layer.ide-anchored .xingyin-mentor-message p{font-size:13px;line-height:1.48}.xingyin-mentor-layer.ide-anchored .xingyin-online-stat{min-height:24px;padding:3px 6px;font-size:11.5px}.xingyin-mentor-close{appearance:none;color:#fff8dccc;cursor:pointer;background:#0000002e;border:1px solid #fff8dc2e;border-radius:8px;align-self:start;place-items:center;width:28px;height:28px;display:grid}.xingyin-mentor-close:hover,.xingyin-mentor-close:focus-visible{color:#fff8dc;background:#fff8dc1f}.xingyin-mentor-close:focus-visible{outline-offset:2px;outline:2px solid #c9f7bc8c}@keyframes xingyinMentorEnter{0%{opacity:0;transform:translate(22px,18px)scale(.96)}64%{opacity:1;transform:translate(-4px,-2px)scale(1.01)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes xingyinMentorExit{to{opacity:0;transform:translate(14px,10px)scale(.98)}}@media (max-width:620px){.xingyin-mentor-layer{right:calc(env(safe-area-inset-right,0px) + 10px);bottom:calc(env(safe-area-inset-bottom,0px) + 88px);width:min(356px,100vw - 20px)}body:has(.programming-scene) .xingyin-mentor-layer{right:calc(env(safe-area-inset-right,0px) + 10px);bottom:calc(env(safe-area-inset-bottom,0px) + 88px);width:min(356px,100vw - 20px)}.xingyin-mentor-card{grid-template-columns:88px minmax(0,1fr) 28px;min-height:108px}.xingyin-mentor-layer.ide-anchored .xingyin-mentor-card{grid-template-columns:78px minmax(0,1fr) 28px;min-height:96px}.xingyin-mentor-portrait{width:88px;height:122px;margin:-28px 0 -10px -6px}.xingyin-mentor-layer.ide-anchored .xingyin-mentor-portrait{width:78px;height:106px;margin:-22px 0 -8px -6px}.xingyin-mentor-nameplate,.xingyin-mentor-layer.ide-anchored .xingyin-mentor-nameplate{min-width:46px;padding:1px 7px 3px;font-size:14px;top:-5px}.xingyin-mentor-message p{font-size:13px;line-height:1.48}.xingyin-online-summary{gap:6px}.xingyin-online-stats{gap:5px}.xingyin-online-stat{min-height:24px;padding:3px 6px;font-size:11.5px}.xingyin-online-stat-icon,.xingyin-online-stat-icon img{width:16px;height:16px}}.user-account-trigger{appearance:none;font-family:inherit}.user-account-menu-panel{z-index:70;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffcedf5;border:1px solid #82643733;border-radius:12px;min-width:136px;padding:6px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 18px 44px #281d113d}.user-account-menu-panel a{color:#3e2d18;white-space:nowrap;border-radius:8px;padding:9px 10px;font-size:13px;font-weight:900;line-height:1;text-decoration:none}.user-account-menu-panel a:hover{color:#26541f;background:#8ccf692e}.topbar-action-button,.topbar-avatar-button{color:#fff8dc;width:24px;height:24px;font:inherit;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;background:#22191080;border:1px solid #ffe6aa38;border-radius:6px;place-items:center;padding:0;text-decoration:none;display:grid;box-shadow:0 4px 12px #00000038}button.topbar-action-button,button.topbar-avatar-button{appearance:none}.topbar-action-button img{width:14px;height:14px}.topbar-avatar-button img{object-fit:cover;width:100%;height:100%}.topbar-avatar-button{padding:0;overflow:hidden}.topbar-user-button{grid-template-columns:22px minmax(0,auto);gap:5px;width:auto;max-width:128px;padding:0 8px 0 1px}.topbar-coin-wallet-target,.topbar-garlic-wallet-target{justify-content:center;align-items:center;min-width:0;display:inline-flex;position:relative}.topbar-coin-wallet-button,.topbar-garlic-wallet-button{grid-template-columns:16px minmax(2ch,auto);gap:4px;width:auto;min-width:58px;max-width:104px}.topbar-coin-wallet-button{color:#fff2bd;background:linear-gradient(145deg,#5b4219d1,#21180dbd),#22191080;border-color:#ffd57057;padding:0 7px}.topbar-garlic-wallet-button{color:#e7ffd6;background:linear-gradient(145deg,#345728d6,#192b16c2),#1b2d1480;border-color:#a8dc885c;min-width:66px;padding:0 7px}.topbar-coin-wallet-button img,.topbar-garlic-wallet-button img{width:15px;height:15px}.topbar-coin-wallet-button img{filter:drop-shadow(0 2px 5px #ffbb4157)}.topbar-garlic-wallet-button img{filter:drop-shadow(0 2px 5px #93d66f57)}.topbar-coin-wallet-button span,.topbar-garlic-wallet-button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-weight:800;line-height:1;overflow:hidden}.topbar-coin-wallet-target.is-pulsing .topbar-coin-wallet-button,.topbar-garlic-wallet-target.is-pulsing .topbar-garlic-wallet-button{animation:.62s cubic-bezier(.16,1.2,.32,1) both topbarCoinWalletPulse}.topbar-coin-bonus{z-index:2;color:#35200a;text-align:center;pointer-events:none;background:linear-gradient(#ffe58d,#f0b847);border:1px solid #ffde788f;border-radius:999px;min-width:34px;padding:3px 7px;font-size:13px;font-style:normal;font-weight:950;line-height:1.05;animation:.72s both topbarCoinBonusPop;position:absolute;top:calc(100% - 6px);bottom:auto;right:-10px;box-shadow:0 8px 18px #00000047}.coin-flight-layer{z-index:2147482500;pointer-events:none;position:fixed;inset:0}.coin-flight{opacity:0;width:22px;height:22px;transform:translate(var(--coin-start-x), var(--coin-start-y)) scale(.72);animation:coinFlightToWallet .98s cubic-bezier(.18, .82, .22, 1) var(--coin-delay) both;position:fixed;top:0;left:0}.coin-flight img{filter:drop-shadow(0 8px 10px #00000047)drop-shadow(0 0 10px #ffcd5657);width:100%;height:100%;animation:coinFlightSpin .52s linear var(--coin-delay) infinite;display:block}@keyframes coinFlightToWallet{0%{opacity:0;transform:translate(var(--coin-start-x), var(--coin-start-y)) scale(.62)}14%{opacity:1;transform:translate(calc(var(--coin-start-x) + var(--coin-drift-x)), calc(var(--coin-start-y) - var(--coin-lift-y))) scale(1)}78%{opacity:1}to{opacity:0;transform:translate(var(--coin-end-x), var(--coin-end-y)) scale(.18)}}@keyframes coinFlightSpin{to{transform:rotate(360deg)}}@keyframes topbarCoinWalletPulse{0%,to{transform:scale(1);box-shadow:0 4px 12px #00000038}44%{transform:scale(1.13);box-shadow:0 8px 20px #00000047,0 0 18px #ffcb5b80}}@keyframes topbarCoinBonusPop{0%{opacity:0;transform:translateY(4px)scale(.72)}72%{opacity:1;transform:translateY(-2px)scale(1)}to{opacity:1;transform:translateY(-2px)scale(1)}}.topbar-user-avatar{color:#3e2d18;background:#fff1b8;border-radius:5px;place-items:center;width:22px;height:22px;font-size:11px;line-height:1;display:grid;overflow:hidden}.topbar-user-avatar img{object-fit:cover;width:100%;height:100%}.topbar-user-name{color:#fff8dc;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;line-height:1;overflow:hidden}.village-actions .topbar-account-actions{gap:8px}.village-actions .topbar-action-button,.village-actions .topbar-avatar-button{border-radius:9px;width:36px;height:36px;position:relative;overflow:visible}.village-actions .topbar-action-button img,.village-actions .topbar-action-button svg{width:21px;height:21px}.village-actions .topbar-user-button{grid-template-columns:33px minmax(0,auto);gap:8px;width:auto;max-width:192px;padding:0 12px 0 2px}.village-actions .topbar-user-avatar{border-radius:8px;width:33px;height:33px;font-size:16px}.village-actions .topbar-user-name{font-size:16px}.village-actions [data-tooltip]:after{z-index:80;color:#fff8dc;content:attr(data-tooltip);opacity:0;pointer-events:none;text-align:center;white-space:nowrap;background:#221910db;border:1px solid #ffe6aa3d;border-radius:9px;max-width:min(220px,100vw - 28px);padding:7px 9px;font-size:12px;font-weight:850;line-height:1;transition:opacity .15s,transform .15s;position:absolute;top:calc(100% + 10px);right:0;transform:translateY(-4px);box-shadow:0 12px 28px #00000047}.village-actions [data-tooltip]:hover:after,.village-actions [data-tooltip]:focus-visible:after{opacity:1;transform:translateY(0)}.village-actions [data-tooltip][aria-expanded=true]:after{opacity:0}.today-news-backdrop{z-index:7700;background:#0807066b;width:100vw;height:100dvh;padding:12px;position:fixed;top:0;left:0}.today-news-phone{aspect-ratio:1206/2622;color:#111827;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:linear-gradient(#fffffffc,#f6f8fbfc),#fff;border:8px solid #151515;border-radius:46px;outline:none;grid-template-rows:auto auto minmax(0,1fr);gap:14px;width:min(390px,100vw - 24px,46dvh - 11px);height:auto;padding:14px;display:grid;position:fixed;top:50dvh;right:clamp(18px,6vw,92px);overflow:hidden;transform:translateY(-50%);box-shadow:0 34px 90px #0000005c,inset 0 0 0 1px #ffffffd1}.today-news-phone:before{content:"";pointer-events:none;border:1px solid #392f211f;border-radius:36px;position:absolute;inset:7px}.today-news-device-bar{z-index:1;color:#111827;grid-template-columns:minmax(48px,1fr) auto minmax(48px,1fr);align-items:center;min-height:30px;padding:0 14px;font-size:12px;font-weight:800;line-height:1;display:grid;position:relative}.today-news-time{font-variant-numeric:tabular-nums;justify-self:start}.today-news-dynamic-island{background:#111;border-radius:999px;grid-template-columns:auto minmax(0,auto) auto;align-items:center;gap:6px;width:116px;min-height:27px;padding:4px 8px;display:grid;box-shadow:inset 0 0 0 1px #ffffff0f}.today-news-music-art{background:radial-gradient(circle at 72% 28%,#ffffff9e,#0000 26%),linear-gradient(135deg,#ff3b30,#fc0 52%,#34c759);border-radius:5px;width:16px;height:16px}.today-news-music-text{color:#ffffffe0;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:10px;line-height:1;overflow:hidden}.today-news-music-wave{grid-template-columns:repeat(3,2px);align-items:end;gap:2px;height:12px;display:inline-grid}.today-news-music-wave i{background:#34c759;border-radius:999px;width:2px;display:block}.today-news-music-wave i:first-child{height:7px}.today-news-music-wave i:nth-child(2){height:12px}.today-news-music-wave i:nth-child(3){height:9px}.today-news-status-icons{justify-self:end;align-items:center;gap:8px;display:flex}.today-news-wifi{width:18px;height:13px;display:block;position:relative}.today-news-wifi i{border:2px solid #0000;border-top-color:#111827;border-radius:999px 999px 0 0;display:block;position:absolute;left:50%;transform:translate(-50%)}.today-news-wifi i:first-child{width:18px;height:12px;top:0}.today-news-wifi i:nth-child(2){width:12px;height:8px;top:4px}.today-news-wifi i:nth-child(3){background:#111827;border:0;width:4px;height:4px;bottom:0}.today-news-battery{border:1.5px solid #111827e0;border-radius:3px;width:22px;height:11px;display:block;position:relative}.today-news-battery:after{content:"";background:#111827e0;border-radius:0 2px 2px 0;width:2px;height:5px;position:absolute;top:3px;right:-3.5px}.today-news-battery i{background:#34c759;border-radius:2px;width:15px;height:100%;display:block}.today-news-close{z-index:2;color:#111827;cursor:pointer;background:#ffffffeb;border:1px solid #1118271f;border-radius:999px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:54px;right:22px;box-shadow:0 10px 24px #0f172a24}.today-news-close:hover{color:#0f172a;background:#f1f5f9fa}.today-news-head{z-index:1;gap:12px;padding:4px 48px 0 4px;display:grid;position:relative}.today-news-head h2{color:#111827;letter-spacing:0;margin:0;font-size:16px;line-height:1.12}.today-news-filters{gap:8px;min-width:0;padding-bottom:2px;display:flex;overflow-x:auto}.today-news-filter-button{color:#374151;font:inherit;cursor:pointer;background:#eef2f7;border:0;border-radius:999px;flex:none;padding:7px 11px;font-size:12px;font-weight:800;line-height:1}.today-news-filter-button:hover{color:#111827;background:#e5eaf2}.today-news-filter-button.active{color:#fff;background:#111827}.today-news-head-reading{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding-right:48px}.today-news-back-button{color:#111827;cursor:pointer;background:#eef2f7;border:1px solid #1118271f;border-radius:999px;place-items:center;width:34px;height:34px;display:grid}.today-news-back-button:hover{background:#e5eaf2}.today-news-list{z-index:1;overscroll-behavior:contain;flex-direction:column;align-items:stretch;gap:14px;min-height:0;padding:0 2px 8px;display:flex;position:relative;overflow-y:auto}.today-news-card{text-align:left;cursor:pointer;background:#fff;border:0;border-radius:18px;flex:none;width:100%;padding:0;display:block;overflow:hidden;box-shadow:0 14px 30px #0f172a1f}.today-news-image{aspect-ratio:16/9;border-radius:inherit;background:radial-gradient(circle at 50% 35%,#94a3b838,#0000 48%),#f1f5f9;place-items:center;width:100%;min-width:0;display:grid;position:relative;overflow:hidden}.today-news-image:after{content:"";background:linear-gradient(#00000014,#0003 36%,#000000db),linear-gradient(90deg,#00000047,#0000 44%);position:absolute;inset:0}.today-news-image img{object-fit:cover;width:100%;height:100%;display:block}.today-news-copy{z-index:1;color:#fff;gap:5px;min-width:0;display:grid;position:absolute;bottom:12px;left:12px;right:12px}.today-news-copy h3{-webkit-line-clamp:2;color:#fff;letter-spacing:0;text-shadow:0 2px 12px #000c;-webkit-box-orient:vertical;margin:0;font-size:19px;line-height:1.14;display:-webkit-box;overflow:hidden}.today-news-empty{color:#64748b;text-align:center;background:#fff;border:1px solid #94a3b838;border-radius:18px;flex:none;place-items:center;gap:8px;min-height:190px;padding:20px;display:grid}.today-news-empty strong{color:#111827;font-size:17px;line-height:1.2}.today-news-empty span{font-size:13px;line-height:1.4}.today-news-detail{color:#111827;flex:none;align-content:start;gap:12px;display:grid}.today-news-detail-hero{aspect-ratio:16/9.7;background:#f1f5f9;border-radius:18px;place-items:center;display:grid;overflow:hidden}.today-news-detail-hero img{object-fit:contain;will-change:transform;width:100%;max-width:100%;height:auto;max-height:none;display:block;transform:translateY(0)}.today-news-detail-hero-pan img{animation:8s ease-in-out infinite alternate today-news-detail-image-pan}@keyframes today-news-detail-image-pan{0%,18%{transform:translateY(0)}82%,to{transform:translateY(calc(-1 * var(--today-news-detail-pan-distance,0px)))}}.today-news-detail-post{background:#fff;border:1px solid #94a3b838;border-radius:18px;gap:13px;padding:14px;display:grid}.today-news-detail-author{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;display:grid}.today-news-author-avatar{color:#0f1419;background:#e7e9ea;border-radius:999px;place-items:center;width:42px;height:42px;font-size:16px;font-weight:900;line-height:1;display:grid}.today-news-detail-author div{gap:3px;min-width:0;display:grid}.today-news-detail-author strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900;line-height:1.15;overflow:hidden}.today-news-detail-author span:not(.today-news-author-avatar){color:#71767b;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;line-height:1.15;overflow:hidden}.today-news-detail-post h1{color:#111827;letter-spacing:0;margin:0;font-size:21px;line-height:1.2}.today-news-detail-post>p{color:#1f2937;margin:0;font-size:15px;line-height:1.58}.today-news-detail-time{color:#71767b;font-size:12px;font-weight:700;line-height:1.2}.today-news-detail-stats{color:#71767b;border-top:1px solid #94a3b83d;border-bottom:1px solid #94a3b83d;align-items:center;gap:5px;padding:10px 0;font-size:12px;line-height:1;display:flex}.today-news-detail-stats strong{color:#111827;font-size:13px;font-weight:900}.today-news-detail-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.today-news-social-button{color:#8b98a5;cursor:pointer;background:0 0;border:1px solid #94a3b842;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:36px;padding:0 10px;font-size:12px;font-weight:900;line-height:1;display:inline-flex}.today-news-social-button:hover{color:#1d9bf0;background:#1d9bf01f;border-color:#1d9bf047}.today-news-social-button:disabled{cursor:default;opacity:.58}.today-news-social-button-liked{color:#f91880;background:#f918801a;border-color:#f9188059}.today-news-social-button-liked svg{fill:currentColor}.today-news-social-button-saved{color:#1d9bf0;background:#1d9bf01a;border-color:#1d9bf059}.today-news-social-button-saved svg{fill:currentColor}.today-news-detail-error{color:#dc2626;margin:-2px 0 0;font-size:12px;font-weight:800;line-height:1.3}.today-news-detail-en{border-top:1px solid #94a3b838;gap:7px;padding-top:12px;display:grid}.today-news-detail-en strong{color:#111827;font-size:14px;line-height:1.25}.today-news-detail-en p{color:#4b5563;margin:0;font-size:13px;line-height:1.5}@media (max-width:430px){.today-news-phone{border-width:6px;border-radius:38px;padding:12px;right:12px}.today-news-phone:before{border-radius:30px;inset:6px}.today-news-device-bar{grid-template-columns:minmax(42px,1fr) auto minmax(42px,1fr);padding:0 12px}.today-news-dynamic-island{gap:5px;width:108px;min-height:26px;padding:4px 7px}.today-news-close{top:50px;right:18px}.today-news-head h2,.today-news-copy h3{font-size:16px}}.topbar-account-menu{position:relative}.topbar-account-popover{z-index:90;color:#fff8dc;opacity:1;isolation:isolate;-webkit-backdrop-filter:none;background:#21160e linear-gradient(#21160e,#21160e);border:1px solid #ffe6aa42;border-radius:10px;gap:6px;width:158px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 42px #00000080,inset 0 0 0 1px #ffe6aa14}.topbar-account-popover strong{color:#ffd984;text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:2px 4px 5px;font-size:12px;overflow:hidden}.topbar-account-popover a,.topbar-account-popover button{color:#fff8dce6;width:100%;min-height:30px;font:inherit;text-align:left;background:#342315;border:0;border-radius:7px;align-items:center;gap:7px;padding:0 8px;font-size:12px;display:flex}.topbar-account-popover form{background:#21160e;margin:0}.programming-topbar .topbar-account-popover{z-index:120;background:#21160e linear-gradient(#21160e,#21160e)}.programming-topbar .topbar-account-popover a,.programming-topbar .topbar-account-popover button{background:#342315}.topbar-account-popover-floating{z-index:7000;opacity:1;pointer-events:auto;background:#21160e linear-gradient(#21160e,#21160e);position:fixed;transform:translateZ(0)}.topbar-account-popover-floating a,.topbar-account-popover-floating button{background:#342315}.topbar-account-popover a:hover,.topbar-account-popover button:hover{color:#fff8dc;background:#4a331d}.map-stage{background:#16241f;border:1px solid #ffe6aa2e;border-radius:18px;min-height:460px;position:relative;overflow:hidden;box-shadow:0 18px 46px #0000005c}.map-stage.large{min-height:660px}.map-stage.fullscreen{border:0;border-radius:0;width:100vw;height:100vh;min-height:100vh}.map-background,.map-overlay{width:100%;height:100%;position:absolute;inset:0}.map-background{object-fit:cover}.map-overlay{background:linear-gradient(90deg,#0912112e,#09121105 45%,#09121138),linear-gradient(#fff4d30f,#0912112e)}.map-route{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.map-route-underlay polyline,.map-route-line polyline{fill:none;stroke-linecap:round;stroke-linejoin:round}.map-route-underlay polyline{stroke:#13120d6b;stroke-width:2.8px;filter:drop-shadow(0 5px 8px #1c12086b)}.map-route-line polyline{stroke:#ffe297ad;stroke-width:1.4px;stroke-dasharray:2 2.4;filter:drop-shadow(0 3px 6px #1c120880)}.map-stage[data-chapter=ch3-sorting-icefield] .map-route-underlay polyline{stroke:#02122794;stroke-width:3.2px;filter:drop-shadow(0 4px 9px #0845769e)}.map-stage[data-chapter=ch3-sorting-icefield] .map-route-line polyline{stroke:#c1f1ffd1;stroke-width:1.25px;stroke-dasharray:1.6 2.2;filter:drop-shadow(0 3px 7px #0a375c85)}.level-node{left:var(--node-x);top:var(--node-y);z-index:4;filter:drop-shadow(0 10px 18px #0006);place-items:center;width:72px;height:72px;transition:transform .16s,filter .16s;display:grid;position:absolute;transform:translate(-50%,-50%)}.level-node:hover{z-index:80;filter:drop-shadow(0 15px 22px #00000075);transform:translate(-50%,-56%)scale(1.04)}.level-node img{width:72px;height:72px;position:absolute;inset:0}.level-node>span{z-index:2;color:#fff8dc;text-shadow:0 2px 4px #00000073;place-items:center;width:42px;height:42px;font-size:13px;font-weight:900;display:grid;position:relative}.level-node>b{z-index:3;color:#fff8dc;text-align:center;white-space:nowrap;background:#141f2cc2;border-radius:999px;min-width:42px;padding:2px 6px;font-size:10px;font-weight:700;line-height:1.2;position:absolute;top:calc(100% - 6px);left:50%;transform:translate(-50%)}.level-node-stars{z-index:3;white-space:nowrap;background:#141f2cc2;border-radius:999px;justify-content:center;align-items:center;gap:2px;min-width:46px;padding:2px 5px;display:flex;position:absolute;top:calc(100% - 5px);left:50%;transform:translate(-50%);box-shadow:0 5px 10px #0000003d}.level-node-stars i{color:#d2d6cf94;text-shadow:0 1px 2px #00000073;font-size:11px;font-style:normal;line-height:1}.level-node-stars i.lit{color:#ffd86f;filter:drop-shadow(0 0 4px #ffd86fb8)}.level-node.locked{cursor:not-allowed}.level-node.locked>span{opacity:.65}.level-node:not(.show-tooltip) .level-node-tooltip{display:none}.level-node-tooltip{z-index:120;color:#fff8dc;text-align:center;opacity:0;pointer-events:none;white-space:normal;background:#160f0ac7;border:1px solid #ffe6aa57;border-radius:10px;min-width:120px;max-width:220px;padding:7px 10px;font-size:12px;line-height:1.2;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%,-8px);box-shadow:0 10px 22px #0000004d}.level-node.show-tooltip:hover .level-node-tooltip,.level-node.show-tooltip:focus-visible .level-node-tooltip{opacity:1;transform:translate(-50%)}.level-node-tooltip-title,.level-node-tooltip-algorithm{font-weight:400;display:block}.level-node-tooltip-title{color:#fff8dc}.level-node-tooltip-algorithm{color:#ffe6aad1;margin-top:4px;font-size:11px}.level-node.exam{background:radial-gradient(circle at 45% 34%,#86db7e6b,#15464cc7 43%,#25180eeb 100%);border:2px solid #ffe6aa7a;border-radius:50%;width:82px;height:82px;box-shadow:inset 0 0 0 3px #08121280,0 16px 34px #0000006b}.level-node.exam.exam-guide{border-color:#fff2aad1;box-shadow:inset 0 0 0 3px #08121280,0 0 0 8px #ffcf4c24,0 18px 42px #0000007a,0 0 30px #ffd25a6b}.level-node.exam.training{background:radial-gradient(circle at 45% 34%,#7ecedb6b,#1a445ec7 43%,#121825eb 100%);border-color:#9ae0ff85;width:76px;height:76px}.level-node.exam.review{background:radial-gradient(circle at 45% 34%,#ffbf5770,#683a16d1 43%,#1f140df0 100%);border-color:#ffd6969e;width:76px;height:76px}.level-node.exam img{filter:drop-shadow(0 4px 8px #0000005c);width:52px;height:52px;inset:15px}.level-node.exam.training img,.level-node.exam.review img{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.level-node.exam span{color:#fff3d2;width:38px;height:38px;font-size:12px}.level-node.exam strong{color:#fff8dc;text-align:center;white-space:nowrap;background:#160f0ab8;border:1px solid #ffe6aa57;border-radius:10px;min-width:132px;padding:6px 9px;font-size:12px;font-weight:900;line-height:1.15;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 10px 22px #00000047}.level-node.exam strong em{color:#ffeaa2;letter-spacing:0;margin-top:3px;font-size:11px;font-style:normal;display:block}.map-current-arrow{z-index:7;object-fit:contain;pointer-events:none;filter:drop-shadow(0 10px 14px #00000057);width:54px;height:60px;transition:left .28s,top .28s;animation:1.35s ease-in-out infinite currentEntryArrowFloat;position:absolute;transform:translate(-50%,-142%)}.map-mascot{z-index:5;object-fit:contain;filter:drop-shadow(0 12px 16px #00000061);width:82px;height:82px;transition:left .28s,top .28s;position:absolute;transform:translate(-50%,-108%)}@keyframes currentEntryArrowFloat{0%,to{transform:translate(-50%,-142%)}50%{transform:translate(-50%,-156%)}}.current-level-cta{z-index:12;color:#fff8dc;background:linear-gradient(140deg,#f5ce65f2,#ac7026f0);border:1px solid #ffe6aa57;border-radius:14px;min-width:250px;max-width:min(360px,100vw - 56px);padding:16px 20px;display:grid;position:absolute;bottom:34px;left:50%;transform:translate(-50%);box-shadow:0 16px 38px #00000057}.current-level-cta span{text-transform:uppercase;font-size:13px;font-weight:800}.current-level-cta strong{margin-top:4px;font-size:24px}.current-level-cta-repair{background:linear-gradient(140deg,#378bc4f2,#1e4c76f0);border-color:#6ed2ff5c}.current-level-cta-teacher{background:linear-gradient(140deg,#cb9944f5,#724b25f2);border-color:#ffe6aa6b}.current-level-cta-complete{background:linear-gradient(140deg,#3d8a5be6,#2a563ceb);border-color:#b4e2aa5c}.current-level-cta-exam{background:linear-gradient(140deg,#d8a22ff5,#6f3d1af2);border-color:#ffe9968f;box-shadow:0 18px 40px #0000005c,0 0 24px #ffd56042}.current-level-cta-group{z-index:24;gap:10px;display:flex;position:fixed;bottom:clamp(18px,3vh,34px);left:50%;transform:translate(-50%)}.current-level-cta-group .current-level-cta{position:static;transform:none}.current-level-cta-training{background:linear-gradient(140deg,#398caef5,#204e6ff2);border-color:#9ae0ff85;box-shadow:0 18px 40px #00000057,0 0 22px #78d2ff38}.programming-scene{height:var(--programming-viewport-height,100dvh);background:linear-gradient(#070b0a2e,#070b0a2e),url(/assets/art/backgrounds/ch1-mist-town/programming-bg-clean-v1.webp) 50%/cover no-repeat;grid-template-rows:clamp(34px,6vh,48px) minmax(0,1fr);gap:clamp(6px,1vh,8px);min-height:0;padding:clamp(8px,1.5vh,12px) clamp(10px,1.6vw,14px) clamp(8px,1.5vh,14px);display:grid}.programming-topbar{grid-template-columns:95px minmax(330px,.92fr) minmax(0,1fr) 58px;gap:9px;min-height:0;position:relative;top:auto;left:auto;right:auto}.programming-topbar .kit-logo img{width:76px}.programming-topbar .chapter-pill{border-radius:7px;min-height:24px;padding:0 9px;font-size:10px;box-shadow:0 4px 12px #00000038}.programming-level-context{align-items:center;gap:7px;min-width:0;display:flex}.programming-level-context .chapter-pill{text-overflow:ellipsis;flex:0 auto;max-width:152px;overflow:hidden}.programming-problem-menu{flex:none;position:relative}.programming-problem-menu summary{color:#fff8dc;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;white-space:nowrap;background:#22191080;border:1px solid #ffe6aa38;border-radius:7px;justify-content:center;align-items:center;min-height:24px;padding:0 9px;font-size:10px;font-weight:800;list-style:none;display:flex;box-shadow:0 4px 12px #00000038}.programming-problem-menu summary::-webkit-details-marker{display:none}.programming-problem-menu-panel{z-index:30;background:#15120df5;border:1px solid #ffe6aa38;border-radius:10px;width:min(300px,100vw - 48px);max-height:min(58vh,420px);padding:6px;display:grid;position:absolute;top:calc(100% + 8px);left:0;overflow:auto;box-shadow:0 16px 34px #00000057}.programming-problem-menu-panel a,.programming-problem-menu-panel>button,.programming-problem-menu-panel>span{color:#fff8dcd1;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:8px;font-size:11px;text-decoration:none;display:grid}.programming-problem-menu-panel a:hover,.programming-problem-menu-panel a.active,.programming-problem-menu-panel>button:hover,.programming-problem-menu-panel>button.active{color:#fff8dc;background:#ffe6aa1a}.programming-problem-menu-panel>button.locked,.programming-problem-menu-panel>span.locked{color:#fff8dc61;cursor:not-allowed;filter:grayscale();opacity:.58}.programming-problem-menu-panel>button.locked em,.programming-problem-menu-panel>span.locked em{color:#ffe6aa7a}.programming-problem-menu-panel span,.programming-problem-menu-panel em{color:#ffe6aab8;font-style:normal}.programming-problem-menu-panel strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:400;overflow:hidden}.programming-topbar .programming-actions{z-index:8200;gap:5px;position:absolute;top:50%;right:0;transform:translateY(-50%)}.programming-actions .topbar-account-actions,.programming-actions .user-account-menu{z-index:8200}.programming-actions .topbar-action-button,.programming-actions .topbar-avatar-button{position:relative;overflow:visible}.programming-actions .topbar-teaching-button{color:#fff4d6;background:linear-gradient(140deg,#a65221eb,#5b3016eb),#221910b8;border-color:#ddb56a57;width:34px;min-width:34px;padding:0}.programming-actions .topbar-teaching-button:hover,.programming-actions .topbar-teaching-button:focus-visible{color:#fff8dc;background:linear-gradient(140deg,#c36828f5,#6c3718f5),#221910d1;border-color:#ffd37c94}.programming-actions .topbar-teaching-button img{width:16px;height:16px}.programming-actions .user-account-menu-panel{z-index:8300;background:#fffced;border-color:#8264373d;box-shadow:0 22px 54px #100d095c}.programming-actions [data-tooltip]:after{z-index:8400;color:#fff8dc;content:attr(data-tooltip);opacity:0;pointer-events:none;text-align:center;white-space:nowrap;background:#221910e6;border:1px solid #ffe6aa3d;border-radius:9px;max-width:min(220px,100vw - 28px);padding:7px 9px;font-size:12px;font-weight:850;line-height:1;transition:opacity .15s,transform .15s;position:absolute;top:calc(100% + 9px);right:0;transform:translateY(-4px);box-shadow:0 12px 28px #00000047}.programming-actions [data-tooltip]:hover:after,.programming-actions [data-tooltip]:focus-visible:after{opacity:1;transform:translateY(0)}.programming-actions [data-tooltip][aria-expanded=true]:after{opacity:0}.programming-topbar .top-icon-button{border-radius:6px;width:24px;height:24px;box-shadow:0 4px 12px #00000038}.programming-topbar .top-icon-button img{width:14px;height:14px}.level-progress-strip{justify-content:center;align-items:center;min-width:0;display:flex}.progress-step{align-items:center;display:flex}.progress-step img{width:20px;height:20px}.progress-step i{background:#ffffff57;border-radius:99px;width:15px;height:2px}.titlebar-promote-progress{z-index:12;color:#f5dfae;pointer-events:none;justify-content:center;justify-self:stretch;align-items:center;gap:18px;min-width:0;height:100%;display:block;position:absolute;inset:0;overflow:visible}.titlebar-promote-nodes{z-index:2;pointer-events:auto;grid-template-columns:repeat(5,56px);justify-content:center;align-items:center;gap:15px;width:max-content;min-width:0;height:auto;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.titlebar-promote-node{color:#fff8df;appearance:none;text-shadow:0 1px 2px #00000094;background:0 0;border:0;border-radius:999px;flex:none;justify-self:center;place-items:center;width:44px;height:44px;font-size:20px;line-height:1;text-decoration:none;transition:transform .16s,filter .16s;display:grid;position:relative}.titlebar-promote-node:not(:last-child):after{content:"→";color:#ffe6aa94;text-align:center;text-shadow:0 1px 2px #00000073;background:0 0;width:14px;height:auto;font-size:14px;line-height:1;position:absolute;top:50%;left:calc(100% + 7px);transform:translateY(-50%)}.titlebar-promote-node img{width:100%;height:100%;position:absolute;inset:0}.titlebar-promote-node span{position:relative}.titlebar-promote-node.optional-passed:before{content:"";z-index:4;filter:drop-shadow(0 0 5px #ffd86fd1)drop-shadow(0 2px 2px #0000007a);width:24px;height:24px;text-shadow:none;background:url(/assets/art/backgrounds/ch1-mist-town/promote/icon-golden-check.svg) 50%/contain no-repeat;place-items:center;line-height:1;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.titlebar-promote-node b{display:none}.titlebar-promote-node.current{color:#dffffc;filter:drop-shadow(0 0 10px #49eee3bd);width:56px;height:56px;font-size:24px;transform:translateY(-1px)}.titlebar-promote-node:hover{filter:drop-shadow(0 0 8px #ffde94b8);transform:translateY(-1px)}.titlebar-promote-node.current:hover{transform:translateY(-2px)}.titlebar-promote-node.locked{cursor:not-allowed;filter:grayscale()brightness(.7);opacity:.46;pointer-events:auto}.titlebar-promote-node.locked:hover{filter:grayscale()brightness(.7);transform:none}.titlebar-promote-node.disabled,.titlebar-promote-node:disabled{cursor:not-allowed;filter:grayscale(.85)brightness(.72);opacity:.5;pointer-events:auto}.titlebar-promote-node.disabled:hover,.titlebar-promote-node:disabled:hover{filter:grayscale(.85)brightness(.72);transform:none}.titlebar-promote-node.missing{opacity:.45;pointer-events:none}.titlebar-promote-summary{color:#f9e6b6;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;background:#0818199e;border:1px solid #d9952d52;border-radius:999px;flex:0 auto;justify-content:flex-start;align-items:center;width:fit-content;min-width:0;max-width:min(32vw,380px);min-height:20px;padding:0 8px;font-size:10px;display:inline-flex;position:absolute;top:50%;left:calc(50% + 188px);overflow:hidden;transform:translateY(-50%);box-shadow:inset 0 0 0 1px #ffffff0a}.programming-main{height:100%;min-height:0;overflow:hidden}.programming-layout{width:100%;height:100%;min-height:0;max-width:min(100%, var(--programming-viewport-width,100vw));grid-template-columns:minmax(300px,26%) minmax(0,1fr);gap:clamp(10px,1.3vw,18px);transition:width .18s,grid-template-columns .18s;display:grid;position:relative;overflow:hidden}.programming-layout.task-expanded{grid-template-columns:minmax(360px,46%) minmax(0,1fr);width:100%}.programming-layout.editor-expanded,.programming-layout.task-expanded.editor-expanded{grid-template-columns:minmax(0,0) minmax(0,1fr);gap:0}.programming-layout.editor-expanded>.task{opacity:0;pointer-events:none;border-width:0;min-width:0;overflow:hidden}.programming-layout.panel-motion-task-open .completion-task-panel{will-change:transform;animation:.64s cubic-bezier(.16,1.28,.26,1) both programmingTaskPanelOpen}.programming-layout.panel-motion-task-close .completion-task-panel{will-change:transform;animation:.56s cubic-bezier(.18,.94,.24,1) both programmingTaskPanelClose}.programming-layout.panel-motion-ide-open .completion-workbench-panel{animation:.64s cubic-bezier(.16,1.28,.26,1) both programmingIdePanelOpen}.programming-layout.panel-motion-ide-close .completion-workbench-panel{animation:.56s cubic-bezier(.18,.94,.24,1) both programmingIdePanelClose}.programming-layout.completion-animation{position:relative}.programming-layout.completion-animation .completion-task-panel,.programming-layout.completion-animation .completion-workbench-panel{will-change:transform;transition:transform .82s cubic-bezier(.72,.02,.2,1)}.programming-layout.completion-slide-out .completion-task-panel,.programming-layout.completion-ko-show .completion-task-panel,.programming-layout.completion-five-gates-show .completion-task-panel,.programming-layout.completion-six-generals-show .completion-task-panel{pointer-events:none;transform:translate(-110vw)}.programming-layout.completion-slide-out .completion-workbench-panel,.programming-layout.completion-ko-show .completion-workbench-panel,.programming-layout.completion-five-gates-show .completion-workbench-panel,.programming-layout.completion-six-generals-show .completion-workbench-panel{pointer-events:none;transform:translate(110vw)}.programming-layout.completion-effect-split-ac.completion-slide-out .completion-task-panel,.programming-layout.completion-effect-split-ac.completion-ko-show .completion-task-panel{transform:translateY(-110vh)}.programming-layout.completion-effect-split-ac.completion-slide-out .completion-workbench-panel,.programming-layout.completion-effect-split-ac.completion-ko-show .completion-workbench-panel{transform:translateY(110vh)}.programming-layout.completion-impact .completion-task-panel,.programming-layout.completion-next-ready .completion-task-panel,.programming-layout.completion-impact .completion-workbench-panel,.programming-layout.completion-next-ready .completion-workbench-panel{transform:translate(0)}.programming-layout.completion-impact{animation:none}body:has(.programming-layout.completion-impact) .programming-scene{animation:.76s cubic-bezier(.14,1.08,.28,1) both completionPageImpact}.programming-layout.completion-impact .completion-task-panel,.programming-layout.completion-impact .completion-workbench-panel{pointer-events:none}.programming-layout.completion-impact .completion-task-panel{animation:.76s linear both completionPanelImpactLeft}.programming-layout.completion-impact .completion-workbench-panel{animation:.76s linear both completionPanelImpactRight}.programming-layout.completion-effect-split-ac.completion-impact .completion-task-panel{animation:.76s linear both completionPanelImpactTop}.programming-layout.completion-effect-split-ac.completion-impact .completion-workbench-panel{animation:.76s linear both completionPanelImpactBottom}.completion-ko-overlay{z-index:9500;pointer-events:none;place-items:center;display:grid;position:fixed;inset:0}.completion-ko-overlay>img{object-fit:contain;filter:drop-shadow(0 18px 26px #0000006b);transform-origin:50%;opacity:0;width:min(84vw,720px);max-width:92vw;height:auto;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)scale(.72)}.completion-ko-slide-out>img{opacity:0}.completion-ko-show>img{opacity:1;transition:opacity .18s,transform 1s cubic-bezier(.18,1.3,.28,1);transform:translate(-50%,-50%)scale(1)}.completion-ko-five-gates-show>img{opacity:1;animation:1.5s cubic-bezier(.16,1.18,.24,1) both completionFiveGatesShow}.completion-ko-six-generals-show>img{opacity:1;animation:1.7s cubic-bezier(.14,1.12,.24,1) both completionSixGeneralsShow}.completion-ko-impact>img{opacity:0;transition:opacity .42s,transform .52s cubic-bezier(.66,.02,.32,1);transform:translate(calc(50vw - 28px),-50%)scale(.14)}.completion-split-ac{--split-letter-size:clamp(150px, 24vw, 320px);--split-letter-gap:clamp(78px, 15vw, 190px);opacity:0;pointer-events:none;transition:opacity .18s;position:fixed;inset:0}.completion-split-ac:before,.completion-split-ac:after{content:"";z-index:0;pointer-events:none;opacity:0;border-radius:999px;width:min(72vw,760px);height:min(34vw,360px);position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)scale(.1)}.completion-split-ac:before{border:2px solid #ffdd7aad;box-shadow:0 0 36px #ff99248f,inset 0 0 34px #ff5c1c47}.completion-split-ac:after{filter:blur(3px);mix-blend-mode:screen;background:radial-gradient(circle,#fff8bceb,#ffa12a7a 22%,#0000 64%),radial-gradient(circle at 28%,#ff57235c,#0000 44%),radial-gradient(circle at 72%,#ff57235c,#0000 44%)}.completion-split-letter{z-index:1;width:var(--split-letter-size);object-fit:contain;opacity:0;filter:drop-shadow(0 0 24px #ffc438b8)drop-shadow(0 0 44px #ff591a6b)drop-shadow(0 24px 34px #0000006b);will-change:transform, opacity, filter;max-width:42vh;height:auto;position:absolute}.completion-split-letter-a{left:calc(50% - var(--split-letter-gap));top:50%;transform:translate(-50%,-50%)scale(.82)rotate(-7deg)}.completion-split-letter-c{left:calc(50% + var(--split-letter-gap));top:50%;transform:translate(-50%,-50%)scale(.82)rotate(7deg)}.completion-ko-slide-out .completion-split-ac,.completion-ko-show .completion-split-ac,.completion-ko-impact .completion-split-ac{opacity:1}.completion-ko-slide-out .completion-split-ac:before{animation:.82s cubic-bezier(.08,.88,.18,1) both completionSplitShockwave}.completion-ko-slide-out .completion-split-ac:after{animation:.82s cubic-bezier(.1,.92,.18,1) both completionSplitFlash}.completion-ko-show .completion-split-ac:before{animation:1s ease-in-out both completionSplitShockwaveHold}.completion-ko-show .completion-split-ac:after{animation:1s ease-in-out both completionSplitEmberHold}.completion-ko-slide-out .completion-split-letter-a{animation:.82s cubic-bezier(.08,.92,.16,1) both completionSplitLetterAEnter}.completion-ko-slide-out .completion-split-letter-c{animation:.82s cubic-bezier(.08,.92,.16,1) both completionSplitLetterCEnter}.completion-ko-show .completion-split-letter-a{animation:1s ease-in-out both completionSplitLetterAHold}.completion-ko-show .completion-split-letter-c{animation:1s ease-in-out both completionSplitLetterCHold}.completion-ko-impact .completion-split-ac{opacity:0;transition:opacity .42s .12s}.completion-ko-impact .completion-split-letter-a{animation:.56s cubic-bezier(.66,.02,.32,1) both completionSplitLetterAImpact}.completion-ko-impact .completion-split-letter-c{animation:.56s cubic-bezier(.66,.02,.32,1) both completionSplitLetterCImpact}@keyframes completionFiveGatesShow{0%{opacity:0;filter:drop-shadow(0 10px 16px #00000052)saturate(1.05);transform:translate(-50%,-50%)scale(.62)rotate(-3deg)}18%{opacity:1;filter:drop-shadow(0 22px 34px #ffbd3375)saturate(1.22);transform:translate(-50%,-50%)scale(1.1)rotate(1deg)}72%{opacity:1;filter:drop-shadow(0 18px 28px #00000061)saturate(1.16);transform:translate(-50%,-50%)scale(1.02)rotate(0)}to{opacity:0;filter:drop-shadow(0 18px 28px #00000047)saturate(1.08);transform:translate(-50%,-50%)scale(.96)rotate(0)}}@keyframes completionSixGeneralsShow{0%{opacity:0;filter:drop-shadow(0 8px 18px #0000004d)saturate(1.05);transform:translate(-50%,-42%)scale(.74)rotate(5deg)}16%{opacity:1;filter:drop-shadow(0 26px 42px #ff49188a)saturate(1.28);transform:translate(-50%,-52%)scale(1.16)rotate(-2deg)}42%{opacity:1;filter:drop-shadow(0 20px 32px #ff8c2673)saturate(1.22);transform:translate(-50%,-50%)scale(1.04)rotate(1deg)}to{opacity:1;filter:drop-shadow(0 18px 30px #0000006b)saturate(1.16);transform:translate(-50%,-50%)scale(1.03)rotate(0)}}@keyframes completionPanelImpactLeft{0%{transform:translate(-110vw)}20%{transform:translate(-78vw)}38%{transform:translate(-30vw)}55%{animation-timing-function:cubic-bezier(.18,.98,.22,1);transform:translate(30px)}68%{animation-timing-function:cubic-bezier(.2,0,.28,1);transform:translate(-58px)}84%{animation-timing-function:cubic-bezier(.18,.98,.22,1);transform:translate(18px)}93%{animation-timing-function:cubic-bezier(.2,0,.28,1);transform:translate(-16px)}to{transform:translate(0)}}@keyframes completionPanelImpactRight{0%{transform:translate(110vw)}20%{transform:translate(78vw)}38%{transform:translate(30vw)}55%{animation-timing-function:cubic-bezier(.18,.98,.22,1);transform:translate(-30px)}68%{animation-timing-function:cubic-bezier(.2,0,.28,1);transform:translate(58px)}84%{animation-timing-function:cubic-bezier(.18,.98,.22,1);transform:translate(-18px)}93%{animation-timing-function:cubic-bezier(.2,0,.28,1);transform:translate(16px)}to{transform:translate(0)}}@keyframes completionPanelImpactTop{0%{transform:translateY(-110vh)}20%{transform:translateY(-78vh)}38%{transform:translateY(-30vh)}55%{animation-timing-function:cubic-bezier(.18,.98,.22,1);transform:translateY(28px)}68%{animation-timing-function:cubic-bezier(.2,0,.28,1);transform:translateY(-52px)}84%{animation-timing-function:cubic-bezier(.18,.98,.22,1);transform:translateY(16px)}93%{animation-timing-function:cubic-bezier(.2,0,.28,1);transform:translateY(-14px)}to{transform:translateY(0)}}@keyframes completionPanelImpactBottom{0%{transform:translateY(110vh)}20%{transform:translateY(78vh)}38%{transform:translateY(30vh)}55%{animation-timing-function:cubic-bezier(.18,.98,.22,1);transform:translateY(-28px)}68%{animation-timing-function:cubic-bezier(.2,0,.28,1);transform:translateY(52px)}84%{animation-timing-function:cubic-bezier(.18,.98,.22,1);transform:translateY(-16px)}93%{animation-timing-function:cubic-bezier(.2,0,.28,1);transform:translateY(14px)}to{transform:translateY(0)}}@keyframes completionSplitShockwave{0%{opacity:0;transform:translate(-50%,-50%)scale(.08)}18%{opacity:.95;transform:translate(-50%,-50%)scale(.46)}56%{opacity:.52;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-50%)scale(1.24)}}@keyframes completionSplitFlash{0%{opacity:0;transform:translate(-50%,-50%)scale(.18)rotate(-8deg)}16%{opacity:.9;transform:translate(-50%,-50%)scale(.7)rotate(4deg)}44%{opacity:.46;transform:translate(-50%,-50%)scale(1.12)rotate(-2deg)}to{opacity:0;transform:translate(-50%,-50%)scale(1.34)rotate(0)}}@keyframes completionSplitShockwaveHold{0%,to{opacity:.16;transform:translate(-50%,-50%)scale(.96)}50%{opacity:.32;transform:translate(-50%,-50%)scale(1.04)}}@keyframes completionSplitEmberHold{0%,to{opacity:.14;transform:translate(-50%,-50%)scale(1)}50%{opacity:.28;transform:translate(-50%,-50%)scale(1.08)}}@keyframes completionSplitLetterAEnter{0%{opacity:0;filter:drop-shadow(0 0 4px #ffc43842)drop-shadow(0 10px 16px #00000038);transform:translate(-50%,calc(-50% - 78vh))scale(.36)rotate(-26deg)}18%{opacity:1;filter:drop-shadow(0 0 42px #ffe260f0)drop-shadow(0 0 62px #ff5618ad)drop-shadow(0 28px 42px #00000075);transform:translate(-50%,calc(26px - 50%))scale(1.32)rotate(10deg)}34%{opacity:1;transform:translate(-50%,calc(-50% - 20px))scale(.94)rotate(-9deg)}52%{opacity:1;transform:translate(-50%,calc(10px - 50%))scale(1.1)rotate(4deg)}72%{opacity:1;filter:drop-shadow(0 0 30px #ffd84ad1)drop-shadow(0 0 52px #ff591a80)drop-shadow(0 24px 36px #0000006b);transform:translate(-50%,calc(-50% - 4px))scale(1.02)rotate(-3deg)}to{opacity:1;transform:translate(-50%,-50%)scale(1.02)rotate(-2deg)}}@keyframes completionSplitLetterCEnter{0%{opacity:0;filter:drop-shadow(0 0 4px #ffc43842)drop-shadow(0 10px 16px #00000038);transform:translate(-50%,calc(78vh - 50%))scale(.36)rotate(26deg)}18%{opacity:1;filter:drop-shadow(0 0 42px #ffe260f0)drop-shadow(0 0 62px #ff5618ad)drop-shadow(0 28px 42px #00000075);transform:translate(-50%,calc(-50% - 26px))scale(1.32)rotate(-10deg)}34%{opacity:1;transform:translate(-50%,calc(20px - 50%))scale(.94)rotate(9deg)}52%{opacity:1;transform:translate(-50%,calc(-50% - 10px))scale(1.1)rotate(-4deg)}72%{opacity:1;filter:drop-shadow(0 0 30px #ffd84ad1)drop-shadow(0 0 52px #ff591a80)drop-shadow(0 24px 36px #0000006b);transform:translate(-50%,calc(4px - 50%))scale(1.02)rotate(3deg)}to{opacity:1;transform:translate(-50%,-50%)scale(1.02)rotate(2deg)}}@keyframes completionSplitLetterAHold{0%,to{opacity:1;filter:drop-shadow(0 0 30px #ffd84ac7)drop-shadow(0 0 50px #ff591a70)drop-shadow(0 24px 36px #0000006b);transform:translate(-50%,-50%)scale(1.02)rotate(-2deg)}24%{opacity:1;transform:translate(-50%,calc(-50% - 5px))scale(1.06)rotate(1deg)}52%{opacity:1;filter:drop-shadow(0 0 38px #ffec70e6)drop-shadow(0 0 62px #ff591a8f)drop-shadow(0 24px 36px #0000006b);transform:translate(-50%,calc(3px - 50%))scale(1)rotate(-4deg)}76%{opacity:1;transform:translate(-50%,calc(-50% - 2px))scale(1.04)rotate(-1deg)}}@keyframes completionSplitLetterCHold{0%,to{opacity:1;filter:drop-shadow(0 0 30px #ffd84ac7)drop-shadow(0 0 50px #ff591a70)drop-shadow(0 24px 36px #0000006b);transform:translate(-50%,-50%)scale(1.02)rotate(2deg)}24%{opacity:1;transform:translate(-50%,calc(5px - 50%))scale(1.06)rotate(-1deg)}52%{opacity:1;filter:drop-shadow(0 0 38px #ffec70e6)drop-shadow(0 0 62px #ff591a8f)drop-shadow(0 24px 36px #0000006b);transform:translate(-50%,calc(-50% - 3px))scale(1)rotate(4deg)}76%{opacity:1;transform:translate(-50%,calc(2px - 50%))scale(1.04)rotate(1deg)}}@keyframes completionSplitLetterAImpact{0%{opacity:1;transform:translate(-50%,-50%)scale(1.02)rotate(-2deg)}45%{opacity:1;transform:translate(calc(-50% + var(--split-letter-gap)), -50%) scale(.74) rotate(12deg)}70%{opacity:1;transform:translate(calc(-50% + var(--split-letter-gap)), -50%) scale(.62) rotate(18deg);filter:drop-shadow(0 0 46px #ffec70eb)drop-shadow(0 0 72px #ff4a189e)drop-shadow(0 26px 40px #00000075)}to{opacity:0;transform:translate(calc(-50% + var(--split-letter-gap)), -50%) scale(.22) rotate(24deg)}}@keyframes completionSplitLetterCImpact{0%{opacity:1;transform:translate(-50%,-50%)scale(1.02)rotate(2deg)}45%{opacity:1;transform:translate(calc(-50% - var(--split-letter-gap)), -50%) scale(.74) rotate(-12deg)}70%{opacity:1;transform:translate(calc(-50% - var(--split-letter-gap)), -50%) scale(.62) rotate(-18deg);filter:drop-shadow(0 0 46px #ffec70eb)drop-shadow(0 0 72px #ff4a189e)drop-shadow(0 26px 40px #00000075)}to{opacity:0;transform:translate(calc(-50% - var(--split-letter-gap)), -50%) scale(.22) rotate(-24deg)}}@keyframes completionPageImpact{0%,48%,to{transform:translate(0)}55%{transform:translate(-12px,2px)}58%{transform:translate(14px,-2px)}61%{transform:translate(-9px,1px)}64%{transform:translate(6px)}68%{transform:translate(0)}84%{transform:translate(-7px,1px)}87%{transform:translate(7px)}90%{transform:translate(-4px)}}@keyframes programmingTaskPanelOpen{0%{transform:translate(-24px)}42%{transform:translate(6px)}70%{transform:translate(-3px)}to{transform:translate(0)}}@keyframes programmingTaskPanelClose{0%{transform:translate(0)}38%{transform:translate(-12px)}74%{transform:translate(3px)}to{transform:translate(0)}}@keyframes programmingIdePanelOpen{0%{filter:brightness(.84)saturate(.9);transform:translate(40px)scaleX(.965)}42%{filter:brightness(1.16)saturate(1.08);transform:translate(-12px)scaleX(1.02)}70%{filter:brightness(1.04)saturate(1.02);transform:translate(6px)scaleX(.996)}to{filter:brightness()saturate();transform:translate(0)scaleX(1)}}@keyframes programmingIdePanelClose{0%{filter:brightness()saturate();transform:translate(0)scaleX(1)}38%{filter:brightness(.86)saturate(.92);transform:translate(24px)scaleX(.976)}74%{filter:brightness(1.08)saturate(1.04);transform:translate(-7px)scaleX(1.008)}to{filter:brightness()saturate();transform:translate(0)scaleX(1)}}.task{height:100%;min-height:0;color:var(--ink);background:var(--paper);border:3px solid #8f704185;border-radius:18px;flex-direction:column;display:flex;position:relative;overflow:hidden;box-shadow:0 16px 42px #2313055c}.task ::selection{color:#fff;background:#333}.task.expanded{border-color:#c49852b8;box-shadow:0 18px 48px #23130570}.task-scroll{height:100%;padding:clamp(14px,2.3vh,24px) clamp(14px,1.6vw,24px);overflow:auto}.task-top{justify-content:space-between;align-items:center;gap:12px;padding-right:42px;display:flex}.section-label{color:#fff;background:#5d8e56;border-radius:999px;flex:none;align-items:center;gap:8px;height:36px;padding:0 16px;font-size:18px;font-weight:900;display:inline-flex}.section-label img{width:22px;height:22px}.task-expand-button{z-index:3;background:linear-gradient(140deg,#6fa95e,#3e7545);border:1px solid #82643747;border-radius:8px;flex:none;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:clamp(14px,2.3vh,24px);right:clamp(14px,1.6vw,24px);box-shadow:0 6px 14px #2f1f0b2e}.task-expand-button svg{color:#fff4d6;width:16px;height:16px}.task-expand-button[aria-pressed=true]{background:linear-gradient(140deg,#f5b84f,#c86f24);border-color:#ab671866}.task-title-row{flex:auto;min-width:0;margin:0;position:relative}.task h1{color:#2d261b;max-width:100%;margin:0;font-size:clamp(19px,2.8vh,24px);font-weight:950;line-height:1.25}.task h2{color:#2d261b;margin:clamp(12px,2vh,22px) 0 6px;font-size:clamp(16px,2.2vh,19px);font-weight:950}.task p,.task summary{color:var(--muted);font-size:16px;line-height:1.5}.statement-markdown{min-width:0;color:var(--muted);gap:10px;font-size:16px;line-height:1.5;display:grid}.statement-markdown :where(h1,h2,h3,h4,h5,h6),.statement-subheading{color:#2d261b;margin:4px 0 0;font-size:clamp(16px,2.1vh,19px);font-weight:950;line-height:1.25}.statement-subheading{letter-spacing:0}.statement-markdown :where(p){margin:0}.statement-markdown :where(ul,ol){margin:0;padding-left:20px}.statement-markdown :where(li+li){margin-top:4px}.statement-markdown :where(code){color:#3d2d18;background:#8264371f;border-radius:5px;padding:2px 5px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.statement-markdown :where(pre){color:#2f2418;white-space:pre;word-break:normal;background:#fffcefd6;border:1px solid #8264373d;border-radius:10px;max-width:100%;padding:10px 12px;font-size:13px;line-height:1.5;overflow-x:auto;box-shadow:inset 0 1px #ffffff6b}.statement-markdown :where(pre code){color:inherit;white-space:pre;background:0 0;border-radius:0;padding:0;display:block}.statement-code-note-section{gap:8px;display:grid}.statement-code-note-section h2{margin-bottom:0}.statement-code-frame{color:#2f2418;background:#fffcefd6;border:1px solid #8264373d;border-radius:10px;max-width:100%;padding:10px 12px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.5;overflow-x:auto;box-shadow:inset 0 1px #ffffff6b}.statement-code-frame .statement-markdown{font:inherit;gap:6px}.statement-code-frame .statement-markdown :where(code){font:inherit;background:#8264371a;padding:0 3px}.statement-code-frame .statement-markdown :where(ul,ol){gap:4px;padding-left:18px;display:grid}.statement-variable-table{border-collapse:collapse;color:#2f2418;width:max-content;min-width:min(100%,320px);font:inherit;margin:0 auto}.statement-variable-table :where(th,td){vertical-align:middle;border:1px solid #82643733;padding:6px 12px}.statement-variable-table th{color:#3d2d18;text-align:center;background:#8264371a;font-weight:850}.statement-variable-table td{background:#ffffff2e}.statement-variable-table :where(th,td):first-child{text-align:center;white-space:nowrap;min-width:72px}.statement-variable-table :where(th,td):nth-child(2){text-align:left;min-width:150px}.statement-variable-table .statement-markdown{gap:0;width:100%;display:inline-grid}.statement-variable-table .statement-markdown :where(p){display:inline}.statement-markdown a{color:#5d8e56;font-weight:850}.statement-markdown :where(.katex){color:#332719;font-size:1.02em}.statement-markdown :where(.katex-display){max-width:100%;margin:8px 0;padding:4px 0;overflow:auto hidden}.statement-markdown :where(.katex-display>.katex){white-space:nowrap}.statement-image{background:#ffffff6b;border:1px solid #82643738;border-radius:12px;gap:6px;width:100%;margin:8px 0;padding:8px;display:grid}.statement-image img{object-fit:contain;border-radius:8px;width:100%;max-height:clamp(140px,24vh,260px)}.statement-image span{color:#6a4c1d;font-size:12px;font-weight:800}.task-meta{flex-wrap:wrap;gap:8px;margin-top:5px;display:flex}.task-meta span{color:#6a4c1d;background:#ffffff6b;border:1px solid #82643738;border-radius:999px;padding:6px 9px;font-size:13px;font-weight:850}.learning-task-hint{background:linear-gradient(135deg,#fff7dce0,#ebe0c194);border:1px solid #b27f2d47;border-radius:10px;gap:8px;margin-top:12px;padding:11px 12px;display:grid}.learning-task-hint div{justify-content:space-between;align-items:center;gap:10px;display:flex}.learning-task-hint span,.learning-task-hint strong{color:#71521f;font-size:12px;font-weight:900}.learning-task-hint p{color:#5f4620;margin:0;font-size:13px;line-height:1.55}.teaching-case-backdrop{z-index:620;background:#0c09067a;place-items:center;padding:clamp(14px,3vw,36px);display:grid;position:fixed;inset:0}.teaching-case-dialog{place-items:stretch stretch;width:fit-content;max-width:min(96vw,820px);max-height:calc(100dvh - clamp(28px,6vw,72px));display:grid;position:relative}.teaching-case-dialog-zoomed{width:min(96vw,820px)}.teaching-case-controls{z-index:2;align-items:center;gap:8px;display:flex;position:absolute;top:10px;right:10px}.teaching-case-close,.teaching-case-zoom{color:#fff8dc;cursor:pointer;background:#221910b8;border:1px solid #ffe8b26b;border-radius:999px;place-items:center;width:42px;height:42px;line-height:1;display:grid;box-shadow:0 12px 30px #00000052}.teaching-case-close{font-size:30px}.teaching-case-zoom svg{stroke-width:2.4px;width:20px;height:20px}.teaching-case-close:hover,.teaching-case-close:focus-visible,.teaching-case-zoom:hover,.teaching-case-zoom:focus-visible,.teaching-case-zoom[aria-pressed=true]{background:#5c3014d1}.teaching-case-scroll{place-items:center;max-width:min(96vw,820px);max-height:calc(100dvh - clamp(28px,6vw,72px));display:grid;overflow:hidden}.teaching-case-dialog-zoomed .teaching-case-scroll{overscroll-behavior:contain;place-items:start;width:min(96vw,820px);height:calc(100dvh - clamp(28px,6vw,72px));overflow:auto}.teaching-case-image{object-fit:contain;width:auto;max-width:min(96vw,820px);height:auto;max-height:calc(100dvh - clamp(28px,6vw,72px));display:block;box-shadow:0 16px 38px #00000052}.teaching-case-image.zoomed{object-fit:fill;max-width:none;max-height:none}.sister-card{color:#2d261b;background:#eaffd87a;border:1px solid #5c824e47;border-radius:12px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.sister-card-icon{background:linear-gradient(140deg,#a8df65,#478a45);border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.sister-card-icon img{width:22px;height:22px}.sister-card span:nth-child(2){gap:3px;min-width:0;display:grid}.sister-card strong,.sister-card small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sister-card strong{color:#2d261b;font-size:15px;font-weight:900}.sister-card small{color:#667047;font-size:12px;font-weight:800}.sister-card em{color:#fff;white-space:nowrap;background:#5d8e56;border-radius:999px;padding:4px 8px;font-size:11px;font-style:normal;font-weight:900}.sample-list,.hint-list{gap:clamp(6px,1vh,10px);display:grid}.sample-run-section{border-top:1px solid #82643747;margin-top:clamp(16px,2.8vh,28px);padding-top:clamp(12px,2vh,18px)}.sample-run-section h2{margin-top:0}.sample-row,.hint-list details{background:#ffffff61;border:1px solid #82643738;border-radius:12px;padding:clamp(8px,1.2vh,12px)}.sample-row{gap:8px;display:grid}.sample-row-ac{background:#e0f7d661;border-color:#4f9a437a}.sample-row-wa,.sample-row-judge-error{background:#fee2e261;border-color:#dc26267a}.sample-row-ce{background:#fef3c766;border-color:#f59e0b80}.sample-row-re{background:#fae8ff5c;border-color:#c026d373}.sample-row-tle,.sample-row-mle{background:#dbeafe5c;border-color:#1e3a8a80}.sample-row-pe{background:#fce7f361;border-color:#ec489973}.sample-head{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.sample-head span,.sample-io-title{color:#6a4c1d;font-size:13px;font-weight:850}.sample-head-title{flex:auto}.sample-head-controls{flex-wrap:nowrap;flex:0 auto;justify-content:flex-end;align-items:center;gap:6px;min-width:0;display:inline-flex}.sample-actions{flex-wrap:nowrap;align-items:center;gap:5px;display:inline-flex}.sample-action-button{color:#5b3a0f;cursor:pointer;background:#fffcefc7;border:1px solid #82643757;border-radius:999px;min-height:26px;padding:4px 8px;font-size:11px;font-weight:900;line-height:1;box-shadow:inset 0 1px #ffffff9e}.sample-action-run{color:#315b22;background:#e8f8dcd1;border-color:#3f7c3157}.sample-action-button:hover:not(:disabled),.sample-action-button:focus-visible:not(:disabled){background:#fff6d3eb;border-color:#b17f218f}.sample-action-button:disabled{cursor:not-allowed;opacity:.54}.sample-status{color:#fff;background:#8d8067;border-radius:999px;flex:none;justify-content:center;align-items:center;gap:4px;min-width:58px;padding:3px 8px;font-size:11px;font-weight:900;display:inline-flex}.sample-status svg{flex:none}.sample-status-judging svg{animation:.9s linear infinite sample-status-spin}.sample-status-dot{opacity:.78;background:currentColor;border-radius:999px;width:8px;height:8px}.sample-status-ac{background:#16a34a}.sample-status-wa,.sample-status-judge-error{background:#dc2626}.sample-status-ce{background:#f59e0b}.sample-status-re{background:#c026d3}.sample-status-tle,.sample-status-mle{background:#1e3a8a}.sample-status-pe{background:#ec4899}.sample-status-judging{background:#ba8a2d}.sample-io-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.sample-io-panel{background:#fffcef9e;border:1px solid #82643738;border-radius:10px;min-width:0;overflow:hidden}.sample-io-title{background:#82643714;border-bottom:1px solid #8264372e;padding:7px 10px}.sample-io-panel pre{color:#322619;white-space:pre;word-break:normal;background:#fffcefd6;min-height:44px;padding:10px 12px;font-size:13px;line-height:1.5}.sample-explanation{color:#5d4529;align-items:flex-start;gap:4px;margin:-2px 4px 2px;padding:0 2px 0 10px;display:flex}.sample-explanation-title{color:#6a4c1d;flex:none;font-size:13px;font-weight:850;line-height:1.62}.sample-explanation .statement-markdown{min-width:0;color:inherit;flex:auto;font-size:13px;line-height:1.62}.sample-explanation .statement-markdown>:last-child{margin-bottom:0}@keyframes sample-status-spin{to{transform:rotate(360deg)}}pre{white-space:pre-wrap;word-break:break-word;margin:0;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;overflow:auto}.hint-list summary{cursor:pointer;font-weight:850}.hint-list p{margin-top:8px}.task-foldouts{gap:8px;display:grid}.task-foldouts>details{background:#ffffff57;border:1px solid #82643738;border-radius:12px}.task-foldouts>details>summary{cursor:pointer;color:#2d261b;padding:10px 12px;font-size:14px;font-weight:950}.task-foldouts>details[open]>summary{border-bottom:1px solid #82643729}.task-foldouts .hint-list,.solution-foldout,.solution-locked{padding:10px 12px 12px}.solution-foldout{gap:10px;display:grid}.solution-foldout ul{color:var(--muted);margin:0;padding-left:18px;font-size:clamp(14px,1.8vh,16px);line-height:1.45}.solution-foldout li+li{margin-top:4px}.solution-complexity{flex-wrap:wrap;gap:8px;display:flex}.solution-complexity-item{color:#6a4c1d;background:#fffcefb8;border-radius:999px;align-items:center;gap:4px;padding:5px 8px;font-size:12px;font-weight:900;display:flex}.solution-complexity-item .statement-markdown{font-size:inherit;line-height:1;display:block}.solution-complexity-item .statement-markdown p{margin:0}.solution-foldout pre{color:#f8f8f2;background:#272822;border-radius:10px;max-height:240px;padding:10px;font-size:12px}.solution-locked{color:var(--muted);font-size:14px;font-weight:850}.video-card{color:#3d2d18;text-align:left;background:#ffffff6b;border:1px solid #82643738;border-radius:12px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:72px;padding:10px 12px;display:grid}.video-card:disabled{cursor:default;opacity:.58}.video-card-icon{background:linear-gradient(140deg,#96dc68,#428d37);border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.video-card-icon img{width:22px;height:22px}.video-card strong{color:#2d261b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;font-weight:900;overflow:hidden}.video-card>span:last-child{color:#6a4c1d;font-size:13px;font-weight:900}.floating-video{z-index:70;background:#050909f5;border:2px solid #ffe6aa70;border-radius:16px;grid-template-rows:40px minmax(0,1fr);width:min(50vw,720px);min-width:360px;height:min(50vh,420px);min-height:240px;display:grid;position:fixed;bottom:clamp(12px,2vh,28px);left:clamp(12px,2vw,28px);overflow:hidden;box-shadow:0 22px 60px #00000075}.floating-video-head{color:#fff8dc;background:#142728fa;justify-content:space-between;align-items:center;gap:12px;padding:0 12px 0 16px;font-size:14px;font-weight:900;display:flex}.floating-video-head span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.floating-video-head button{color:#fff8dc;background:#ffffff14;border:1px solid #ffffff29;border-radius:8px;place-items:center;width:28px;height:28px;font-weight:900;display:grid}.floating-video video{object-fit:contain;background:#050909;width:100%;height:100%}.exam-page{z-index:1;height:var(--programming-viewport-height,100dvh);color:#fff3d2;background:linear-gradient(#05070638,#05070675),url(/assets/art/backgrounds/ch1-mist-town/programming-bg-clean-v1.webp) 50%/cover no-repeat,#050706;grid-template-rows:clamp(58px,8vh,74px) minmax(0,1fr);gap:clamp(8px,1.1vh,12px);min-height:0;padding:clamp(6px,1vh,10px) clamp(10px,1.8vw,28px) clamp(10px,1.8vh,22px);display:grid;position:relative;overflow:hidden}.exam-page:after{content:"";z-index:-1;pointer-events:none;position:fixed;inset:0;box-shadow:inset 0 0 0 1px #f6d68d1f,inset 0 0 118px #000000a8}.exam-topbar{z-index:60;background:linear-gradient(90deg,#0e0a07f5,#2d1d11f2 18%,#1a110bf7 52%,#392513f0 82%,#0c0907fa),radial-gradient(circle at 50% 0,#f6d68d2e,#0000 54%);border:1px solid #f6d68d2e;border-radius:18px;grid-template-columns:minmax(198px,.78fr) minmax(203px,.81fr) minmax(108px,.32fr) minmax(164px,.52fr) clamp(84px,6.4vw,106px) clamp(96px,7.5vw,124px);justify-self:start;align-items:center;gap:clamp(8px,.9vw,14px);width:calc(100% - clamp(112px,10vw,140px));min-width:0;min-height:0;padding:clamp(4px,.7vh,7px) clamp(10px,1.2vw,18px);display:grid;position:relative;overflow:visible;box-shadow:inset 0 1px #fff6d21f,inset 0 -4px #00000052,0 14px 26px #0000006b}.exam-topbar:before{content:"";pointer-events:none;border-top:1px solid #fff3d224;border-bottom:1px solid #0000005c;border-radius:14px;position:absolute;inset:5px 10px}.exam-topbar>*{z-index:1;position:relative}.exam-finish-button,.exam-pause-button,.exam-question-trigger{background:0 0;border:0;place-items:center;min-width:0;padding:0;display:grid}.exam-title-card{color:#fff3d2;background:linear-gradient(#452b18fa,#1d120cfa 52%,#482b14fa);border:2px solid #d79b4bb8;border-radius:16px;grid-template-columns:clamp(29px,2.7vw,38px) minmax(0,1fr);align-items:center;gap:clamp(6px,.63vw,10px);min-width:0;height:clamp(38px,5vh,48px);padding:0 clamp(10px,1vw,15px);display:grid;box-shadow:inset 0 1px #fff6d242,inset 0 -4px #00000047,0 9px 18px #00000057}.exam-title-emblem{clip-path:polygon(50% 0,88% 14%,88% 55%,50% 100%,12% 55%,12% 14%);background:linear-gradient(#f7d98d,#b8712e);border-radius:11px 11px 14px 14px;place-items:center;width:clamp(29px,2.7vw,38px);height:clamp(29px,2.7vw,38px);display:grid;position:relative;box-shadow:inset 0 0 0 2px #fff3d275,0 4px 10px #00000052}.exam-title-emblem:before{content:"";border-bottom:3px solid #2a2016;border-left:3px solid #2a2016;width:13px;height:6px;position:absolute;transform:rotate(-45deg)translate(1px,-1px)}.exam-title-copy{gap:4px;min-width:0;display:grid}.exam-title-copy strong{color:#fff3d2;text-overflow:ellipsis;text-shadow:0 2px #00000085;white-space:nowrap;align-items:center;gap:6px;min-width:0;font-family:Georgia,Times New Roman,PingFang SC,serif;font-size:clamp(15px,1.44vw,22px);font-weight:950;line-height:1;display:flex;overflow:hidden}.exam-title-main{text-overflow:ellipsis;min-width:0;overflow:hidden}.exam-title-level{color:#281c12;text-shadow:none;background:linear-gradient(#f7d98d,#c98a38);border:1px solid #f7d98d6b;border-radius:999px;flex:none;padding:2px 7px;font-family:SF Pro Text,PingFang SC,system-ui,sans-serif;font-size:10px;font-weight:950;line-height:1;box-shadow:inset 0 1px #fff6d270}.exam-title-copy em{color:#cdb78a;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:clamp(10px,.75vw,11px);font-style:normal;font-weight:820;line-height:1;overflow:hidden}.exam-question-menu{z-index:90;min-width:0;position:relative}.exam-question-trigger,.exam-status-card,.exam-monitor-card{background:linear-gradient(#35261bf5,#140e0afa 54%,#2b1c12f5);border:2px solid #a8793db8;border-radius:15px;justify-content:center;align-items:center;min-width:0;height:clamp(37px,5vh,45px);display:flex;box-shadow:inset 0 1px #fff3d22e,inset 0 -3px #00000040,0 8px 16px #0000004d}.exam-question-trigger{color:#fff3d2;text-align:left;justify-content:stretch;gap:7px;width:100%;padding:0 7px;position:relative}.exam-menu-glyph{flex:none;gap:3px;width:17px;display:grid}.exam-menu-glyph i{background:#f6d68d;border-radius:999px;height:3px;display:block;box-shadow:0 0 8px #f6d68d47}.exam-trigger-copy{gap:3px;min-width:0;display:grid}.exam-trigger-copy strong,.exam-trigger-copy em{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.exam-trigger-copy strong{color:#fff3d2;font-size:clamp(11px,.9vw,14px);font-weight:950;line-height:1}.exam-trigger-copy em{color:#cdb78a;font-size:clamp(9px,.74vw,11px);font-style:normal;font-weight:820;line-height:1}.exam-question-trigger b{color:#24170f;background:linear-gradient(#f6d68d,#d79b4b);border:1px solid #f6d68d47;border-radius:10px;place-items:center;width:27px;height:22px;margin-left:auto;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;font-weight:950;display:grid}.exam-status-card.timer{color:#f6d68d;gap:8px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:clamp(12px,1vw,15px);font-weight:950}.exam-clock-glyph{border:2px solid #f6d68d;border-radius:50%;flex:none;width:19px;height:19px;position:relative;box-shadow:0 0 12px #f6d68d3d}.exam-clock-glyph:before,.exam-clock-glyph:after{content:"";transform-origin:50% 100%;background:#f6d68d;border-radius:999px;width:2px;position:absolute;top:50%;left:50%}.exam-clock-glyph:before{height:6px;transform:translate(-50%,-100%)}.exam-clock-glyph:after{height:5px;transform:translate(-50%,-100%)rotate(52deg)}.exam-question-popover{z-index:120;background:linear-gradient(#0d2125fa,#081214fa);border:1px solid #ffe6aa52;border-radius:16px;width:min(520px,72vw);position:absolute;top:calc(100% + 10px);left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 20px 48px #00000080}.exam-question-popover-head{color:#fff3d2;border-bottom:1px solid #ffe6aa1f;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.exam-question-popover-head strong,.exam-question-popover-head span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.exam-question-popover-head strong{font-size:14px;font-weight:900}.exam-question-popover-head span{color:#93d66f;font-size:12px;font-weight:850}.exam-question-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:min(46vh,420px);padding:12px;display:grid;overflow:auto}.exam-question-list-grid button{color:#fff8dc;text-align:left;background:#ffffff14;border:1px solid #ffe6aa2e;border-radius:10px;grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:3px 9px;min-width:0;min-height:58px;padding:9px 10px;display:grid}.exam-question-list-grid button.active{background:linear-gradient(140deg,#f6d68d3d,#93d66f29),#ffffff14;border-color:#f6d68db3}.exam-question-list-grid button span{color:#24170f;background:linear-gradient(#f6d68d,#d79b4b);border-radius:9px;grid-row:1/span 2;place-items:center;width:34px;height:34px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:14px;font-weight:950;display:grid}.exam-question-list-grid button strong,.exam-question-list-grid button em{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.exam-question-list-grid button strong{font-size:13px;font-weight:920}.exam-question-list-grid button em{color:#fff8dc94;font-size:11px;font-style:normal;font-weight:780}.exam-question-list-grid button small{color:#fff8dca8;text-align:center;white-space:nowrap;background:#ffffff12;border:1px solid #ffe6aa2e;border-radius:999px;grid-area:1/3/span 2;place-self:center end;min-width:58px;padding:4px 7px;font-size:11px;font-weight:850;line-height:1}.exam-question-list-grid button small.submitted{color:#dfffd8;background:#5d8e5638;border-color:#93d66f57}.exam-monitor-card{background:linear-gradient(#133239f5,#081519fa 54%,#21160ef5);gap:clamp(7px,.9vw,13px);padding:0 clamp(8px,.8vw,12px)}.exam-monitor-card span{white-space:nowrap;align-items:center;gap:7px;min-width:0;font-size:clamp(10px,.95vw,14px);font-weight:950;display:inline-flex}.exam-monitor-card span:first-child{color:#93d66f}.exam-monitor-card span:last-child{color:#ff5d4e}.exam-monitor-card-video{justify-content:stretch;width:100%;padding:0 clamp(7px,.75vw,10px);overflow:visible}.exam-video-monitor{grid-template-columns:34px minmax(52px,1fr) 34px;place-items:center;gap:clamp(6px,.7vw,9px);width:100%;min-width:0;height:100%;display:grid;position:relative}.exam-video-camera-button{width:34px;height:34px;font:inherit;cursor:zoom-in;background:0 0;border:0;place-items:center;padding:0;display:grid}.exam-video-frame,.exam-proctor-frame{background:#00000061;border:1px solid #93d66f57;border-radius:8px;width:34px;height:34px;display:block;overflow:hidden}.exam-video-frame{border-color:#93d66f70;box-shadow:0 0 12px #93d66f1f}.exam-video-frame video,.exam-video-popover-main video{object-fit:cover;background:#050909;width:100%;height:100%;display:block;transform:scaleX(-1)}.exam-video-placeholder{color:#fff8dcb3;text-align:center;white-space:normal;place-items:center;width:100%;height:100%;padding:0 5px;font-size:9px;line-height:1.15;display:grid}.exam-proctor-frame{border-color:#f6d68d57}.exam-proctor-frame img{object-fit:cover;width:100%;height:100%;display:block}.exam-video-status{color:#93d66f;text-align:center;justify-content:center;align-items:center;min-width:0;display:flex}.exam-monitor-card-video .exam-video-status strong{text-overflow:ellipsis;white-space:nowrap;color:#93d66f;min-width:0;font-size:clamp(12px,.92vw,14px);font-weight:950;line-height:1;overflow:hidden}.exam-video-popover{z-index:240;cursor:default;background:linear-gradient(#0d2125fa,#081214fa);border:1px solid #f6d68d47;border-radius:12px;gap:8px;width:min(360px,100vw - 32px);padding:10px;display:grid;position:absolute;top:calc(100% + 12px);right:0;box-shadow:0 18px 48px #00000075}.exam-video-popover-head{justify-content:space-between;align-items:baseline;gap:10px;min-width:0;display:flex}.exam-video-popover-head strong,.exam-video-popover-head span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.exam-video-popover-head strong{color:#93d66f;font-size:13px;font-weight:950}.exam-video-popover-head span{color:#fff8dca3;font-size:11px;font-weight:780}.exam-video-popover-main{aspect-ratio:16/9;background:#050909;border:1px solid #93d66f47;border-radius:10px;min-width:0;overflow:hidden}.exam-video-popover-main span{color:#fff8dcb8;text-align:center;place-items:center;width:100%;height:100%;padding:18px;display:grid}.exam-status-dot{background:currentColor;border-radius:50%;flex:none;width:14px;height:14px;position:relative;box-shadow:0 0 14px}.exam-status-dot.camera:after{content:"";clip-path:polygon(0 50%,100% 0,100% 100%);background:currentColor;width:6px;position:absolute;inset:4px -6px 4px auto}.exam-finish-button,.exam-pause-button{color:#fff3d2;white-space:nowrap;background:linear-gradient(#c88c3dfa,#815124fa 55%,#543018fa);border:2px solid #fff3d27a;border-radius:15px;justify-content:center;justify-self:end;align-items:center;gap:8px;width:min(100%,138px);height:clamp(37px,5.1vh,46px);padding:0 8px;font-family:Georgia,Times New Roman,PingFang SC,serif;font-size:clamp(12px,.95vw,15px);font-weight:950;display:inline-flex;box-shadow:inset 0 1px #fff6d23d,inset 0 -4px #00000038,0 9px 18px #00000052}.exam-pause-button{color:#ffe5b0;background:linear-gradient(#5d442cf2,#322216fa 55%,#23160ffa);border-color:#fff3d257}.exam-finish-button span,.exam-pause-button span{text-overflow:ellipsis;min-width:0;overflow:hidden}.exam-main{z-index:1;width:100%;min-height:0;max-width:min(100%, var(--programming-viewport-width,100vw));grid-template-columns:minmax(320px,31.5%) minmax(0,1fr);gap:clamp(8px,1vw,12px);transition:width .18s,grid-template-columns .18s;display:grid;position:relative;overflow:hidden}.exam-main.task-expanded{grid-template-columns:minmax(360px,46%) minmax(0,1fr);width:100%}.exam-main .task{background:linear-gradient(90deg, #5f37162e, transparent 9%, transparent 91%, #5f371629), linear-gradient(180deg, #fffbe385, #f4d19724), var(--paper);border-color:#704622f5;border-radius:12px;box-shadow:inset 0 0 0 2px #f6d68d57,inset 0 0 30px #532c1029,0 18px 40px #00000075}.exam-main .task-scroll{padding:clamp(20px,3vh,34px) clamp(20px,2.5vw,42px) clamp(20px,3vh,30px)}.exam-workbench-wrap{min-width:0;min-height:0;position:relative}.exam-workbench-wrap .workbench{background:linear-gradient(#081e24f7,#030d10fa);border-color:#794a23fa;border-radius:12px;box-shadow:inset 0 0 0 1px #d79b4b57,0 18px 40px #00000075}.exam-empty,.exam-start-panel,.exam-complete-modal{z-index:90;background:#030809a8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.exam-empty>div,.exam-start-panel>div,.exam-complete-modal>div{color:#fff8dc;text-align:center;background:linear-gradient(#20302bfa,#0f1716fa);border:2px solid #ffe6aa57;border-radius:18px;justify-items:center;gap:14px;width:min(520px,100%);padding:28px;display:grid;box-shadow:0 24px 70px #0000008a}.exam-complete-modal>div{justify-items:stretch;max-height:calc(100dvh - 48px)}.exam-complete-modal.has-title-choice>div{width:min(920px,100vw - 48px)}.exam-complete-layout{overscroll-behavior:contain;justify-items:center;gap:14px;width:100%;min-height:0;padding-right:2px;display:grid;overflow-y:auto}.exam-complete-modal.has-title-choice .exam-complete-layout{grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:start;gap:18px}.exam-complete-main{justify-items:center;gap:14px;width:100%;min-width:0;display:grid}.exam-complete-side{align-self:start;gap:12px;width:100%;min-width:0;display:grid;position:sticky;top:0}.exam-start-panel{background:linear-gradient(#0308099e,#030809c7),url(/assets/art/backgrounds/ch1-mist-town/programming-bg-clean-v1.webp) 50%/cover no-repeat}.exam-duration-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:min(420px,100%);display:grid}.exam-duration-options button{color:#fff8dc;background:#ffffff14;border:1px solid #ffe6aa3d;border-radius:12px;min-height:44px;font-weight:900}.exam-duration-options button.active{color:#24170f;background:linear-gradient(140deg,#f6d68d,#d79b4b)}.exam-mode-note{text-align:left;background:#93d66f14;border:1px solid #93d66f47;border-radius:12px;gap:4px;width:min(420px,100%);padding:12px 14px;display:grid}.exam-mode-note strong{color:#93d66f;font-size:14px}.exam-mode-note span{color:#fff8dcb8;font-size:13px;line-height:1.45}.exam-video-monitor-option{text-align:left;background:#f6d68d14;border:1px solid #f6d68d42;border-radius:12px;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;width:min(420px,100%);padding:12px 14px;display:grid}.exam-video-monitor-option input{accent-color:#f6d68d;width:17px;height:17px;margin-top:2px}.exam-video-monitor-option span{gap:3px;min-width:0;display:grid}.exam-video-monitor-option strong{color:#f6d68d;font-size:14px;font-weight:950}.exam-video-monitor-option em,.exam-video-monitor-option small{color:#fff8dcb8;font-style:normal;line-height:1.4}.exam-video-monitor-option em{font-size:13px;font-weight:850}.exam-video-monitor-option small{font-size:12px}.exam-error,.exam-inline-error{color:#ffd2c8;font-weight:850}.exam-inline-error{z-index:150;background:#451512eb;border:1px solid #ff5d4e57;border-radius:10px;max-width:min(420px,100vw - 48px);padding:10px 12px;position:fixed;top:98px;right:24px}.exam-inline-status{z-index:150;color:#fff0bf;background:#3e2b0deb;border:1px solid #ffc96b57;border-radius:10px;max-width:min(420px,100vw - 48px);padding:10px 12px;font-weight:850;position:fixed;top:98px;right:24px}.exam-inline-error+.exam-inline-status{top:154px}.exam-score-list{gap:8px;width:100%;display:grid}.exam-score-list div{text-align:left;background:#ffffff12;border:1px solid #ffe6aa29;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.exam-scoring-modal{background:#0308098f}.exam-scoring-modal>div{border-color:#f6d68d47}.exam-score-row.scoring{background:linear-gradient(90deg,#f6d68d24,#0000 62%),#ffffff12;border-color:#f6d68d4d}.exam-score-row.pending span{color:#fff8dc94}.exam-score-row.done span{color:#93d66f}.exam-score-list strong,.exam-score-list span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.exam-score-list span{color:#f6d68d;font-weight:850}.exam-result-identity{background:#ffffff12;border:1px solid #f6d68d33;border-radius:14px;justify-items:center;gap:3px;width:100%;padding:12px 14px;display:grid}.exam-result-identity.has-ak{text-align:left;grid-template-columns:minmax(0,1fr) minmax(220px,300px);place-items:center stretch;gap:14px}.exam-result-identity-copy{justify-items:center;gap:3px;min-width:0;display:grid}.exam-result-identity.has-ak .exam-result-identity-copy{justify-items:start}.exam-result-identity span,.exam-result-identity small{color:#fff8dca8;font-size:12px;font-weight:850}.exam-result-identity strong{color:#fff8dc;overflow-wrap:anywhere;max-width:100%;font-size:22px;line-height:1.15}.exam-result-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;display:grid}.exam-result-summary article{background:#ffffff12;border:1px solid #ffe6aa29;border-radius:12px;gap:4px;min-width:0;padding:10px;display:grid}.exam-result-summary span{color:#fff8dca8;font-size:12px;font-weight:850}.exam-result-summary strong{color:#fff8dc;font-size:18px;line-height:1.1}.exam-result-summary .exam-result-coins{background:linear-gradient(#f6d68d29,#ffffff12);border-color:#f6d68d4d}.exam-result-coins strong{color:#f6d68d}.exam-result-summary .exam-result-garlic{background:linear-gradient(#86efac21,#ffffff12);border-color:#86efac42}.exam-result-garlic strong{color:#bbf7d0}.exam-ak-badge{text-align:left;background:linear-gradient(90deg,#f6d68d29,#8f243129),#ffffff12;border:1px solid #f6d68d57;border-radius:16px;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;width:min(340px,100%);padding:10px 14px;display:grid}.exam-ak-badge img{object-fit:contain;width:64px;height:74px}.exam-ak-badge span{gap:3px;display:grid}.exam-ak-badge strong{color:#fff4b8;font-size:26px;line-height:1}.exam-ak-badge em{color:#f6d68d;font-size:13px;font-style:normal;font-weight:900}.exam-result-notice,.exam-title-choice{color:#fff8dcc7;text-align:left;background:linear-gradient(135deg,#66d9e824,#f6d68d1a),#ffffff12;border:1px solid #66d9e847;border-radius:14px;gap:8px;width:min(520px,100%);padding:12px 14px;display:grid}.exam-result-notice.muted{background:#ffffff0f;border-color:#fff8dc24}.exam-result-notice strong,.exam-title-choice strong{color:#fff8dc}.exam-result-notice span,.exam-title-choice span,.exam-title-choice p{color:#fff8dcb8;margin:0;font-size:13px;line-height:1.55}.exam-title-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.exam-complete-side .exam-title-choice,.exam-complete-side .exam-result-notice{width:100%}.exam-complete-side .exam-title-choice-grid{overscroll-behavior:contain;max-height:min(56vh,430px);padding-right:2px;overflow:auto}.exam-title-choice-grid button{color:#fff8dc;min-height:40px;font:inherit;cursor:pointer;background:#f6d68d1a;border:1px solid #f6d68d42;border-radius:10px;padding:8px 10px;font-size:13px;font-weight:700}.exam-title-choice-grid button:hover:not(:disabled){background:#f6d68d2e;border-color:#f6d68d80}.exam-title-choice-grid button:disabled{cursor:wait;opacity:.62}.exam-site-mark{color:#fff8dcc7;letter-spacing:.04em;font-size:13px;font-weight:900;text-decoration:none}@media (max-width:520px){.exam-result-summary{grid-template-columns:1fr}.exam-result-identity.has-ak{text-align:center;grid-template-columns:1fr;justify-items:center}.exam-result-identity.has-ak .exam-result-identity-copy{justify-items:center}.exam-ak-badge{grid-template-columns:54px minmax(0,1fr)}.exam-ak-badge img{width:54px;height:63px}}@media (max-width:760px){.exam-complete-modal{padding:12px}.exam-complete-modal>div,.exam-complete-modal.has-title-choice>div{width:100%;max-height:calc(100dvh - 24px);padding:18px}.exam-complete-modal.has-title-choice .exam-complete-layout{grid-template-columns:1fr}.exam-complete-side{position:static}.exam-complete-side .exam-title-choice-grid{max-height:260px}.exam-title-choice-grid{grid-template-columns:1fr}}.exam-complete-emblem{clip-path:polygon(50% 0,88% 14%,88% 55%,50% 100%,12% 55%,12% 14%);background:linear-gradient(#f7d98d,#b8712e);border-radius:18px 18px 22px 22px;place-items:center;width:62px;height:62px;display:grid;position:relative;box-shadow:inset 0 0 0 2px #fff3d275,0 8px 18px #00000052}.exam-complete-emblem:before{content:"";border-bottom:5px solid #2a2016;border-left:5px solid #2a2016;width:23px;height:11px;position:absolute;transform:rotate(-45deg)translate(1px,-1px)}.exam-empty h1,.exam-complete-modal h1{font-size:clamp(24px,3vw,34px);line-height:1.1}.exam-empty p,.exam-complete-modal p{color:#fff8dcb8;font-size:15px;line-height:1.5}.exam-empty a,.exam-complete-actions a,.exam-complete-actions button{color:#24170f;background:linear-gradient(140deg,#f6d68d,#d79b4b);border:1px solid #ffe6aa47;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:0 18px;font-weight:900;display:inline-flex}.exam-complete-actions{flex-wrap:wrap;justify-content:center;gap:10px;width:100%;display:flex}.exam-complete-actions button{color:#fff8dc;background:#ffffff14}.workbench{--spcg-results-row-height:clamp(96px, 17vh, 150px);--ide-toolbar-height:clamp(32px, 5vh, 42px);--ide-toolbar-center-y:clamp(16px, 2.5vh, 21px);--ide-tool-button-size:clamp(30px, 4.2vh, 38px);--ide-tool-button-gap:clamp(5px, .55vw, 8px);grid-template-rows:minmax(0, 1fr) var(--spcg-results-row-height);background:#081418f2;border:2px solid #a8793d75;border-radius:18px;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 46px #00000061}.workbench.output-expanded{--spcg-results-row-height:clamp(192px, 34vh, 300px);grid-template-rows:minmax(0, 1fr) var(--spcg-results-row-height)}.workbench.results-maximized,.workbench.output-expanded.results-maximized{--spcg-results-row-height:50%;grid-template-rows:minmax(0,1fr) minmax(0,50%)}.editor-shell{grid-template-rows:var(--ide-toolbar-height) minmax(0, 1fr);background:var(--deep);min-height:0;display:grid;position:relative;overflow:hidden}.editor-toolbar{z-index:2;color:#dce8e8;background:var(--deep-top);border-bottom:1px solid #d6a65d33;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:0 clamp(190px,26vw,258px) 0 clamp(10px,1.4vw,18px);font-weight:800;display:flex;position:relative}.editor-language-control{flex-wrap:nowrap;align-items:center;gap:9px;min-width:0;display:flex}.editor-language-control span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.editor-language-control>select{color:#fff8e6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#17343a;border:1px solid #ffffff29;border-radius:9px;width:clamp(82px,9.1vw,114px);height:clamp(28px,4vh,34px);font-size:12px;font-weight:900}.editor-language-control>select option{color:#fff8e6;background:#17343a}.editor-language-control>select option:checked{color:#1f2528;background:#f0b64b}.editor-paste-notice{color:#ffe9ad;text-overflow:ellipsis;white-space:nowrap;background:#4f3812b8;border:1px solid #f5ce6559;border-radius:999px;min-width:0;padding:5px 9px;font-size:12px;font-weight:850;overflow:hidden}.editor-context-menu{z-index:6600;color:#dce8e8;background:#1e1e1e;border:1px solid #bfdad92e;border-radius:6px;min-width:128px;padding:4px;display:grid;position:fixed;overflow:hidden;box-shadow:0 14px 32px #0000005c}.editor-context-menu button{height:28px;color:inherit;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:4px;padding:0 24px 0 10px;font-size:12px;font-weight:500}.editor-context-menu button:hover,.editor-context-menu button:focus-visible{color:#fff;background:#094771;outline:none}.ide-settings-control{flex:none;position:relative}.ide-settings-trigger{color:#fff4d6;background:#ffffff0f;border:1px solid #ffffff24;border-radius:9px;place-items:center;width:clamp(32px,4.1vh,36px);height:clamp(28px,4vh,34px);display:grid}.ide-settings-trigger svg{width:clamp(16px,2.4vh,20px);height:clamp(16px,2.4vh,20px)}.ide-settings-trigger:hover,.ide-settings-trigger:focus-visible,.ide-settings-trigger[aria-pressed=true]{background:radial-gradient(circle at 48% 24%,#ffd67c40,#0000 54%),linear-gradient(#604f2bd1,#2a372bdb);border-color:#f5c26094;box-shadow:0 0 0 1px #ffda8029,0 0 14px #ffb74059,0 8px 18px #0000003d}.ide-settings-trigger:disabled{cursor:not-allowed;opacity:.52;box-shadow:none}.ide-settings-trigger:disabled:hover{background:#ffffff0f;border-color:#ffffff24}.admin-ac-effect-test-trigger{color:#ffd38a}.admin-ac-effect-test-trigger:not(:disabled){background:radial-gradient(circle at 50% 18%,#ffb85333,#0000 56%),#ffffff0f;border-color:#ff9d4259}.ide-settings-panel{z-index:46;color:#f8f8f2;background:radial-gradient(circle at 84% 0,#509baa24,#0000 48%),linear-gradient(#1f2729fa,#12181afa);border:1px solid #8dc0cd3d;border-radius:14px;width:min(420px,100vw - 32px);position:absolute;top:calc(100% + 8px);left:0;overflow:hidden;box-shadow:0 18px 42px #0000006b}.ide-settings-tabs{border-bottom:1px solid #ffffff14;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px;display:grid}.ide-settings-tabs button{color:#dce8e8;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:9px;height:30px;font-size:12px;font-weight:900}.ide-settings-tabs button.active{color:#fff8dc;background:#f5c26029;border-color:#f5c26080}.ide-settings-body{gap:10px;padding:12px;display:grid}.ide-settings-toggle,.ide-settings-field{background:#ffffff0b;border:1px solid #ffffff14;border-radius:12px;gap:6px;padding:10px;display:grid}.ide-settings-toggle{grid-template-columns:minmax(0,1fr) auto;align-items:center}.ide-settings-toggle.disabled{opacity:.64}.ide-settings-toggle span,.ide-settings-field span{color:#f8f8f2;gap:3px;min-width:0;font-size:13px;font-weight:900;display:grid}.ide-settings-toggle small{color:#bec8c8;font-size:11px;font-weight:700}.ide-settings-toggle input{accent-color:#62d8ff;width:18px;height:18px}.ide-settings-action{color:#fff4d6;background:radial-gradient(circle at 50% 0,#ffb85338,#0000 58%),#ffffff0e;border:1px solid #ff9d4257;border-radius:11px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:38px;font-size:13px;font-weight:920;display:inline-flex}.ide-settings-action:hover,.ide-settings-action:focus-visible{background:radial-gradient(circle at 50% 0,#ffb8534d,#0000 58%),#f5c2601f;border-color:#f5c2609e;outline:none}.ide-settings-action:disabled{cursor:not-allowed;opacity:.54;box-shadow:none}.admin-ac-effect-test-action svg{color:#ffd38a}.ide-effect-test-backdrop{z-index:9000;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#03080a8a;place-items:center;padding:clamp(14px,3vw,28px);display:grid;position:fixed;inset:0}.ide-effect-test-dialog{color:#f8f8f2;background:radial-gradient(circle at 50% 0,#ffb85324,#0000 58%),linear-gradient(#1f2729fa,#12181afa);border:1px solid #ff9d4240;border-radius:14px;grid-template-rows:auto minmax(0,1fr);width:min(560px,100vw - 28px);max-height:min(720px,100dvh - 42px);display:grid;overflow:hidden;box-shadow:0 24px 62px #00000085}.ide-effect-test-dialog-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:12px;padding:12px 12px 10px;display:flex}.ide-effect-test-dialog-title{color:#fff4d6;align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:940;display:inline-flex}.ide-effect-test-dialog-title svg{color:#ffd38a;flex:none}.ide-effect-test-close{color:#fff4d6;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:9px;flex:none;place-items:center;width:32px;height:32px;display:grid}.ide-effect-test-close:hover,.ide-effect-test-close:focus-visible{background:#f5c26024;border-color:#f5c26094;outline:none}.ide-effect-test-scroll{overscroll-behavior:contain;scrollbar-color:#ffb85359 #ffffff0f;scrollbar-width:thin;min-height:0;padding:10px;overflow-y:auto}.ide-effect-test-scroll::-webkit-scrollbar{width:8px}.ide-effect-test-scroll::-webkit-scrollbar-track{background:#ffffff0f;border-radius:999px}.ide-effect-test-scroll::-webkit-scrollbar-thumb{background:#ffb85359;border-radius:999px}.ide-effect-test-panel{background:radial-gradient(circle at 50% 0,#ffb8531f,#0000 60%),#ffffff0a;border:1px solid #ff9d422e;border-radius:12px;gap:8px;padding:10px;display:grid}.ide-effect-test-heading{color:#fff4d6;align-items:center;gap:7px;font-size:13px;font-weight:920;display:inline-flex}.ide-effect-test-heading svg{color:#ffd38a}.ide-effect-test-grid{gap:7px;display:grid}.ide-effect-test-card{background:#ffffff0b;border:1px solid #ffffff14;border-radius:10px;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:7px;display:grid}.ide-effect-test-preview{background:linear-gradient(135deg,#0a181be6,#272a1cb8),#ffffff0a;border:1px solid #ffffff14;border-radius:8px;place-items:center;width:76px;height:48px;display:grid;overflow:hidden}.ide-effect-test-preview.split{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;padding:3px}.ide-effect-test-preview img{object-fit:contain;filter:drop-shadow(0 4px 8px #0000005c);max-width:100%;max-height:100%}.ide-effect-test-preview.split img{width:100%;height:100%}.ide-effect-test-meta{gap:3px;min-width:0;display:grid}.ide-effect-test-meta strong{color:#fff8dc;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:920;overflow:hidden}.ide-effect-test-meta small{color:#bec8c8;font-size:11px;font-weight:760}.ide-effect-test-card button{color:#fff4d6;white-space:nowrap;background:#f5c2601f;border:1px solid #ff9d4257;border-radius:8px;height:30px;padding:0 10px;font-size:12px;font-weight:900}.ide-effect-test-card button:hover,.ide-effect-test-card button:focus-visible{background:#f5c26033;border-color:#f5c2609e;outline:none}.ide-effect-test-card button:disabled{cursor:not-allowed;opacity:.54}.ide-effect-test-dialog.ide-theme-devcpp-light{color:#111827;background:#fff;border-color:#d9770633;box-shadow:0 24px 62px #1f29373d}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-dialog-header{border-bottom-color:#1f29371a}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-dialog-title{color:#92400e}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-dialog-title svg,.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-heading svg{color:#b45309}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-close{color:#1f2937;background:#f8fafc;border-color:#1f293724}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-close:hover,.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-close:focus-visible{background:#ffedd5;border-color:#d977065c}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-scroll{scrollbar-color:#d977065c #1f293714}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-scroll::-webkit-scrollbar-track{background:#1f293714}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-scroll::-webkit-scrollbar-thumb{background:#d977065c}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-card{background:#fff;border-color:#1f29371a}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-preview{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-color:#1f29371f}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-meta strong{color:#111827}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-meta small{color:#64748b}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-card button{color:#92400e;background:#ffedd5;border-color:#d977064d}.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-card button:hover,.ide-effect-test-dialog.ide-theme-devcpp-light .ide-effect-test-card button:focus-visible{background:#fed7aa;border-color:#d9770680}.ide-settings-field select{color:#fff8e6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#17343a;border:1px solid #ffffff24;border-radius:9px;width:100%;height:34px;padding:0 10px;font-size:12px;font-weight:850}.ide-template-field textarea{resize:vertical;color:#fff8e6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#10262a;border:1px solid #ffffff24;border-radius:9px;width:100%;min-height:192px;padding:10px 11px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;font-weight:750;line-height:1.5}.ide-template-field textarea:read-only{color:#d8e6e6;background:#10262ab8}.ide-template-field textarea:focus{border-color:#62d8ff8c;outline:none;box-shadow:0 0 0 3px #62d8ff1f}.ide-settings-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.ide-settings-action.primary{color:#e8fbff;background:radial-gradient(circle at 50% 0,#62d8ff33,#0000 58%),#62d8ff14;border-color:#62d8ff6b}.ide-settings-action.primary:hover,.ide-settings-action.primary:focus-visible{background:radial-gradient(circle at 50% 0,#62d8ff4d,#0000 58%),#62d8ff24;border-color:#62d8ffad}.ide-settings-note{color:#bec8c8;margin:0;font-size:12px;font-weight:750}.ide-shortcut-list{gap:6px;margin:0;display:grid}.ide-shortcut-list div{background:#ffffff0a;border:1px solid #ffffff12;border-radius:10px;grid-template-columns:minmax(78px,.48fr) minmax(0,1fr);align-items:center;gap:8px;padding:8px 9px;display:grid}.ide-shortcut-list dt,.ide-shortcut-list dd{min-width:0;margin:0;font-size:12px;line-height:1.35}.ide-shortcut-list dt{color:#f8f8f2;font-weight:900}.ide-shortcut-list dd{color:#d9e7e7;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-weight:750}.workbench.ide-theme-devcpp-light{background:#f3f3f3;border-color:#6e7a8a80;box-shadow:0 18px 46px #1e293b3d}.workbench.ide-theme-devcpp-light .editor-shell{background:#fff}.workbench.ide-theme-devcpp-light .editor-toolbar{color:#1f2937;background:linear-gradient(#f7f7f7,#e6e6e6);border-bottom-color:#1f293729}.workbench.ide-theme-devcpp-light .editor-language-control>select{color:#111827;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;border-color:#1f293738}.workbench.ide-theme-devcpp-light .editor-language-control>select option{color:#111827;background:#fff}.workbench.ide-theme-devcpp-light .editor-language-control>select option:checked{color:#111827;background:#dbeafe}.workbench.ide-theme-devcpp-light .ide-settings-trigger{color:#1f2937;background:linear-gradient(#fff,#e9edf2);border-color:#1f293738;box-shadow:0 5px 12px #1f293729,inset 0 1px #ffffffe6}.workbench.ide-theme-devcpp-light .ide-settings-trigger:hover,.workbench.ide-theme-devcpp-light .ide-settings-trigger:focus-visible,.workbench.ide-theme-devcpp-light .ide-settings-trigger[aria-pressed=true]{background:linear-gradient(#e0f2fe,#bfdbfe);border-color:#2563eb7a;box-shadow:0 0 0 1px #3b82f61f,0 0 14px #2563eb47,0 6px 14px #1f293729}.workbench.ide-theme-devcpp-light .ide-settings-trigger:disabled,.workbench.ide-theme-devcpp-light .ide-settings-trigger:disabled:hover{cursor:not-allowed;opacity:.5;box-shadow:none;background:linear-gradient(#fff,#e9edf2);border-color:#1f293738}.workbench.ide-theme-devcpp-light .admin-ac-effect-test-trigger{color:#b45309}.workbench.ide-theme-devcpp-light .admin-ac-effect-test-trigger:not(:disabled){background:linear-gradient(#fff7ed,#fed7aa);border-color:#d977066b}.workbench.ide-theme-devcpp-light .editor-paste-notice{color:#7c2d12;background:#fff7edeb;border-color:#b4530947}.workbench.ide-theme-devcpp-light .editor-context-menu{color:#1f2937;background:#fff;border-color:#1f293729;box-shadow:0 14px 32px #1f29372e}.workbench.ide-theme-devcpp-light .editor-context-menu button:hover,.workbench.ide-theme-devcpp-light .editor-context-menu button:focus-visible{color:#fff;background:#2563eb}.workbench.ide-theme-devcpp-light .ide-settings-panel{color:#111827;background:#fff;border-color:#1f293724;box-shadow:0 18px 42px #1f29372e}.workbench.ide-theme-devcpp-light .ide-settings-tabs{border-bottom-color:#1f29371a}.workbench.ide-theme-devcpp-light .ide-settings-tabs button{color:#334155;background:#f8fafc;border-color:#1f293724}.workbench.ide-theme-devcpp-light .ide-settings-tabs button.active{color:#1d4ed8;background:#dbeafe;border-color:#2563eb5c}.workbench.ide-theme-devcpp-light .ide-settings-toggle,.workbench.ide-theme-devcpp-light .ide-settings-action,.workbench.ide-theme-devcpp-light .ide-settings-field,.workbench.ide-theme-devcpp-light .ide-shortcut-list div{background:#f8fafc;border-color:#1f29371a}.workbench.ide-theme-devcpp-light .ide-settings-toggle span,.workbench.ide-theme-devcpp-light .ide-settings-field span,.workbench.ide-theme-devcpp-light .ide-shortcut-list dt{color:#111827}.workbench.ide-theme-devcpp-light .ide-settings-toggle small,.workbench.ide-theme-devcpp-light .ide-settings-note{color:#64748b}.workbench.ide-theme-devcpp-light .ide-settings-action{color:#92400e;background:linear-gradient(#fff7ed,#fed7aa);border-color:#d9770647}.workbench.ide-theme-devcpp-light .ide-settings-action:hover,.workbench.ide-theme-devcpp-light .ide-settings-action:focus-visible{background:linear-gradient(#ffedd5,#fdba74);border-color:#d977067a}.workbench.ide-theme-devcpp-light .ide-settings-action:disabled{cursor:not-allowed;opacity:.54;box-shadow:none}.workbench.ide-theme-devcpp-light .ide-settings-action.primary{color:#1d4ed8;background:linear-gradient(#eff6ff,#dbeafe);border-color:#2563eb47}.workbench.ide-theme-devcpp-light .ide-settings-action.primary:hover,.workbench.ide-theme-devcpp-light .ide-settings-action.primary:focus-visible{background:linear-gradient(#dbeafe,#bfdbfe);border-color:#2563eb7a}.workbench.ide-theme-devcpp-light .ide-effect-test-panel{background:#fff7ed;border-color:#d9770633}.workbench.ide-theme-devcpp-light .ide-effect-test-heading{color:#92400e}.workbench.ide-theme-devcpp-light .ide-effect-test-heading svg{color:#b45309}.workbench.ide-theme-devcpp-light .ide-effect-test-card{background:#fff;border-color:#1f29371a}.workbench.ide-theme-devcpp-light .ide-effect-test-preview{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-color:#1f29371f}.workbench.ide-theme-devcpp-light .ide-effect-test-meta strong{color:#111827}.workbench.ide-theme-devcpp-light .ide-effect-test-meta small{color:#64748b}.workbench.ide-theme-devcpp-light .ide-effect-test-card button{color:#92400e;background:#ffedd5;border-color:#d977064d}.workbench.ide-theme-devcpp-light .ide-effect-test-card button:hover,.workbench.ide-theme-devcpp-light .ide-effect-test-card button:focus-visible{background:#fed7aa;border-color:#d9770680}.workbench.ide-theme-devcpp-light .ide-settings-field select,.workbench.ide-theme-devcpp-light .ide-template-field textarea{color:#111827;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;border-color:#1f293729}.workbench.ide-theme-devcpp-light .ide-template-field textarea:read-only{color:#334155;background:#f8fafc}.workbench.ide-theme-devcpp-light .ide-template-field textarea:focus{border-color:#2563eb75;box-shadow:0 0 0 3px #2563eb1a}.workbench.ide-theme-devcpp-light .ide-shortcut-list dd{color:#334155}.workbench.ide-theme-devcpp-light .tool-buttons button{background:linear-gradient(#fff,#e9edf2);border-color:#1f293747;box-shadow:0 5px 12px #1f293729,inset 0 1px #ffffffe6}.workbench.ide-theme-devcpp-light .tool-buttons button:hover,.workbench.ide-theme-devcpp-light .tool-buttons button:focus-visible{background:linear-gradient(#f8fbff,#dbeafe);border-color:#2563eb80}.workbench.ide-theme-devcpp-light .tool-buttons button.ide-settings-trigger[aria-pressed=true]{background:linear-gradient(#e0f2fe,#bfdbfe);border-color:#2563eb7a;box-shadow:0 0 0 1px #3b82f61f,0 0 14px #2563eb47,0 6px 14px #1f293729}.workbench.ide-theme-devcpp-light .tool-buttons img{filter:brightness(0)saturate()invert(17%)sepia(18%)saturate(923%)hue-rotate(176deg)brightness(92%)contrast(90%)}.workbench.ide-theme-devcpp-light .tool-buttons svg{color:#1f2937}.tool-buttons{top:var(--ide-toolbar-center-y);z-index:32;align-items:center;gap:var(--ide-tool-button-gap);max-width:calc(100% - clamp(16px,2vw,28px));display:flex;position:absolute;right:clamp(8px,1vw,14px);overflow:visible;transform:translateY(-50%)}.tool-buttons button{width:var(--ide-tool-button-size);background:#ffffff0f;border:1px solid #ffffff1f;border-radius:9px;flex:none;place-items:center;height:clamp(28px,4vh,34px);display:grid;position:relative}.tool-buttons button:disabled{cursor:not-allowed;opacity:.42}.tool-buttons button:disabled:before,.tool-buttons button:disabled:after{display:none}.tool-buttons button:before,.tool-buttons button:after{z-index:70;opacity:0;pointer-events:none;transition:opacity .12s,transform .12s;position:absolute;left:50%;transform:translate(-50%,4px)}.tool-buttons button:before{content:attr(data-tooltip);color:#fff8dc;text-align:center;white-space:nowrap;background:#0c161af5;border:1px solid #f6d68d42;border-radius:8px;width:max-content;max-width:168px;padding:5px 8px;font-size:12px;line-height:1.2;top:calc(100% + 8px);box-shadow:0 10px 24px #00000057}.tool-buttons button:after{content:"";background:#0c161af5;border-top:1px solid #f6d68d42;border-left:1px solid #f6d68d42;width:8px;height:8px;top:calc(100% + 3px);transform:translate(-50%,4px)rotate(45deg)}.tool-buttons button:hover:before,.tool-buttons button:focus-visible:before,.tool-buttons button:hover:after,.tool-buttons button:focus-visible:after{opacity:1;transform:translate(-50%)}.tool-buttons button:hover:after,.tool-buttons button:focus-visible:after{transform:translate(-50%)rotate(45deg)}.tool-buttons button.ide-settings-trigger[aria-pressed=true]{background:radial-gradient(circle at 48% 24%,#ffd67c40,#0000 54%),linear-gradient(#604f2bd1,#2a372bdb);border-color:#f5c26094;box-shadow:0 0 0 1px #ffda8029,0 0 14px #ffb74059,0 8px 18px #0000003d}.tool-buttons img{width:clamp(16px,2.4vh,20px);height:clamp(16px,2.4vh,20px)}.tool-buttons svg{color:#fff4d6;width:clamp(16px,2.4vh,20px);height:clamp(16px,2.4vh,20px)}.tool-buttons button.ide-tactical-sound-trigger{color:#ffe8b0;background:radial-gradient(circle at 48% 24%,#ffd46a33,#0000 52%),linear-gradient(#524124b8,#233026c7);border-color:#f7b14557}.tool-buttons button.ide-tactical-sound-trigger svg{color:#ffe3a0;filter:drop-shadow(0 0 5px #ffb95561)}.tool-buttons button.ide-tactical-sound-trigger.enabled{background:radial-gradient(circle at 50% 20%,#ffe1896b,#0000 54%),linear-gradient(#625c2feb,#245436eb);border-color:#ffcf66b8;box-shadow:0 0 0 1px #ffda8029,0 0 16px #ffb7406b,0 8px 18px #0000003d}.tool-buttons button.ide-tactical-sound-trigger.enabled svg{color:#fff4c7;filter:drop-shadow(0 0 5px #ffd262b8)drop-shadow(0 0 10px #7dff8e3d)}.workbench.ide-theme-devcpp-light .tool-buttons button.ide-tactical-sound-trigger{background:radial-gradient(circle at 48% 24%,#fde68ab8,#0000 52%),linear-gradient(#fff7ed,#dcfce7);border-color:#a1620752}.workbench.ide-theme-devcpp-light .tool-buttons button.ide-tactical-sound-trigger svg{color:#92400e;filter:drop-shadow(0 0 4px #a1620738)}.workbench.ide-theme-devcpp-light .tool-buttons button.ide-tactical-sound-trigger.enabled{background:radial-gradient(circle at 50% 20%,#fef08ab8,#0000 54%),linear-gradient(#fef9c3,#bbf7d0);border-color:#16a34a7a;box-shadow:0 0 0 1px #16a34a1a,0 0 14px #eab30847,0 6px 14px #1f293729}.tool-buttons button.xingyin-help-trigger{color:#dff5ff;background:radial-gradient(circle at 45% 24%,#83dbff6b,#0000 52%),linear-gradient(#186cd7e6,#12378eeb);border-color:#5dc7ff9e;animation:2.4s ease-in-out infinite xingyinAiHelpGlow;box-shadow:0 0 0 1px #7ad5ff2e,0 0 16px #2a9cff8c,0 8px 18px #00000042,inset 0 1px #fff3}.tool-buttons button.xingyin-help-trigger svg{color:#e8fbff;filter:drop-shadow(0 0 6px #b0ebffb3)}.tool-buttons button.xingyin-help-trigger:hover,.tool-buttons button.xingyin-help-trigger:focus-visible,.tool-buttons button.xingyin-help-trigger[aria-pressed=true]{background:radial-gradient(circle at 45% 22%,#b9efff80,#0000 52%),linear-gradient(#2489fff5,#1848b6f5);border-color:#ace8ffd1;box-shadow:0 0 0 1px #9de2ff47,0 0 22px #36adffad,0 10px 22px #0000004d,inset 0 1px #ffffff3d}.workbench.ide-theme-devcpp-light .tool-buttons button.xingyin-help-trigger{background:radial-gradient(circle at 45% 22%,#bfe6ffb8,#0000 52%),linear-gradient(#e0f2fe,#bfdbfe);border-color:#2563eb7a;box-shadow:0 0 0 1px #3b82f61f,0 0 16px #2563eb52,0 6px 14px #1f29372e}.workbench.ide-theme-devcpp-light .tool-buttons button.xingyin-help-trigger svg{color:#1d4ed8;filter:drop-shadow(0 0 5px #2563eb57)}@keyframes xingyinAiHelpGlow{0%,to{transform:translateY(0);box-shadow:0 0 0 1px #7ad5ff29,0 0 13px #2a9cff6b,0 8px 18px #0000003d,inset 0 1px #ffffff2e}50%{transform:translateY(-1px);box-shadow:0 0 0 1px #7ad5ff3d,0 0 22px #2a9cffa8,0 10px 22px #0000004d,inset 0 1px #ffffff3d}}.xingyin-help-panel{--xingyin-help-auto-width:360px;--xingyin-help-user-width:var(--xingyin-help-auto-width);top:calc(var(--ide-toolbar-height) + 8px);z-index:34;box-sizing:border-box;width:min(max(320px, var(--xingyin-help-user-width)), min(860px, calc(100% - 18px)));color:#fff;background:linear-gradient(135deg,#272822fa,#1f201ffa),radial-gradient(circle at 18% 12%,#66d9ef1f,#0000 42%);border:1px solid #66d9ef47;border-radius:10px;gap:10px;padding:12px;display:grid;position:absolute;right:clamp(8px,1vw,14px);box-shadow:0 16px 34px #00000061}.xingyin-help-panel.wide{--xingyin-help-auto-width:720px}.xingyin-help-panel.rejected{--xingyin-help-auto-width:362px}.xingyin-help-resize-handle{appearance:none;cursor:ew-resize;background:0 0;border:0;border-radius:999px;width:10px;padding:0;position:absolute;top:9px;bottom:9px;left:-5px}.xingyin-help-resize-handle:before{content:"";background:#66d9ef52;border-radius:999px;width:2px;height:42px;position:absolute;top:50%;left:4px;transform:translateY(-50%);box-shadow:0 0 12px #66d9ef38}.xingyin-help-resize-handle:hover:before,.xingyin-help-resize-handle:focus-visible:before{background:#66d9efb8;box-shadow:0 0 16px #66d9ef6b}.xingyin-help-onboarding-prompt{background:#66d9ef14;border:1px solid #66d9ef3d;border-radius:8px;gap:4px;padding:9px 10px;display:grid}.xingyin-help-onboarding-prompt small{color:#f8f8f29e;letter-spacing:0;font-size:11px;font-weight:800}.xingyin-help-onboarding-prompt p{color:#fff;margin:0;font-size:14px;font-weight:800;line-height:1.45}.xingyin-help-panel form{display:block;position:relative}.xingyin-help-panel textarea{box-sizing:border-box;resize:vertical;color:#fff;width:100%;min-height:74px;font:inherit;background:#191a16f0;border:1px solid #66d9ef3d;border-radius:8px;padding:9px 10px 42px;font-size:13px;line-height:1.45}.xingyin-help-panel textarea:focus-visible{border-color:#66d9ef80;outline:none;box-shadow:0 0 0 2px #66d9ef21}.xingyin-help-panel textarea::placeholder{color:#f8f8f270}.xingyin-help-panel form button{z-index:2;color:#102027;white-space:nowrap;background:#66d9ef;border:1px solid #66d9ef6b;border-radius:8px;align-items:center;gap:6px;max-width:calc(100% - 16px);height:30px;min-height:30px;padding:0 10px;font-weight:800;display:inline-flex;position:absolute;bottom:8px;right:8px}.garlic-cost-pill,.garlic-free-pill{letter-spacing:0;white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:3px;min-height:18px;padding:1px 5px;font-size:11px;font-weight:950;line-height:1;display:inline-flex}.garlic-cost-pill{color:#2f210c;background:linear-gradient(#fff0aaf5,#f5bc53f5);border:1px solid #70471638;box-shadow:inset 0 0 0 1px #ffffff3d}.xingyin-help-panel form button .garlic-cost-pill{justify-content:center;min-width:52px}.garlic-cost-icon{color:#fff8dc;background:#5d8e56;border-radius:999px;place-items:center;width:14px;height:14px;font-size:10px;font-weight:950;display:inline-grid}.garlic-free-pill{color:#1f3d1c;background:#cfffbdd6;border:1px solid #5d8e5642}.xingyin-help-panel form button:disabled{cursor:not-allowed;opacity:.55}.xingyin-help-panel form button svg{animation:none}.xingyin-help-panel form button.loading svg{animation:.86s linear infinite xingyinHelpSpin}.xingyin-help-answer{color:#fff;border-top:1px solid #f8f8f21a;margin:0;padding-top:9px;font-size:13px;line-height:1.55}.xingyin-help-history-card{border-top:1px solid #f8f8f21a;gap:8px;padding-top:9px;display:grid}.xingyin-help-history-nav{color:#fff;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.xingyin-help-history-nav button{appearance:none;color:#fff;background:#141512b8;border:1px solid #66d9ef2e;border-radius:8px;place-items:center;width:26px;height:26px;display:grid}.xingyin-help-history-nav button:disabled{cursor:not-allowed;opacity:.42}.xingyin-help-history-empty{color:#ffffffc7;margin:0;font-size:12px;line-height:1.45}.xingyin-help-history-empty.error{color:#ff6b6b}.xingyin-help-question-view{color:#fff;background:#141512ad;border:1px solid #66d9ef24;border-radius:8px;margin:0;padding:7px 8px;font-size:12px;line-height:1.45}.xingyin-help-history-card .xingyin-help-answer{border-top:0;padding-top:0}.xingyin-help-answer .statement-markdown{color:#fff;gap:7px;display:grid}.xingyin-help-answer .statement-markdown :where(p,li,blockquote,td,th,strong,em,h1,h2,h3,h4,h5,h6,.katex){color:#fff}.xingyin-help-answer .statement-markdown :where(p){margin:0}.xingyin-help-answer .statement-markdown :where(ul,ol){color:#fff;gap:4px;margin:0;padding-left:18px;display:grid}.xingyin-help-answer .statement-markdown :where(a){color:#66d9ef}.xingyin-help-answer .statement-markdown :where(.katex-display){margin:6px 0}.xingyin-help-answer .statement-markdown pre{color:#fff;background:#141512eb;border:1px solid #66d9ef38;border-radius:8px;margin:0;padding:8px 9px;font-size:12px;line-height:1.45;overflow-x:auto}.xingyin-help-answer .statement-markdown code{color:#fff;overflow-wrap:anywhere;background:#66d9ef24;border-radius:5px;padding:1px 4px}.xingyin-help-answer .statement-markdown pre code{overflow-wrap:normal;white-space:pre;background:0 0;padding:0}.xingyin-help-remaining{color:#ffffffc7;margin:0;font-size:12px}.xingyin-help-usage{color:#ffffffd1;background:#14151294;border:1px solid #66d9ef2e;border-radius:999px;justify-self:end;margin:-2px 0 0;padding:3px 8px;font-size:12px;line-height:1.35}.xingyin-help-usage.limited{color:#ffb4b4;background:#7f1d1d3d;border-color:#ff6b6b4d}.xingyin-help-answer.rejected,.xingyin-help-answer.error{color:#ff6b6b}.xingyin-help-answer.rejected{white-space:normal;overflow-wrap:break-word;word-break:normal;justify-self:start;max-width:26em}.workbench.ide-theme-devcpp-light .xingyin-help-panel{color:#111827;background:#fff;border-color:#94a3b84d;box-shadow:0 16px 34px #1f29372e}.workbench.ide-theme-devcpp-light .xingyin-help-answer{color:#374151}.workbench.ide-theme-devcpp-light .xingyin-help-onboarding-prompt{background:#eff6ff;border-color:#0ea5e93d}.workbench.ide-theme-devcpp-light .xingyin-help-onboarding-prompt small{color:#64748b}.workbench.ide-theme-devcpp-light .xingyin-help-onboarding-prompt p{color:#0f172a}.workbench.ide-theme-devcpp-light .xingyin-help-answer .statement-markdown,.workbench.ide-theme-devcpp-light .xingyin-help-answer .statement-markdown :where(p,li,blockquote,td,th,strong,em,h1,h2,h3,h4,h5,h6,.katex){color:#1f2937}.workbench.ide-theme-devcpp-light .xingyin-help-answer .statement-markdown :where(a){color:#2563eb}.workbench.ide-theme-devcpp-light .xingyin-help-history-nav,.workbench.ide-theme-devcpp-light .xingyin-help-history-empty,.workbench.ide-theme-devcpp-light .xingyin-help-remaining,.workbench.ide-theme-devcpp-light .xingyin-help-usage{color:#64748b}.workbench.ide-theme-devcpp-light .xingyin-help-usage{background:#f8fafc;border-color:#2563eb24}.workbench.ide-theme-devcpp-light .xingyin-help-usage.limited{color:#b91c1c;background:#fef2f2;border-color:#b91c1c33}.workbench.ide-theme-devcpp-light .xingyin-help-history-nav button{color:#334155;background:#f8fafc;border-color:#1f293724}.workbench.ide-theme-devcpp-light .xingyin-help-question-view{color:#1f2937;background:#f8fafc;border-color:#1f29371a}.workbench.ide-theme-devcpp-light .xingyin-help-answer .statement-markdown pre{color:#0f172a;background:#f8fafc;border-color:#2563eb29}.workbench.ide-theme-devcpp-light .xingyin-help-answer .statement-markdown code{color:#1e3a8a;background:#2563eb1a}.workbench.ide-theme-devcpp-light .xingyin-help-answer .statement-markdown pre code{background:0 0}.workbench.ide-theme-devcpp-light .xingyin-help-answer.rejected,.workbench.ide-theme-devcpp-light .xingyin-help-answer.error,.workbench.ide-theme-devcpp-light .xingyin-help-history-empty.error{color:#b91c1c}.workbench.ide-theme-devcpp-light .xingyin-help-panel textarea{color:#111827;background:#fff;border-color:#1f293729}.workbench.ide-theme-devcpp-light .xingyin-help-panel textarea:focus-visible{border-color:#2563eb7a;box-shadow:0 0 0 2px #2563eb1f}.workbench.ide-theme-devcpp-light .xingyin-help-panel textarea::placeholder{color:#94a3b8}.workbench.ide-theme-devcpp-light .xingyin-help-panel form button{color:#fff;background:#2563eb;border-color:#2563eb73}@keyframes xingyinHelpSpin{to{transform:rotate(360deg)}}.whiteboard-modal-backdrop{z-index:6500;box-sizing:border-box;-webkit-backdrop-filter:none;background:#040d1075;place-items:stretch stretch;padding:8px;display:grid;position:fixed}.whiteboard-modal{background:#fdf7df;border:1px solid #f8db8b57;border-radius:12px;width:100%;height:100%;min-height:0;position:relative;overflow:hidden;box-shadow:0 28px 78px #0000007a}.whiteboard-modal-head{z-index:12;color:#2f3c42;background:#fff8dff0;border-bottom:1px solid #485b602e;border-radius:10px;place-items:center stretch;gap:6px;min-height:32px;padding:8px;display:grid;position:absolute;top:58px;right:8px;box-shadow:0 10px 24px #23231c2e}.whiteboard-title{justify-content:center;align-items:center;min-width:86px;display:flex}.whiteboard-title span{color:#7a5c14;letter-spacing:0;white-space:nowrap;font-size:13px;font-weight:950}.whiteboard-title strong{color:#26363a;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:clamp(16px,1.7vw,22px);font-weight:950;overflow:hidden}.whiteboard-title small{color:#667174;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:850;overflow:hidden}.whiteboard-toolbar{place-items:center stretch;gap:5px;display:grid}.whiteboard-toolbar button{color:#26363a;background:#ffffffad;border:1px solid #2a40462b;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-width:86px;height:28px;padding:0 8px;font-size:11px;font-weight:950;display:inline-flex}.whiteboard-toolbar button:hover:not(:disabled),.whiteboard-toolbar button:focus-visible:not(:disabled){background:#fff7d6;border-color:#a9781d6b}.whiteboard-toolbar button:disabled{cursor:wait;opacity:.52}.whiteboard-toolbar .whiteboard-close{color:#fff7df;background:#25383e}.whiteboard-canvas-shell{background:#fffdf2;min-height:0;position:absolute;inset:0}.whiteboard-canvas-shell .excalidraw{--zIndex-modal:2147480000;--zIndex-popup:2147480000;--zIndex-toast:999999;--color-primary:#b87718;--color-primary-darker:#805015;--color-primary-light:#ffe1a0;width:100%;height:100%;font-family:Inter,Avenir Next,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.whiteboard-canvas-shell .excalidraw.excalidraw-modal-container,.whiteboard-canvas-shell .excalidraw .Modal,.whiteboard-canvas-shell .excalidraw .Dialog,.whiteboard-canvas-shell .excalidraw .ttd-dialog,.whiteboard-canvas-shell .excalidraw .ElementLinkDialog{z-index:var(--zIndex-modal)!important}.whiteboard-canvas-shell .excalidraw .Modal__background{z-index:calc(var(--zIndex-modal) + 1)!important}.whiteboard-canvas-shell .excalidraw .Modal__content{z-index:calc(var(--zIndex-modal) + 2)!important}body.spcg-whiteboard-open .excalidraw.excalidraw-modal-container{--zIndex-modal:2147480000;--zIndex-popup:2147480000;--zIndex-toast:999999;z-index:var(--zIndex-modal)!important;position:fixed!important;inset:0!important}body.spcg-whiteboard-open .excalidraw.excalidraw-modal-container .Modal,body.spcg-whiteboard-open .excalidraw.excalidraw-modal-container .Dialog,body.spcg-whiteboard-open .excalidraw.excalidraw-modal-container .ttd-dialog{z-index:var(--zIndex-modal)!important}body.spcg-whiteboard-open .excalidraw.excalidraw-modal-container .Modal__background{z-index:calc(var(--zIndex-modal) + 1)!important}body.spcg-whiteboard-open .excalidraw.excalidraw-modal-container .Modal__content{z-index:calc(var(--zIndex-modal) + 2)!important}.whiteboard-loading{color:#31434a;background:#fffdf2;place-items:center;height:100%;font-weight:950;display:grid}.monaco-surface{z-index:1;min-height:0;position:relative}.monaco-editor .compile-error-line-highlight{background:#ff4d5729}.monaco-editor .compile-error-inline-highlight{background:#ff4d5752;border-bottom:2px solid #ff4d57}.compile-error-line-message{box-sizing:border-box;color:#ffe9e9;pointer-events:none;background:#480a12f5;border:1px solid #ff5b5b6b;border-radius:10px;align-items:center;gap:10px;height:34px;margin:4px 16px 4px 0;padding:7px 10px;display:flex;box-shadow:0 12px 26px #00000047}.compile-error-line-message span{color:#ffb0b0;flex:none;font-size:12px}.compile-error-line-message strong{color:#fff7f7;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:400;overflow:hidden}.editor-loading{color:#dce8e8;background:#272822;place-items:center;width:100%;height:100%;font-weight:800;display:grid}.results-dock{background:#061013eb;border-top:1px solid #ffffff14;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0;display:grid;position:relative}.results-dock-toggle{z-index:85;color:#fff4d6;background:#ffffff14;border:1px solid #ffe6aa33;border-radius:9px;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:0;right:calc(50% + clamp(12px,1.4vw,18px));transform:translateY(-50%);box-shadow:0 8px 18px #00000038}.results-dock-toggle[aria-pressed=true]{background:#f6d68d29;border-color:#f6d68d75}@media (max-width:820px){.results-dock-toggle{right:12px}}.result-list{color:#dce8e8;min-width:0;padding:clamp(10px,1.5vh,16px) clamp(14px,1.5vw,22px);overflow:auto}.result-title{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;min-width:0;margin-bottom:clamp(6px,1vh,12px);font-size:clamp(15px,2vh,18px);font-weight:850;display:grid}.result-title-main{text-overflow:ellipsis;white-space:nowrap;grid-column:1;align-items:center;gap:10px;min-width:0;display:inline-flex;overflow:hidden}.result-title-action{grid-column:2;justify-content:center;align-items:center;gap:8px;min-height:28px;margin:0;display:flex}.ai-analysis-button{color:#ecffe7;white-space:nowrap;background:#639e4a38;border:1px solid #93d66f57;border-radius:9px;justify-content:center;align-items:center;gap:6px;height:28px;padding:0 10px;font-size:12px;display:inline-flex}.ai-analysis-button .garlic-cost-pill,.history-detail-actions button .garlic-cost-pill{color:#2f210c}.ai-analysis-button:disabled{cursor:wait;opacity:.72}.ai-analysis-hint{color:#e8f0ee8a;white-space:nowrap;font-size:12px}.result-title img,.case img,.result-mark{width:clamp(16px,2.5vh,22px);height:clamp(16px,2.5vh,22px)}.result-mark{color:#fff;background:#d74b45;border-radius:999px;place-items:center;font-size:15px;font-weight:1000;line-height:1;display:grid}.result-pending-mark{background:#f6d68d1a;border:2px solid #f6d68d57;border-radius:999px;place-items:center;width:clamp(16px,2.5vh,22px);height:clamp(16px,2.5vh,22px);display:inline-grid}.result-pending-mark:after{border-radius:inherit;content:"";background:#f6d68dc7;width:36%;height:36%}.result-pending-mark.small{border-width:1px;width:clamp(11px,1.8vh,15px);height:clamp(11px,1.8vh,15px)}.result-idle .result-title{color:#f6d68de0}.case{color:#e8f0eedb;grid-template-columns:24px clamp(86px,8vw,128px) minmax(0,1fr);align-items:center;gap:clamp(6px,.8vw,12px);min-height:clamp(26px,4vh,34px);font-size:clamp(12px,1.7vh,14px);display:grid}.case-with-action{grid-template-columns:24px clamp(86px,8vw,128px) minmax(0,1fr) auto}.case-button{z-index:2;color:#e8f0eeeb;width:100%;font:inherit;text-align:left;background:linear-gradient(#f6d68d29,#f6d68d12),#ffffff0d;border:1px solid #f6d68d70;border-radius:10px;padding:0 clamp(6px,.8vw,10px);position:relative;box-shadow:inset 0 1px #ffffff14,0 5px 14px #00000024}.case-button[aria-disabled=false]{cursor:pointer}.case-button[aria-disabled=false]:hover,.case-button[aria-disabled=false]:focus-visible{background:linear-gradient(#ffe19e42,#f6d68d1f),#ffffff0f;border-color:#ffe19ec7}.case-button[aria-disabled=false]:hover span:nth-child(2),.case-button[aria-disabled=false]:focus-visible span:nth-child(2){color:#fff8dc}.case-button:focus-visible{outline-offset:3px;outline:1px solid #f6d68d80}.case span:last-child,.case-result-summary{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.case-inline-action{color:#fff8dc;cursor:pointer;min-width:0;min-height:26px;font:inherit;white-space:nowrap;background:linear-gradient(#f6d68d2e,#f6d68d14),#ffffff0f;border:1px solid #f6d68d70;border-radius:8px;justify-content:center;align-items:center;padding:0 10px;font-size:12px;font-weight:850;line-height:1;display:inline-flex;box-shadow:inset 0 1px #ffffff14}.case-inline-action:hover,.case-inline-action:focus-visible{background:linear-gradient(#ffe19e47,#f6d68d24),#ffffff14;border-color:#ffe19ec7}.case-inline-action:focus-visible{outline-offset:3px;outline:1px solid #f6d68d80}.result-ac{--result-tone:#22c55e;--result-mark-bg:#16a34a;--result-soft:#22c55e24}.result-wa,.result-judge-error{--result-tone:#f87171;--result-mark-bg:#dc2626;--result-soft:#dc262624}.result-ce{--result-tone:#fbbf24;--result-mark-bg:#f59e0b;--result-soft:#f59e0b29}.result-re{--result-tone:#e879f9;--result-mark-bg:#c026d3;--result-soft:#c026d329}.result-tle,.result-mle{--result-tone:#60a5fa;--result-mark-bg:#1e3a8a;--result-soft:#1e3a8a2e}.result-pe{--result-tone:#f472b6;--result-mark-bg:#ec4899;--result-soft:#ec489929}.result-ac,.result-wa,.result-re,.result-ce,.result-tle,.result-mle,.result-pe,.result-judge-error{background:linear-gradient(90deg, var(--result-soft), transparent 62%), transparent}.result-ac .result-title,.result-wa .result-title,.result-re .result-title,.result-ce .result-title,.result-tle .result-title,.result-mle .result-title,.result-pe .result-title,.result-judge-error .result-title,.result-ac .case span:last-child,.result-wa .case span:last-child,.result-re .case span:last-child,.result-ce .case span:last-child,.result-tle .case span:last-child,.result-mle .case span:last-child,.result-pe .case span:last-child,.result-judge-error .case span:last-child,.result-ac .case-result-summary,.result-wa .case-result-summary,.result-re .case-result-summary,.result-ce .case-result-summary,.result-tle .case-result-summary,.result-mle .case-result-summary,.result-pe .case-result-summary,.result-judge-error .case-result-summary,.failed-case span:last-child{color:var(--result-tone)}.result-debug-run{--result-tone:#fff8dc;--result-soft:#fff8dc14}.result-debug-run .result-title,.result-debug-run .case,.result-debug-run .case span,.result-debug-run .case span:last-child{color:#fff8dc}.result-wa .result-mark,.result-re .result-mark,.result-ce .result-mark,.result-tle .result-mark,.result-mle .result-mark,.result-pe .result-mark,.result-judge-error .result-mark{background:var(--result-mark-bg)}.muted-case span:last-child{color:#e8f0eea3}.result-error{color:#ffd7d0;white-space:pre-wrap;word-break:break-word;background:#57262dd1;border-radius:10px;max-height:calc(43.5em + 16px);margin-top:8px;padding:8px;font-size:12px;line-height:1.45;overflow:auto}.result-debug-info{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.result-debug-info span,.result-debug-info-button{color:#e8f0eeb8;text-overflow:ellipsis;white-space:nowrap;background:#ffffff0d;border:1px solid #ffe6aa29;border-radius:999px;max-width:100%;padding:4px 8px;font-size:11px;font-weight:850;overflow:hidden}.result-debug-info-button{cursor:pointer;font-family:inherit}.cases-debug-button{color:#fff8dc;background:linear-gradient(#f6d68d33,#f6d68d1a),#ffffff12;border-color:#f6d68d7a;box-shadow:0 5px 14px #00000029}.cases-debug-button:hover,.cases-debug-button:focus-visible{background:linear-gradient(#ffe19e52,#f6d68d29),#ffffff14;border-color:#ffe19ed1}.ai-analysis-panel{color:#e8f0eedb;background:#14342d6b;border:1px solid #93d66f38;border-radius:12px;gap:9px;margin-top:10px;padding:10px;font-size:12px;line-height:1.45;display:grid}.learning-feedback-card{color:#e8f0eee6;background:#2a373e75;border:1px solid #f6d68d38;border-radius:12px;gap:8px;margin-top:10px;padding:10px;font-size:12px;line-height:1.45;display:grid}.learning-feedback-card.accepted{background:#16553757;border-color:#57d5844d}.learning-feedback-card.repair{background:#553d1857;border-color:#f6d68d47}.learning-feedback-card strong{color:#fff8dc;margin-bottom:2px;font-size:13px;display:block}.learning-feedback-card p,.learning-feedback-card ul{margin:0}.learning-feedback-card ul{padding-left:18px}.learning-feedback-card a,.learning-feedback-card button{color:#f4ffe8;font:inherit;background:#548e3e38;border:1px solid #93d66f4d;border-radius:9px;justify-self:start;padding:6px 10px;text-decoration:none}.hidden-case-reveal-panel,.hidden-case-reveal-error{color:#fff8dce6;background:#4a2f126b;border:1px solid #f6d68d47;border-radius:12px;gap:9px;margin-top:10px;padding:10px;font-size:12px;line-height:1.45;display:grid}.hidden-case-reveal-error{color:#ffe4df;background:#57262d5c;border-color:#ff6b5f40}.hidden-case-reveal-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.hidden-case-reveal-head strong{color:#fff8dc;font-size:13px;display:block}.hidden-case-reveal-head span{color:#fff8dcb3}.hidden-case-reveal-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.hidden-case-reveal-actions button{color:#fff8dc;min-height:28px;font:inherit;background:#fff8dc1a;border:1px solid #f6d68d47;border-radius:9px;padding:5px 9px;font-weight:850}.hidden-case-reveal-grid{gap:8px;display:grid}.hidden-case-reveal-block{background:#08121442;border:1px solid #f6d68d2e;border-radius:10px;overflow:hidden}.hidden-case-reveal-block span{color:#fff8dcb8;border-bottom:1px solid #f6d68d24;padding:6px 8px;font-weight:900;display:block}.hidden-case-reveal-block pre{color:#fff8dc;white-space:pre;word-break:normal;background:#02080a42;max-height:160px;padding:8px;font-size:12px}.hidden-case-reveal-block.muted pre{color:#fff8dcad;white-space:pre-wrap}.ai-analysis-panel.loading{background:#4e3c185c;border-color:#f6d68d38}.ai-analysis-panel.error{background:#57262d5c;border-color:#ff6b5f40}.ai-analysis-panel-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.ai-analysis-panel-head strong{color:#fff8dc;font-size:13px}.ai-analysis-panel-head span{color:#e8f0ee94;font-size:11px}.ai-analysis-panel-head button{color:#fff8dc;background:#ffffff14;border:1px solid #ffe6aa2e;border-radius:9px;height:28px;padding:0 10px;font-size:12px}.ai-analysis-panel p,.ai-analysis-panel dl,.ai-analysis-panel dd,.ai-analysis-panel ul{margin:0}.ai-analysis-panel dl{gap:8px;display:grid}.ai-analysis-panel dt{color:#93d66f;margin-bottom:3px;font-size:11px}.ai-analysis-panel ul{padding-left:18px}.console-panel{color:#dce8e8;border-left:1px solid #ffffff14;grid-template-columns:minmax(0,3fr) minmax(0,7fr);gap:10px;min-width:0;min-height:0;padding:clamp(10px,1.5vh,16px) clamp(12px,1.4vw,18px);display:grid}.console-column{grid-template-rows:20px minmax(0,1fr);gap:6px;min-width:0;min-height:0;display:grid}.console-column label,.console-column span{color:#e8f0eeb3;text-transform:uppercase;font-size:12px;font-weight:900}.console-column textarea,.console-column pre{color:#f1f7f2;background:#0000003d;border:1px solid #ffffff1a;border-radius:10px;width:100%;min-height:0;padding:8px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.35;overflow:auto}.console-column textarea{resize:none}.judge-actions{z-index:8;border-left:0;grid-template-rows:repeat(2,minmax(42px,max-content));grid-template-columns:1fr;grid-auto-rows:minmax(42px,max-content);align-content:center;align-items:center;gap:clamp(6px,1.1vh,10px);width:clamp(132px,12vw,170px);padding:0;display:grid;position:absolute;bottom:clamp(12px,1.8vh,18px);right:clamp(12px,1.4vw,18px)}.programming-layout.task-expanded .workbench .judge-actions{right:clamp(22px,3vw,38px);bottom:calc(clamp(8px, 1.5vh, 14px) + var(--spcg-results-row-height) + clamp(12px, 1.8vh, 18px));z-index:45;position:fixed}.programming-layout.editor-expanded .workbench .judge-actions{z-index:8;position:absolute;bottom:clamp(12px,1.8vh,18px);right:clamp(12px,1.4vw,18px)}.completion-next-button,.asset-button{color:#fff;white-space:nowrap;border:0;border-radius:12px;justify-content:center;align-items:center;gap:clamp(8px,1vw,12px);min-width:0;height:clamp(42px,6.2vh,56px);padding:0 clamp(8px,1vw,12px);font-size:clamp(15px,2.2vh,18px);font-weight:900;display:flex;box-shadow:0 10px 24px #00000038}.completion-next-button{color:#fff;cursor:pointer;background:linear-gradient(140deg,#76d94f,#218a32);border:0;width:100%;text-decoration:none;animation:.26s cubic-bezier(.18,1.24,.3,1) both completionNextPop}.asset-button img{width:clamp(18px,2.6vh,24px);height:clamp(18px,2.6vh,24px)}.asset-button.run{background:linear-gradient(140deg,#96dc68,#428d37)}.asset-button.submit{background:linear-gradient(140deg,#f5ce65,#c88c35)}.completion-next-button:hover,.completion-next-button:focus-visible{background:linear-gradient(140deg,#8fe96a,#2d9d3f);box-shadow:0 16px 34px #145a2370}.completion-next-button.breathing{animation:1.6s ease-in-out infinite completionNextBreathe}.hidden-case-reveal-button{background:linear-gradient(140deg,#da9a35,#a65a26)}.hidden-case-reveal-button:hover,.hidden-case-reveal-button:focus-visible{background:linear-gradient(140deg,#edb24a,#bd6830);box-shadow:0 16px 34px #9a521861}.hidden-case-reveal-button:disabled{cursor:progress;opacity:.72}@keyframes completionNextPop{0%{opacity:0;transform:translateY(8px)scale(.94)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes completionNextBreathe{0%,to{transform:scale(1)}50%{transform:scale(1.045)}}.submission-history-panel{z-index:80;color:#e8f0ee;background:#091619fa;border:1px solid #ffe6aa33;border-radius:16px;grid-template-rows:auto minmax(0,1fr);width:min(380px,100% - 20px);display:grid;position:absolute;top:clamp(10px,1.4vh,18px);bottom:clamp(10px,1.4vh,18px);right:clamp(10px,1.4vw,18px);overflow:hidden;box-shadow:0 20px 54px #0000006b}.workbench.history-has-source .submission-history-panel{width:min(900px,100% - 20px)}.history-panel-head{background:#19343af2;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:14px;min-height:48px;padding:8px 12px 8px 16px;display:flex}.history-panel-head>div:first-child{gap:2px;display:grid}.history-panel-head span{color:#e8f0ee9e;text-transform:uppercase;font-size:11px;font-weight:900}.history-panel-head strong{font-size:15px;font-weight:950}.history-panel-actions{gap:8px;display:flex}.history-scope-tabs{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:10px;align-items:center;gap:6px;padding:3px;display:flex}.history-scope-tabs button{color:#e8f0eead;white-space:nowrap;background:0 0;border:0;border-radius:7px;height:28px;padding:0 10px;font-size:12px;font-weight:950}.history-scope-tabs button.active{color:#163016;background:#96dc68}.history-panel-actions button{color:#fff4d6;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.history-panel-body{grid-template-columns:minmax(0,1fr);min-height:0;display:grid}.workbench.history-has-source .history-panel-body{grid-template-columns:minmax(0,2fr) minmax(240px,1fr)}.history-list{min-height:0;padding:10px;overflow:auto}.history-table-head,.history-item{grid-template-columns:70px minmax(82px,1fr) 96px 74px;align-items:center;gap:6px;min-width:340px;display:grid}.history-table-head{z-index:1;color:#e8f0ee94;background:#0d1e22fa;border-bottom:1px solid #ffffff14;margin:-10px -10px 6px;padding:10px;font-size:11px;font-weight:950;position:sticky;top:-10px}.workbench.history-has-source .history-list{border-left:1px solid #ffffff14}.workbench.history-has-source .history-table-head,.workbench.history-has-source .history-item{grid-template-columns:62px minmax(54px,1fr) 72px 48px;gap:5px;min-width:0}.workbench.history-has-source .history-cell,.workbench.history-has-source .history-source-allowed,.workbench.history-has-source .history-source-locked{font-size:11px}.history-item{color:#e8f0ee;text-align:left;background:0 0;border:0;border-bottom:1px solid #ffffff12;border-radius:0;width:100%;margin:0;padding:9px 10px}.history-item:hover{background:#ffffff0e}.history-item.active{background:#f0b64b1f}.history-cell{color:#e8f0eead;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:500;overflow:hidden}.history-cell-owner{color:#e8f0ee;font-size:12px;font-weight:500}.history-verdict{color:#fff;background:#66707a;border-radius:999px;width:max-content;min-width:56px;padding:3px 7px;font-size:11px;font-weight:500}.history-verdict-ac{background:#16a34a;font-weight:950}.history-verdict-wa,.history-verdict-judge-error,.history-verdict-error{background:#dc2626}.history-verdict-ce{background:#f59e0b}.history-verdict-re{background:#c026d3}.history-verdict-tle,.history-verdict-mle{background:#1e3a8a}.history-verdict-pe{background:#ec4899}.history-verdict-pending,.history-verdict-judging{background:#b8872d}.history-source-allowed,.history-source-locked{text-overflow:ellipsis;white-space:nowrap;border-radius:999px;width:max-content;max-width:100%;padding:3px 7px;font-size:11px;font-style:normal;font-weight:500;overflow:hidden}.history-source-allowed{color:#163016;background:#96dc68;font-weight:950}.history-source-locked{color:#e8f0ee94;background:#ffffff14}.history-load-more{color:#fff4d6;background:#ffffff12;border:1px solid #ffffff1f;border-radius:10px;width:100%;margin-top:8px;padding:10px 12px;font-size:13px;font-weight:950}.history-load-more:hover:not(:disabled){background:#ffffff1c}.history-load-more:disabled{cursor:wait;opacity:.72}.history-detail{grid-template-rows:auto minmax(0,1fr) auto;gap:10px;min-width:0;min-height:0;padding:12px;display:grid}.history-detail-meta{grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.history-detail-meta>div{gap:2px;min-width:0;display:grid}.history-detail-meta strong,.history-detail-meta span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.history-detail-meta strong{font-size:14px;font-weight:950}.history-detail-meta span{color:#e8f0ee9e;font-size:12px;font-weight:800}.history-detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.history-detail-actions button{color:#fff;background:linear-gradient(140deg,#96dc68,#428d37);border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 12px;font-size:13px;font-weight:950;display:inline-flex}.history-detail-actions button:first-child:not(:last-child){background:linear-gradient(140deg,#79b95f,#3d7c57)}.history-detail-actions button:disabled{cursor:wait;opacity:.7}.history-detail pre{color:#f8f8f2;white-space:pre;background:#272822;border:1px solid #ffffff14;border-radius:12px;min-height:0;margin:0;padding:12px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.45;overflow:auto}.history-empty,.history-error{color:#e8f0ee9e;margin:0;padding:10px;font-size:13px;font-weight:800}.history-error{color:#ffd7d0}.login-scene{background:linear-gradient(#070b0a33,#070b0a4d),url(/assets/art/backgrounds/ch1-mist-town/main-map-v1.webp) 50%/cover no-repeat;place-items:center;padding:18px;display:grid}.login-panel{--login-control-width:min(100%, 389px);width:min(570px,100vw - 32px);color:var(--ink);background:#fff8e2f0;border:4px solid #8f70419e;border-radius:28px;grid-template-columns:minmax(0,1fr);justify-items:center;gap:22px;padding:72px 38px 42px;display:grid;box-shadow:0 24px 56px #0000005c,inset 0 0 0 1px #ffffff6b}.login-form{width:var(--login-control-width);grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:22px;min-width:0;max-width:100%;display:grid}.login-form .login-logo{filter:drop-shadow(0 6px 7px #44341b57);width:128px;margin:0 0 8px 42px}.login-panel h1{color:#2d261b;font-size:44px;font-weight:500;line-height:1.08}.login-hint{color:#2d261bb8;margin:0;font-size:14px;font-weight:700;line-height:1.5}.login-panel input{height:62px;color:var(--ink);background:#ffffff9e;border:2px solid #82643738;border-radius:16px;padding:0 20px;box-shadow:inset 0 1px 1px #6048260f}.login-panel input:not([type=hidden]){justify-self:stretch;width:100%;min-width:0;max-width:none;height:62px;padding:0 20px;font-size:23px;font-weight:800}.login-form .game-start-button,.login-panel>.login-link{justify-self:stretch;width:100%;min-width:0;max-width:none}.login-panel .login-control{min-width:0!important;max-width:100%!important}.login-form>.login-control{justify-self:stretch!important;width:100%!important}.login-panel>.login-control{width:var(--login-control-width)!important;justify-self:center!important}.login-panel>.login-link{width:var(--login-control-width);justify-self:center;max-width:100%}.game-start-button,.login-link{min-height:46px;font-weight:900;font:inherit;border:0;border-radius:12px;place-items:center;text-decoration:none;display:grid}.game-start-button{color:#fff;background:linear-gradient(140deg,#f5ce65,#c88c35);box-shadow:0 10px 24px #4a2d0b3d}.login-form .game-start-button{border-radius:16px;min-height:64px;padding:0 20px;font-size:24px;font-weight:900}.game-start-button:disabled{cursor:not-allowed;opacity:.55}.login-link{color:#6a4c1d;background:#ffffff57;border-radius:16px;min-height:64px;font-size:22px;font-weight:800}.login-message,.login-error{border-radius:10px;margin:0;padding:10px 12px;font-size:13px;font-weight:800;line-height:1.45}.login-message{color:#26541f;background:#8ccf6947}.login-error{color:#75302c;background:#ea756438}.page-shell{height:100vh;min-height:100vh;color:var(--ink);background:linear-gradient(#fff8e2e0,#fff8e2eb),url(/assets/art/backgrounds/ch1-mist-town/main-map-v1.webp) 50%/cover no-repeat;padding:28px;position:relative;overflow:hidden auto}.profile-back-button{color:#5a3c16;background:#fffcede0;border:1px solid #82643742;border-radius:9px;align-items:center;gap:6px;min-height:32px;margin:0 0 10px;padding:6px 10px;font-size:13px;font-weight:900;display:inline-flex;box-shadow:0 10px 24px #422f1a1f}.profile-back-button:hover{background:#ffefc2f2}.settings-shell{padding-top:20px;padding-bottom:20px}.settings-layout{gap:12px;width:min(1080px,100%);margin:0 auto;display:grid}.settings-modal-backdrop{z-index:7600;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0a08068f;place-items:center;padding:clamp(14px,3vw,36px);display:grid;position:fixed;inset:0}.settings-modal-dialog{overscroll-behavior:contain;background:#fff8e2f5;border:1px solid #ffe6aa57;border-radius:18px;outline:none;width:min(636px,100vw - 28px);max-width:calc(100vw - 28px);height:min(540px,100vh - 28px);max-height:calc(100vh - 28px);display:flex;position:relative;overflow:hidden;box-shadow:0 30px 90px #0000006b,inset 0 0 0 1px #ffffff80}.settings-modal-body{width:100%;height:100%;min-height:0;padding:18px;overflow:hidden}.settings-modal-close{z-index:2;color:#5a3c16;background:#fffcede6;border:1px solid #8264373d;border-radius:9px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:12px;right:12px;box-shadow:0 10px 24px #422f1a24}.settings-modal-close:hover{color:#315b2e;background:#ebfadef5}.settings-layout-modal{grid-template-rows:auto auto minmax(0,1fr);gap:12px;width:100%;height:100%;min-height:0;margin:0}.settings-layout-modal .settings-hero,.settings-layout-modal .settings-tabs,.settings-layout-modal .settings-tab-content{width:100%}.settings-layout-modal .settings-hero{border-radius:12px;gap:10px;padding:12px 56px 12px 12px}.settings-layout-modal .settings-hero h1{font-size:22px}.settings-layout-modal .settings-hero p{font-size:12px}.settings-layout-modal .settings-avatar-preview{border-radius:12px;width:50px;height:50px;font-size:21px}.settings-layout-modal .settings-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.settings-layout-modal .settings-tabs a,.settings-layout-modal .settings-tabs button{border-radius:10px;padding:8px 9px}.settings-layout-modal .settings-tabs strong{font-size:13px}.settings-layout-modal .settings-tabs span{display:none}.settings-layout-modal .settings-tab-content{overscroll-behavior:contain;gap:10px;min-height:0;padding-right:4px;overflow-y:auto}.settings-layout-modal .settings-panel{border-radius:12px;gap:10px;padding:14px}.settings-layout-modal .settings-panel h2{font-size:17px}.settings-layout-modal .settings-session-card{min-width:0}.settings-layout-loading{pointer-events:none}.settings-skeleton-block,.settings-skeleton-line,.settings-skeleton-tab,.settings-skeleton-field,.settings-skeleton-button{background:linear-gradient(90deg,#8064361f,#ffffff94,#8064361f) 0 0/220% 100%;border-radius:999px;animation:1.15s ease-in-out infinite settings-skeleton-shimmer;display:block;overflow:hidden}.settings-skeleton-stack{gap:8px;width:min(360px,100%);display:grid}.settings-skeleton-stack-hero{gap:7px}.settings-skeleton-line{width:100%;height:12px}.settings-skeleton-line-short{width:92px}.settings-skeleton-line-title{width:180px;height:18px}.settings-skeleton-line-medium{width:64%}.settings-skeleton-tab{border-radius:10px;height:36px}.settings-skeleton-panel{min-height:260px}.settings-skeleton-field{border-radius:12px;height:42px}.settings-skeleton-button{border-radius:10px;width:128px;height:40px}@keyframes settings-skeleton-shimmer{0%{background-position:120% 0}to{background-position:-120% 0}}.settings-layout-modal.settings-layout-tab-security .settings-tab-content{align-content:start}.settings-layout-modal .settings-tab-content-security{width:100%}.settings-hero{background:#fffcedeb;border:1px solid #82643738;border-radius:12px;align-items:center;gap:12px;padding:12px;display:flex;box-shadow:0 12px 28px #422f1a1f}.settings-hero h1{color:#3e2d18;font-size:26px}.settings-hero p{color:#7a6138;flex-wrap:wrap;align-items:center;gap:8px;margin-top:2px;font-size:12px;display:flex}.settings-avatar-preview{color:#fff8dc;background:linear-gradient(140deg,#5d8e56,#b8872d);border:2px solid #82643747;border-radius:13px;place-items:center;width:54px;height:54px;font-size:22px;font-weight:900;display:grid;overflow:hidden;box-shadow:inset 0 0 0 2px #fff8e257}.settings-avatar-preview img{object-fit:cover;width:100%;height:100%}.settings-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.settings-tabs a,.settings-tabs button{appearance:none;color:#6a4c1d;width:100%;min-width:0;font:inherit;text-align:left;cursor:pointer;background:#fffcedad;border:1px solid #8264372e;border-radius:10px;gap:3px;padding:8px 10px;text-decoration:none;display:grid;box-shadow:0 6px 16px #422f1a12}.settings-tabs a:hover,.settings-tabs a.active,.settings-tabs button:hover,.settings-tabs button.active{color:#315b2e;background:#ebfadee6;border-color:#5d8e5675}.settings-tabs strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.settings-tabs span{color:#8a7044;-webkit-line-clamp:1;-webkit-box-orient:vertical;font-size:11px;line-height:1.25;display:-webkit-box;overflow:hidden}.settings-tab-frame{gap:10px;width:100%;display:grid}.settings-tab-panel{display:none}.settings-tab-frame[data-active-tab=profile] .settings-tab-panel[data-settings-tab-panel=profile],.settings-tab-frame[data-active-tab=language] .settings-tab-panel[data-settings-tab-panel=language],.settings-tab-frame[data-active-tab=phone] .settings-tab-panel[data-settings-tab-panel=phone],.settings-tab-frame[data-active-tab=parentBinding] .settings-tab-panel[data-settings-tab-panel=parentBinding],.settings-tab-frame[data-active-tab=security] .settings-tab-panel[data-settings-tab-panel=security]{display:block}.settings-tab-content{gap:10px;width:min(720px,100%);display:grid}.settings-tab-content-security{width:min(920px,100%)}.settings-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}.settings-security-grid{grid-template-columns:minmax(0,1fr) minmax(240px,.72fr);align-items:start;gap:10px;display:grid}.settings-referral-binding-grid{grid-template-columns:minmax(220px,.92fr) minmax(240px,1.08fr);align-items:start;gap:10px;min-width:0;display:grid}.settings-referral-binding-grid>.settings-wechat-card{grid-area:1/1/span 2}.settings-referral-reward-card{grid-area:1/2}.settings-referral-recent-card{grid-area:2/2;min-height:0}.settings-referral-reward-summary{font-weight:900}.settings-panel{background:#fffcedf0;border:1px solid #82643738;border-radius:12px;align-content:start;gap:10px;min-width:0;padding:14px;display:grid;box-shadow:0 12px 30px #422f1a1a}.settings-panel h2{color:#3e2d18;font-size:18px}.settings-panel h2 .settings-verified-badge{vertical-align:middle;margin-left:8px}.settings-panel p{color:#7a6138;margin-top:3px;font-size:12px;line-height:1.35}.settings-panel label{color:#5a3c16;gap:4px;font-size:12px;display:grid}.settings-panel label span{color:#6a4c1d}.settings-panel label small{color:#8a7044;font-size:11px;line-height:1.3}.settings-profile-fields{grid-template-columns:minmax(0,1fr) minmax(220px,.78fr);align-items:start;gap:10px;display:grid}.settings-panel input,.settings-panel select{min-height:36px;color:var(--ink);font:inherit;background:#ffffff9e;border:1px solid #8264373d;border-radius:8px;padding:0 10px;font-size:13px}.settings-character-variant-field{border:0;gap:6px;min-width:0;margin:0;padding:0;display:grid}.settings-character-variant-field legend{color:#6a4c1d;margin-bottom:4px;font-size:12px;font-weight:700}.settings-character-variant-field small{color:#8a7044;font-size:11px;line-height:1.3}.settings-character-variant-options{background:#ffffff75;border:1px solid #8264373d;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-height:36px;padding:4px;display:grid}.settings-character-variant-options label{cursor:pointer;place-items:center;min-height:26px;display:grid;position:relative}.settings-character-variant-options input{opacity:0;width:1px;height:1px;min-height:0;position:absolute}.settings-character-variant-options span{color:#7a6138;border-radius:6px;place-items:center;width:100%;min-height:28px;font-size:12px;font-weight:900;line-height:1.1;transition:background .16s,color .16s,box-shadow .16s;display:grid}.settings-character-variant-options input:checked+span{color:#315b2e;background:#ebfadef0;box-shadow:inset 0 0 0 1px #5d8e565c}.settings-character-variant-options input:focus-visible+span{outline-offset:2px;outline:2px solid #5d8e565c}.settings-panel input[type=file]{cursor:pointer;align-items:center;padding:6px 10px;display:grid}.settings-file-field{background:#ffffff5c;border:1px dashed #8264374d;border-radius:10px;padding:8px}.settings-inline-form{gap:8px;display:grid}.settings-panel .game-start-button{border-radius:9px;min-height:36px;padding:0 14px;font-size:13px}.settings-dev-code,.settings-verified-badge{border-radius:999px;align-items:center;width:fit-content;font-weight:900;display:inline-flex}.settings-dev-code{color:#315b2e;background:#5d8e5629;padding:6px 9px;font-size:12px}.settings-unavailable-note{color:#6a4c1d;background:#fff6dbd1;border:1px solid #82643733;border-radius:999px;width:fit-content;padding:6px 10px;font-weight:900;display:inline-flex}.settings-verified-badge{color:#26541f;background:#8ccf6947;min-height:20px;padding:0 7px;font-size:11px}.settings-message,.settings-error{border-radius:9px;padding:8px 10px;font-size:12px;line-height:1.35}.settings-message{color:#26541f;background:#8ccf6947}.settings-error{color:#75302c;background:#ea756438}.settings-session-panel{grid-template-columns:minmax(0,1fr);align-items:center}.settings-session-panel form{justify-self:start}.settings-session-card{color:#315b2e;background:#5d8e5629;border-radius:10px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:6px;min-width:min(380px,100%);padding:8px 10px;font-size:12px;display:grid}.settings-session-card strong{color:#3e2d18;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.settings-copy-card,.settings-invite-card,.settings-wechat-card{background:#ffffff75;border:1px solid #8264372e;border-radius:10px;gap:6px;padding:10px;display:grid}.settings-copy-card span,.settings-invite-card span,.settings-wechat-card span{color:#6a4c1d;font-size:12px;font-weight:800}.settings-copy-card input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.settings-referral-link-field{gap:5px;display:grid}.settings-referral-link-control{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;display:grid}.settings-referral-link-field input{color:#3e2d18;width:100%;min-width:0;font:inherit;background:#ffffff94;border:1px solid #82643733;border-radius:8px;padding:8px 9px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.settings-referral-copy-button{color:#315b2e;min-height:34px;font:inherit;white-space:nowrap;cursor:pointer;background:#ebfadedb;border:1px solid #5d8e5647;border-radius:8px;padding:0 10px;font-size:12px;font-weight:900}.settings-referral-copy-button:hover,.settings-referral-copy-button:focus-visible{background:#daf6c4f5}.settings-referral-copy-button.failed{color:#75302c;background:#fae4dce6;border-color:#b0463c47}.settings-copy-card small,.settings-invite-card small,.settings-wechat-card small{color:#8a7044;font-size:11px}.settings-invite-card>div,.settings-wechat-copy{justify-content:space-between;align-items:center;gap:10px;display:flex}.settings-invite-card strong,.settings-wechat-card strong{color:#315b2e;font-size:13px}.settings-invite-card p,.settings-wechat-card p{overflow-wrap:anywhere;margin:0}.settings-invite-card b{color:#3e2d18;letter-spacing:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.settings-referral-list{overscroll-behavior:contain;scrollbar-color:#82643757 #82643714;scrollbar-width:thin;gap:6px;max-height:220px;margin:0;padding:0 4px 0 0;list-style:none;display:grid;overflow-y:auto}.settings-referral-list::-webkit-scrollbar{width:6px}.settings-referral-list::-webkit-scrollbar-track{background:#82643714;border-radius:999px}.settings-referral-list::-webkit-scrollbar-thumb{background:#82643757;border-radius:999px}.settings-referral-list li{border-top:1px solid #8264371f;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding-top:6px;display:grid}.settings-referral-list li:first-child{border-top:0;padding-top:0}.settings-referral-list li>span{gap:2px;min-width:0;display:grid}.settings-referral-list strong{white-space:nowrap}.settings-wechat-qr{justify-items:start;gap:6px;display:grid}.settings-wechat-qr img{aspect-ratio:1;background:#fff;border:1px solid #8264372e;border-radius:8px;width:min(180px,100%)}.settings-layout-modal .settings-wechat-qr{gap:4px}.settings-layout-modal .settings-wechat-qr img{width:min(144px,100%)}@media (max-width:720px){.settings-referral-binding-grid{grid-template-columns:1fr}.settings-referral-binding-grid>.settings-wechat-card{order:2;grid-area:auto/1}.settings-referral-reward-card{order:1;grid-area:auto/1}.settings-referral-recent-card{order:3;grid-area:auto/1}}.settings-inline-link{color:#315b2e;width:fit-content;font-size:12px;font-weight:800}.settings-logout-button{color:#75302c;min-height:36px;font:inherit;background:#ea756429;border:1px solid #82643733;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:900;display:inline-flex}.section-title,.profile-metrics,.profile-menu-list,.progress-list{width:min(1180px,100%);margin:0 auto}.section-title{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.section-title h1{font-size:34px}.profile-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.profile-learning-task{background:linear-gradient(135deg,#fffcedf5,#ebe0c1d1);border:1px solid #82643738;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;width:min(1180px,100%);margin:-4px auto 14px;padding:14px 16px;display:flex;box-shadow:0 14px 32px #422f1a1f}.profile-learning-task div{gap:4px;min-width:0;display:grid}.profile-learning-task span{color:#8a5a1f;font-size:12px;font-weight:900}.profile-learning-task h2{color:#3e2d18;margin:0;font-size:20px;line-height:1.25}.profile-learning-task p{color:#574023c7;margin:0;font-size:13px;font-weight:750;line-height:1.45}.profile-learning-task a,.profile-learning-task>strong{color:#fff8dc;background:#8a5a1f;border:1px solid #82643738;border-radius:999px;flex:none;padding:9px 14px;font-size:13px;font-weight:900;text-decoration:none}.profile-learning-task>strong{color:#276749;background:#c6f6d5ad}.profile-metric{background:#fffcedeb;border:1px solid #82643738;border-radius:12px;grid-template-rows:auto auto auto;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:3px 10px;min-height:102px;padding:13px;display:grid;position:relative;overflow:visible;box-shadow:0 14px 32px #422f1a24}.profile-metric img{grid-row:1/span 3;width:34px;height:34px}.profile-metric-featured-icon{isolation:isolate}.profile-metric-icon-anchor{z-index:0;grid-row:1/span 3;width:34px;height:34px;position:relative}.profile-metric-icon-anchor .profile-metric-icon{opacity:0;display:block}.profile-metric img.profile-metric-floating-icon{z-index:0;object-fit:contain;pointer-events:none;filter:drop-shadow(0 18px 24px #4b311433);width:120px;max-width:none;height:120px;position:absolute;top:50%;left:calc(50% - 20px);transform:translate(-50%,-50%)}.profile-metric-featured-icon span,.profile-metric-featured-icon strong,.profile-metric-featured-icon em{z-index:1;position:relative}.profile-metric span{color:#7a6138;font-size:12px;font-weight:900}.profile-metric strong{color:#3e2d18;overflow-wrap:anywhere;min-width:0;font-size:20px;line-height:1.08}.profile-metric-title strong{white-space:nowrap;overflow-wrap:normal;font-size:18px}.profile-metric em{color:#574023bd;overflow-wrap:anywhere;min-width:0;font-size:11px;font-style:normal;font-weight:800;line-height:1.2}.profile-metric-garlic{z-index:2}.profile-metric-garlic:has(.profile-metric-wechat-hint){z-index:6}.profile-metric-wechat-hint{z-index:5;box-sizing:border-box;color:#7a4c13;overflow-wrap:anywhere;pointer-events:none;background:linear-gradient(135deg,#fffdeefa,#fff1c4f5);border:1px solid #a66f1f47;border-radius:12px;width:min(250px,100vw - 32px);min-width:180px;margin:0;padding:9px 11px;font-size:11px;font-weight:850;line-height:1.35;animation:.18s ease-out both profileGarlicBubbleIn;position:absolute;bottom:calc(100% - 34px);right:8px;box-shadow:0 14px 28px #422f1a2e}.profile-metric-wechat-hint:after{content:"";background:#fff7d4fa;border-bottom:1px solid #a66f1f47;border-right:1px solid #a66f1f47;width:10px;height:10px;position:absolute;bottom:-6px;right:18px;transform:rotate(45deg)}@keyframes profileGarlicBubbleIn{0%{opacity:0;transform:translateY(4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.profile-menu-list{gap:10px;margin-bottom:16px;display:grid}.profile-menu{background:#fffcedf0;border:1px solid #82643738;border-radius:12px;overflow:hidden;box-shadow:0 14px 32px #422f1a1f}.profile-menu:has(.profile-legion-items){overflow:visible}.profile-menu>button{color:#3e2d18;width:100%;min-height:66px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:42px 1fr 24px;align-items:center;gap:12px;padding:12px 16px;display:grid}.profile-menu>button img{width:42px;height:42px}.profile-menu>button span{gap:3px;min-width:0;display:grid}.profile-menu>button strong{font-size:17px;line-height:1.2}.profile-menu>button em{color:#7a6138;font-size:13px;font-style:normal;font-weight:850}.profile-menu>button svg{color:#7a6138;transition:transform .16s}.profile-menu.open>button svg{transform:rotate(180deg)}.profile-menu-panel{border-top:1px solid #8264372e;padding:0 14px 14px}.profile-menu-items{gap:8px;max-height:320px;padding-top:12px;display:grid;overflow:auto}.profile-legion-items{gap:12px;max-height:min(70vh,720px);padding-top:20px;overflow:visible}.profile-legion-showcase{grid-template-columns:minmax(220px,280px) minmax(0,1fr);align-items:end;gap:10px;display:grid}.profile-legion-sidebar{grid-template-rows:auto minmax(0,1fr);align-self:stretch;gap:8px;min-height:0;display:grid}.profile-legion-overview{grid-template-columns:repeat(2,minmax(0,1fr));align-content:stretch;gap:8px;display:grid}.profile-legion-overview div{background:linear-gradient(135deg,#fff8dcc7,#cfe3d67a),#82643712;border:1px solid #8264372e;border-radius:8px;gap:4px;min-height:84px;padding:12px;display:grid}.profile-legion-overview span,.profile-legion-section-title span{color:#7a6138;font-size:12px;font-weight:800;line-height:1.35}.profile-legion-overview strong{color:#3e2d18;overflow-wrap:anywhere;min-width:0;font-size:22px;line-height:1.05}.profile-legion-overview em{color:#574023bd;font-size:11px;font-style:normal;font-weight:800;line-height:1.25}.profile-legion-records{overscroll-behavior:contain;align-content:start;gap:8px;min-height:0;max-height:380px;padding-right:2px;display:grid;overflow-y:auto}.profile-legion-section-title{justify-content:space-between;align-items:flex-end;gap:12px;padding:0 4px;display:flex}.profile-legion-section-title strong{color:#3e2d18;font-size:14px;font-weight:950}.profile-legion-section-title span{text-align:right}.profile-legion-stage-wrap{align-self:stretch;gap:8px;min-width:0;display:grid}.profile-legion-stage-intro{color:#6a4c1d;margin:0;padding:0 4px;font-size:13px;font-weight:900;line-height:1.4}.profile-legion-stage{background:radial-gradient(circle at 50% 8%,#618f7638,#0000 48%),linear-gradient(#fffcede6,#ded2b08f);border:1px solid #8264372e;border-radius:8px;grid-template-rows:auto 1fr auto auto;gap:8px;min-width:0;min-height:360px;display:grid;position:relative;overflow:visible}.profile-legion-stage-head{z-index:2;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:12px 14px 0;display:flex;position:relative}.profile-legion-stage-head div{gap:3px;min-width:0;display:grid}.profile-legion-stage-head span,.profile-legion-stage-copy span{color:#7a6138;font-size:12px;font-weight:850;line-height:1.3}.profile-legion-stage-head strong{color:#4a2f12;letter-spacing:0;overflow-wrap:anywhere;-webkit-text-stroke:.5px #492a0bb8;text-shadow:0 1px #fff7d3db,0 0 1px #3e260b9e,0 2px 5px #57340c33;background:linear-gradient(#fff4c4fa,#c69138d1),radial-gradient(circle at 50% 0,#ffffffb8,#0000 54%);border:1px solid #6a4c1d57;border-radius:14px;width:fit-content;min-width:0;max-width:100%;padding:6px 18px 8px;font-family:Kaiti SC,STKaiti,KaiTi,Songti SC,serif;font-size:33px;font-weight:900;line-height:1.12;display:inline-block;box-shadow:0 8px 16px #4d32122e,inset 0 1px #ffffffb8,inset 0 -1px #58371033}.profile-legion-stage-head em{color:#6a4c1d;flex:none;font-size:13px;font-style:normal;font-weight:950}.profile-legion-stage-art{touch-action:pan-y;justify-content:center;align-items:flex-end;min-width:0;min-height:212px;padding:6px 58px 0;display:flex;position:relative;overflow:visible}.profile-legion-carousel{z-index:1;pointer-events:none;position:absolute;inset:-120px 42px -2px;overflow:visible}.profile-legion-troop-card{opacity:1;transform-origin:50% 100%;place-items:end center;width:calc(100% - 12px);height:clamp(330px,36vw,430px);margin:0;transition:filter .22s,left .22s,opacity .22s,transform .22s;display:grid;position:absolute;bottom:0;left:50%;transform:translate(-50%)scale(1)}.profile-legion-troop-card img{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 14px 20px #3c281033);width:100%;height:100%;display:block}.profile-legion-troop-card.previous,.profile-legion-troop-card.next{z-index:1;opacity:.15;transform:translate(-50%)scale(.25)}.profile-legion-troop-card.previous{left:calc(22% - 100px)}.profile-legion-troop-card.active{z-index:2;left:50%}.profile-legion-troop-card.next{left:calc(78% + 100px)}.profile-legion-speech-bubble{z-index:4;color:#3e2d18;pointer-events:none;background:linear-gradient(#fffcedf0,#f5e7bee6),radial-gradient(circle at 16% 18%,#ffffff9e,#0000 44%);border:1px solid #6a4c1d2e;border-radius:14px;gap:4px;width:min(270px,100% - 86px);padding:9px 12px 10px;display:grid;position:absolute;top:-4px;right:calc(clamp(18px,8%,62px) - 80px);box-shadow:0 12px 24px #3c281029,inset 0 1px #ffffffad}.profile-legion-speech-bubble:after{content:"";background:#f5e7beeb;border-bottom:1px solid #6a4c1d29;border-left:1px solid #6a4c1d29;border-right:1px solid #6a4c1d29;width:16px;height:16px;position:absolute;bottom:-8px;left:34px;transform:rotate(45deg)}.profile-legion-speech-bubble strong{z-index:1;color:#6a4c1d;font-size:13px;font-weight:950;line-height:1.2;position:relative}.profile-legion-speech-bubble span{z-index:1;color:#3e2d18db;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;font-weight:780;line-height:1.35;display:-webkit-box;position:relative;overflow:hidden}.profile-legion-troop-card.previous img,.profile-legion-troop-card.next img{filter:saturate(.88)contrast(.96)drop-shadow(0 10px 16px #3c281029)}.profile-legion-troop-card.empty>span{color:#fff8dc;background:#6a4c1db8;border-radius:999px;justify-content:center;align-items:center;width:86px;height:86px;font-size:36px;font-weight:950;display:inline-flex}.profile-legion-switch{appearance:none;z-index:3;color:#6a4c1d;cursor:pointer;background:#fffcedd6;border:1px solid #6a4c1d2e;border-radius:999px;place-items:center;width:38px;height:38px;transition:background .18s,transform .18s;display:grid;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 8px 18px #3c281024}.profile-legion-switch:hover,.profile-legion-switch:focus-visible{background:#fff8dcf5;transform:translateY(-50%)scale(1.04)}.profile-legion-switch:focus-visible{outline-offset:2px;outline:2px solid #6a4c1d47}.profile-legion-switch.previous{left:14px}.profile-legion-switch.next{right:14px}.profile-legion-stage-copy{z-index:2;text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 10px;min-width:0;padding:0 14px 4px;display:flex;position:relative}.profile-legion-stage-copy strong,.profile-legion-stage-copy em{color:#574023cc;font-size:12px;font-style:normal;font-weight:850;line-height:1.25}.profile-legion-dots{z-index:2;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding:0 14px 12px;display:flex;position:relative}.profile-legion-dots button{appearance:none;cursor:pointer;background:#6a4c1d42;border:0;border-radius:999px;width:8px;height:8px;padding:0}.profile-legion-dots button.active{background:#6a4c1db8;width:22px}.profile-legion-dots button:focus-visible{outline-offset:3px;outline:2px solid #6a4c1d47}.profile-legion-records{border-top:1px solid #82643724;max-height:380px;padding-top:10px;padding-right:2px;overflow:auto}.profile-legion-record-row{grid-template-columns:1fr}.profile-title-character-row.profile-legion-record-row{grid-template-columns:58px minmax(0,1fr)}.profile-legion-records .profile-reward-row strong{letter-spacing:0;font-family:Kaiti SC,STKaiti,KaiTi,Songti SC,serif;font-weight:700}.profile-legion-record-meta{color:#7a6138;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0;font-size:12px;font-weight:750;line-height:1.35;display:flex}.profile-reward-row .profile-legion-record-meta span,.profile-reward-row .profile-legion-record-meta em{color:inherit;font:inherit;white-space:nowrap}.profile-reward-row .profile-legion-record-meta em{font-style:normal;font-weight:900}.profile-inventory-group{gap:8px;display:grid}.profile-inventory-group+.profile-inventory-group{margin-top:8px}.profile-inventory-group-title{align-items:center;gap:8px;min-width:0;padding:2px 4px;display:flex}.profile-inventory-group-title img{object-fit:contain;width:20px;height:20px}.profile-inventory-group-title strong{color:#3e2d18;font-size:13px;font-weight:950}.profile-inventory-group-title em{color:#7a6138;white-space:nowrap;margin-left:auto;font-size:12px;font-style:normal;font-weight:850}.profile-inventory-row,.profile-reward-row{background:#82643714;border-radius:8px;grid-template-columns:1fr auto;align-items:center;gap:12px;min-height:54px;padding:10px 12px;display:grid}.profile-reward-row-link{color:inherit;cursor:pointer;text-decoration:none;transition:background .18s,transform .18s}.profile-reward-row-link:hover,.profile-reward-row-link:focus-visible{background:#82643724;transform:translateY(-1px)}.profile-reward-row-link:focus-visible{outline-offset:2px;outline:2px solid #6a4c1d59}.profile-reward-history-row{align-items:start}.profile-reward-row-main{gap:4px;min-width:0;display:grid}.profile-reward-reason{color:#5f4a25}.profile-reward-error{color:#8c2f2f;background:#9a2a2a14;border-radius:8px;margin:0;padding:10px 12px;font-size:12px;font-weight:850}.profile-reward-load-more{color:#6a4c1d;width:100%;min-height:42px;font:inherit;cursor:pointer;background:#fff9ebad;border:1px solid #6a4c1d2e;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:950;transition:background .18s,transform .18s;display:inline-flex}.profile-reward-load-more:hover:not(:disabled),.profile-reward-load-more:focus-visible:not(:disabled){background:#fff4d8eb;transform:translateY(-1px)}.profile-reward-load-more:disabled{cursor:wait;opacity:.68}.profile-inventory-row:has(>img){grid-template-columns:34px 1fr auto}.profile-title-character-row{grid-template-columns:58px 1fr auto;min-height:76px}.profile-inventory-row>img{object-fit:contain;width:34px;height:34px}.profile-title-character-image{object-fit:cover;border-radius:8px;width:58px;height:58px;box-shadow:0 8px 18px #3c281029}.profile-inventory-row div,.profile-reward-row div{gap:3px;min-width:0;display:grid}.profile-inventory-row strong,.profile-reward-row strong{color:#3e2d18;font-size:15px}.profile-inventory-row span,.profile-reward-row span{color:#7a6138;font-size:12px;font-weight:750;line-height:1.35}.profile-reward-row-cta{color:#6a4c1d;font-weight:950}.profile-inventory-row em,.profile-reward-row em{color:#6a4c1d;white-space:nowrap;justify-self:end;font-size:13px;font-style:normal;font-weight:900}.profile-empty{color:#7a6138;margin:0;padding:14px 12px;font-weight:850}.progress-summary,.progress-row{background:var(--paper);border:1px solid #82643738;border-radius:14px;box-shadow:0 16px 38px #00000029}.progress-summary{padding:16px}.progress-summary.compact{width:220px}.summary-head{color:#6a4c1d;justify-content:space-between;font-size:24px;font-weight:900;display:flex}.progress-track{background:#8264372e;border-radius:999px;height:10px;margin-top:12px;overflow:hidden}.progress-track span{background:linear-gradient(90deg,#79c96f,#f0b64b);height:100%;display:block}.progress-summary p{color:var(--muted);margin-top:12px}.progress-list{gap:12px;display:grid}.progress-list-head{justify-content:space-between;align-items:center;gap:12px;padding:2px 2px 0;display:flex}.progress-list-head div{align-items:baseline;gap:10px;display:flex}.progress-list-head h2{color:#3e2d18;font-size:20px}.progress-list-head span,.progress-list-head em{color:#7a6138;font-weight:900}.progress-list-head em{font-style:normal}.progress-scroll-list{gap:8px;padding-bottom:2px;display:grid;overflow:visible}.progress-row{border-radius:10px;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:10px 12px;display:grid}.profile-submission-row{grid-template-columns:34px minmax(0,1fr) auto auto auto}.profile-submission-cases{color:#6a4c1d;text-align:right;white-space:nowrap;min-width:92px;font-size:12px;font-weight:900}.profile-submission-actions{justify-content:flex-end;align-items:center;gap:12px;min-width:132px;display:inline-flex}.progress-row-main{min-width:0}.progress-row h2{overflow-wrap:anywhere;font-size:16px}.progress-row p{color:var(--muted);overflow-wrap:anywhere;margin-top:2px;font-size:13px}.status-dot{color:#fff8dc;background:#7b735f;border-radius:999px;place-items:center;width:28px;height:28px;display:grid}.status-dot.done{background:#5d8e56}.progress-state{color:#6a4c1d;text-align:center;background:#8264371f;border-radius:999px;min-width:64px;padding:6px 10px;font-size:13px;font-weight:900}.progress-state.passed{color:#315b2e;background:#5d8e562e}.progress-pager{grid-template-columns:110px 1fr 110px;align-items:center;gap:10px;display:grid}.progress-pager button{color:#6a4c1d;min-height:38px;font:inherit;cursor:pointer;background:#fffcede6;border:1px solid #82643738;border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:13px;font-weight:900;display:inline-flex}.progress-pager button:disabled{cursor:not-allowed;opacity:.45}.progress-pager span{color:#7a6138;text-align:center;font-size:13px;font-weight:900}.icon-link{color:#6a4c1d;align-items:center;gap:6px;font-weight:900;display:inline-flex}.submission-detail-page{gap:14px;width:min(1180px,100%);margin:0 auto;display:grid}.submission-detail-topline,.submission-detail-actions,.submission-panel-head,.submission-status-row,.submission-case-head,.submission-case-row{align-items:center;display:flex}.submission-detail-topline{justify-content:space-between;gap:12px}.submission-detail-actions{gap:14px}.submission-detail-header,.submission-code-panel,.submission-status-panel{background:#fffcedf0;border:1px solid #82643738;border-radius:14px;box-shadow:0 16px 38px #422f1a24}.submission-detail-header{justify-content:space-between;align-items:center;gap:18px;padding:18px;display:flex}.submission-detail-header h1{color:#3e2d18;font-size:26px;line-height:1.2}.submission-detail-header p{color:#7a6138;margin-top:6px;font-size:13px;font-weight:850}.submission-detail-status{justify-items:end;gap:8px;min-width:150px;display:grid}.submission-detail-status strong{color:#3e2d18;font-size:18px}.submission-detail-grid{grid-template-columns:minmax(0,1.16fr) minmax(340px,.84fr);align-items:start;gap:14px;display:grid}.submission-code-panel,.submission-status-panel{min-width:0;overflow:hidden}.submission-panel-head{border-bottom:1px solid #82643729;justify-content:space-between;gap:12px;min-height:52px;padding:13px 16px}.submission-panel-head h2{color:#3e2d18;font-size:17px}.submission-panel-head span{color:#7a6138;font-size:12px;font-weight:900}.submission-code-panel pre,.submission-error-detail{color:#e8f0ee;white-space:pre;background:#111816;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.55;overflow:auto}.submission-code-panel pre{max-height:min(68vh,720px);padding:16px}.submission-status-summary{gap:8px;padding:14px 16px;display:grid}.submission-status-row{background:#82643714;border-radius:8px;justify-content:space-between;gap:12px;min-height:34px;padding:7px 10px}.submission-status-row span{color:#7a6138;font-size:12px;font-weight:900}.submission-status-row strong{color:#3e2d18;text-align:right;font-size:13px}.submission-message{color:#315b2e;background:#5d8e5624;border-radius:10px;margin:0 16px 14px;padding:12px;font-size:13px;font-weight:850;line-height:1.45}.submission-error-detail{color:#ffe8e3;background:#311815;border-radius:10px;max-height:220px;margin:0 16px 14px;padding:12px}.submission-case-list{gap:6px;padding:0 16px 16px;display:grid}.submission-case-head,.submission-case-row{grid-template-columns:38px minmax(0,1fr) 78px 80px;align-items:center;gap:8px;display:grid}.submission-case-head{color:#7a6138;font-size:11px;font-weight:950}.submission-case-row{color:#4d3a20;background:#82643714;border-radius:8px;min-height:34px;padding:6px 8px;font-size:12px;font-weight:850}.empty-state{background:#101b18;place-items:center;gap:16px;min-height:100vh;display:grid}.empty-state h1{color:#fff8dc}.session-user-badge{color:#fff8dc;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto;cursor:pointer;background:#221910a3;border:1px solid #ffe6aa3d;border-radius:999px;align-items:center;gap:5px;min-width:0;max-width:min(220px,100vw - 28px);height:24px;padding:0 8px 0 3px;display:inline-flex;box-shadow:0 8px 22px #0000003d}.session-user-avatar{color:#3e2d18;background:#fff1b8;border-radius:999px;flex:none;place-items:center;width:18px;height:18px;font-size:10px;font-weight:900;display:grid;overflow:hidden}.session-user-avatar img{object-fit:cover;width:100%;height:100%}.session-user-badge strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:900;line-height:1;overflow:hidden}.session-user-verified{color:#1f4b23;background:#9ee47a;border-radius:999px;flex:none;place-items:center;width:14px;height:14px;font-size:10px;font-weight:900;display:grid}:is(body:has(.village-scene) .session-user-badge,body:has(.programming-scene) .session-user-badge){display:none}body:has(.exam-page) .session-user-badge{z-index:90;max-width:clamp(104px,10vw,132px);top:8px;right:10px}body:has(.ranked-exam-page) .user-account-menu-floating{top:calc(env(safe-area-inset-top,0px) + 8px);right:calc(env(safe-area-inset-right,0px) + 10px);z-index:160}body:has(.ranked-exam-page) .session-user-badge{background:#0e0a07c2;border-color:#f6d68d47;width:clamp(118px,11vw,152px);max-width:clamp(118px,11vw,152px);height:30px;box-shadow:0 12px 26px #00000057,inset 0 1px #fff6d21f}body:has(.ranked-exam-page) .exam-topbar{width:calc(100% - clamp(138px,12.5vw,174px))}body:has(.admin-shell) .session-user-badge{top:8px;bottom:auto;right:10px}@media (max-width:700px){.global-sound-toggle-floating{width:42px;min-width:42px;height:42px;padding:0}.user-account-menu-floating{right:64px}}.button.primary{color:#fff;background:linear-gradient(140deg,#f5ce65,#c88c35);border-radius:12px;place-items:center;min-height:44px;padding:0 18px;font-weight:900;display:grid}.admin-shell{color:#edf3eb;background:radial-gradient(circle at 0 0,#f3d17a14,#0000 34%),linear-gradient(145deg,#07100f 0%,#101817 45%,#0b1212 100%);grid-template-columns:248px minmax(0,1fr);height:100vh;min-height:100vh;display:grid;overflow:hidden}.admin-sidebar{background:#000;border-right:1px solid #decda024;flex-direction:column;gap:18px;height:100vh;min-height:0;padding:18px 14px;display:flex;position:sticky;top:0}.admin-brand{color:#f3d17a;letter-spacing:.04em;text-transform:uppercase;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;gap:2px;padding:12px;font-size:11px;font-weight:950;display:grid}.admin-brand strong{color:#fff;letter-spacing:0;text-transform:none;font-size:18px;line-height:1.15}.admin-brand span{color:#f8fafc94}.admin-nav,.admin-sidebar nav{align-content:start;gap:6px;min-height:0;padding-right:2px;display:grid;overflow-y:auto}.admin-sidebar nav a,.admin-secondary-link{color:#f5f0db;background:#ffffff0d;border:1px solid #decda01f;border-radius:8px;font-weight:850}.admin-sidebar nav a{color:#f8fafcc2;background:0 0;border:0;border-radius:8px;gap:3px;min-height:auto;padding:10px 12px;display:grid}.admin-sidebar nav a:hover{background:#ffffff14}.admin-secondary-link:hover,.admin-small-button:hover,.admin-button:hover{background:#f3d17a1f;border-color:#f3d17a6b}.admin-sidebar nav a strong{font-size:14px;font-weight:850}.admin-sidebar nav a span{color:#f8fafc7a;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:760;overflow:hidden}.admin-secondary-link{align-items:center;min-height:34px;padding:8px 10px;display:inline-flex}.admin-user{border-top:1px solid #ffffff1f;gap:8px;margin-top:auto;padding-top:14px;display:grid}.admin-user span,.admin-eyebrow,.admin-count,.admin-table small,.admin-list-row small{color:#edf3eb9e;text-transform:uppercase;font-size:12px;font-weight:850}.admin-user strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.admin-logout{color:#f8fafce6;width:100%;font:inherit;background:#ffffff14;border:1px solid #ffffff1f;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:850}.admin-main{grid-template-rows:auto minmax(0,1fr);min-width:0;height:100vh;display:grid;overflow:hidden}.admin-topbar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#07100fb8;border-bottom:1px solid #decda01f;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:10px 24px;display:flex}.admin-topbar strong{color:#fff8dc;font-size:15px;display:block}.admin-topbar-actions,.admin-page-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:inline-flex}.admin-content{scrollbar-gutter:stable;min-width:0;min-height:0;padding:24px;overflow:hidden auto}.admin-stack{gap:18px;max-width:1440px;display:grid}.admin-page-head,.admin-panel-head,.admin-list-row,.admin-table-row{justify-content:space-between;align-items:center;gap:14px;display:flex}.admin-page-head h1{color:#fff8dc;margin-top:4px;font-size:30px;line-height:1.1}.admin-page-head-modern{align-items:flex-start;padding-bottom:2px}.admin-page-description{color:#edf3eba8;max-width:760px;margin:8px 0 0;font-size:14px;line-height:1.5}.admin-metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.admin-metrics-wide{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.admin-overview-server-metrics{grid-template-columns:repeat(7,minmax(0,1fr))}.admin-grid-3{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.admin-grid-2,.admin-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.admin-metric,.admin-fact,.admin-panel,.admin-table{background:linear-gradient(#ffffff10,#ffffff0a),#ffffff09;border:1px solid #decda024;border-radius:8px;box-shadow:0 14px 34px #00000038}.admin-metric,.admin-fact{gap:8px;padding:16px;display:grid}.admin-metric span,.admin-fact span{color:#edf3eba3;font-size:13px;font-weight:850}.admin-metric strong,.admin-fact strong{color:#f3d17a;font-size:28px;line-height:1}.admin-metric small{color:#edf3eb94;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-weight:800;overflow:hidden}.admin-panel{gap:14px;padding:18px;display:grid}.admin-panel h2{color:#fff8dc;font-size:18px}.admin-panel-head a,.admin-title-link{color:#f3d17a;font-weight:900}.admin-overview-foldout-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.admin-overview-foldout{background:linear-gradient(#ffffff10,#ffffff0a),#ffffff09;border:1px solid #decda024;border-radius:8px;overflow:hidden;box-shadow:0 14px 34px #00000038}.admin-overview-foldout-wide{grid-column:1/-1}.admin-overview-foldout>summary{color:#fff8dc;cursor:pointer;justify-content:space-between;align-items:center;gap:14px;min-height:66px;padding:16px 18px;list-style:none;display:flex}.admin-overview-foldout>summary::-webkit-details-marker{display:none}.admin-overview-foldout>summary:focus-visible{outline-offset:-2px;outline:2px solid #f6d27ab8}.admin-overview-foldout-title{align-items:center;gap:10px;min-width:0;display:inline-flex}.admin-overview-foldout-title strong{color:#fff8dc;font-size:18px;line-height:1.2;display:block}.admin-overview-foldout-title small{color:#edf3eb9e;margin-top:4px;font-size:12px;font-weight:800;line-height:1.35;display:block}.admin-overview-foldout-chevron{color:#f3d17a;border:1px solid #decda02e;border-radius:999px;flex:none;place-items:center;width:22px;height:22px;font-size:18px;font-weight:950;line-height:1;transition:transform .16s;display:inline-grid;transform:rotate(0)}.admin-overview-foldout[open] .admin-overview-foldout-chevron{transform:rotate(90deg)}.admin-overview-foldout-meta{color:#edf3eb9e;text-align:right;white-space:nowrap;flex:none;font-size:12px;font-weight:900}.admin-overview-foldout-body{gap:14px;padding:0 18px 18px;display:grid}.admin-overview-foldout-actions{justify-content:flex-end;gap:10px;display:flex}.admin-list{gap:8px;display:grid}.admin-list-row{background:#0000001f;border-radius:8px;min-height:42px;padding:10px 12px}.admin-list-row-stacked{justify-content:stretch;align-items:center;gap:5px;display:grid}.admin-muted{color:#edf3eba3;margin:0;font-size:13px;line-height:1.5}.admin-readiness-grid{grid-template-columns:120px minmax(220px,1.1fr) 150px minmax(360px,1.5fr) minmax(320px,1.2fr)}.admin-readiness-extra-grid{grid-template-columns:minmax(260px,1.3fr) 150px 140px minmax(280px,1fr)}.admin-readiness-roles{flex-wrap:wrap;gap:7px;display:flex}.admin-readiness-pill{background:#ffffff0f;border:1px solid #decda024;border-radius:8px;gap:3px;min-width:92px;padding:7px 9px;display:grid}.admin-readiness-pill strong{color:#fff8dc;font-size:12px;line-height:1.2}.admin-readiness-pill small{color:#edf3eb9e;text-transform:none;white-space:nowrap;margin:0;font-size:11px}.admin-readiness-pill-ready{background:#4d8f5424;border-color:#5fb4656b}.admin-readiness-pill-waived{background:#48699629;border-color:#7b9fcf66}.admin-readiness-pill-warning{background:#b8872d29;border-color:#d8ab4f73}.admin-readiness-pill-blocking{background:#9b4f432e;border-color:#e25a4e70}.admin-readiness-issues{color:#edf3ebd1;gap:5px;margin:0;padding-left:16px;font-size:12px;line-height:1.45;display:grid}.admin-readiness-issue-blocking{color:#ffb5a9}.admin-readiness-issue-warning{color:#f7d792}.admin-readiness-ok{color:#8dd893;margin:0;font-size:13px;font-weight:900}.admin-readiness-blockers{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;display:grid}.admin-readiness-blocker{background:#9b4f431f;border:1px solid #e25a4e3d;border-radius:8px;gap:8px;padding:12px;display:grid}.admin-readiness-blocker strong{color:#fff8dc;font-size:13px}.admin-verdict-ratio{gap:10px;display:grid}.admin-verdict-ratio-row{grid-template-columns:86px minmax(120px,1fr) 48px 44px;align-items:center;gap:10px;display:grid}.admin-verdict-ratio-row span,.admin-verdict-ratio-row strong{color:#edf3eb;font-size:13px;font-weight:900}.admin-verdict-ratio-row small{color:#edf3eb99;text-align:right;font-size:12px;font-weight:850}.admin-verdict-meter{background:#00000038;border-radius:999px;height:9px;overflow:hidden}.admin-verdict-fill{border-radius:inherit;min-width:2px;height:100%;display:block}.admin-error-log-list{gap:9px;max-height:520px;display:grid;overflow:auto}.admin-error-log-row{background:#00000021;border-radius:8px;gap:7px;padding:12px;display:grid}.admin-error-log-row>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.admin-error-log-row strong{color:#fff8dc;font-size:13px}.admin-error-log-row p{color:#edf3ebd6;word-break:break-word;margin:0;font-size:13px;line-height:1.45}.admin-error-log-row small{color:#edf3eb94;font-size:12px;font-weight:750}.admin-table-head,.admin-table-row{align-items:center;gap:12px;padding:12px 14px;display:grid}.admin-table-head{color:#edf3eb9e;text-transform:uppercase;background:#0003;font-size:12px;font-weight:950}.admin-table-row{border-top:1px solid #decda01a;min-height:64px}.admin-table-row:focus-visible{outline-offset:-2px;outline:2px solid #f6d27ab8}.admin-table-row>div,.admin-table-row>span{min-width:0}.admin-table-row small{text-overflow:ellipsis;text-transform:none;white-space:nowrap;margin-top:4px;display:block;overflow:hidden}.admin-level-grid{grid-template-columns:minmax(220px,1.35fr) minmax(160px,.9fr) minmax(220px,1fr) 110px 250px;min-width:1060px}.admin-set-grid{grid-template-columns:minmax(220px,1.4fr) minmax(220px,1.2fr) 90px 110px 190px}.admin-set-item-grid{grid-template-columns:110px minmax(220px,1fr) minmax(160px,.8fr) 100px}.admin-set-item-edit-grid{grid-template-columns:110px minmax(260px,1.3fr) minmax(180px,.8fr) 130px}.admin-curriculum-item-grid{grid-template-columns:100px minmax(260px,1.35fr) minmax(210px,1fr) 150px minmax(180px,.85fr);min-width:1080px}.admin-lesson-plan-grid{grid-template-columns:100px 140px minmax(180px,1fr) 220px}.admin-version-list{gap:10px;display:grid}.admin-version-card{background:#00000024;border:1px solid #decda01f;border-radius:8px;overflow:hidden}.admin-version-card summary{color:#edf3ebc7;cursor:pointer;grid-template-columns:100px 140px minmax(180px,1fr) 220px;gap:12px;padding:12px 14px;font-size:13px;font-weight:850;display:grid}.admin-import-grid{grid-template-columns:minmax(220px,1.4fr) 130px 90px 110px 270px}.admin-import-item-grid{grid-template-columns:minmax(180px,1fr) minmax(240px,1.2fr) 140px minmax(220px,.9fr)}.admin-user-grid{grid-template-columns:minmax(110px,.58fr) 100px 88px minmax(150px,.72fr) 116px minmax(190px,.9fr) minmax(90px,.44fr) 100px 120px 178px 230px;min-width:1640px}.admin-user-activity{gap:2px;display:grid}.admin-bound-students-cell{gap:3px;min-width:0;display:grid}.admin-bound-students-cell .admin-title-link,.admin-bound-students-cell span,.admin-bound-students-cell small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.admin-bound-students-cell small{color:var(--admin-muted-text);font-size:12px;font-weight:650}.admin-user-progress-grid{grid-template-columns:minmax(220px,1.3fr) 120px 110px 130px 180px}.teacher-student-grid{grid-template-columns:minmax(220px,1.25fr) 110px 170px 140px 90px 120px;min-width:980px}.teacher-stage-grid{grid-template-columns:minmax(240px,1.4fr) 110px 110px 130px 110px}.teacher-submission-grid{grid-template-columns:minmax(150px,.8fr) minmax(220px,1.4fr) 110px 110px 190px}.teacher-submission-filter{grid-template-columns:repeat(3,minmax(180px,1fr)) auto}.admin-submission-grid{grid-template-columns:minmax(130px,.75fr) minmax(180px,1fr) minmax(190px,1.1fr) 82px 100px 150px minmax(170px,.9fr);min-width:1120px}.admin-assessment-grid{grid-template-columns:minmax(200px,1.1fr) minmax(140px,.72fr) 150px 150px 118px 88px 82px minmax(130px,.62fr) 110px;min-width:1320px}.admin-assessment-item-grid{grid-template-columns:52px minmax(260px,1.45fr) minmax(120px,.62fr) 108px 90px 86px minmax(150px,.75fr) 110px;min-width:1160px}.admin-assignment-group-grid{grid-template-columns:minmax(220px,1.05fr) minmax(190px,.86fr) minmax(320px,1.4fr) 120px;min-width:920px}.admin-question-assignment-grid{grid-template-columns:minmax(220px,.95fr) 150px minmax(360px,1.5fr) 110px 120px;min-width:1080px}.admin-assessment-summary-grid{align-items:stretch}.admin-today-news-grid{grid-template-columns:96px minmax(280px,1.45fr) minmax(130px,.72fr) minmax(140px,.72fr) minmax(150px,.78fr) minmax(150px,.76fr) minmax(260px,1fr);min-width:1320px}.admin-today-news-reaction-grid{grid-template-columns:minmax(220px,1.1fr) minmax(260px,1.2fr) minmax(210px,.95fr) minmax(170px,.8fr) minmax(170px,.8fr);min-width:1040px}.admin-system-bug-grid{grid-template-columns:118px minmax(180px,.85fr) minmax(220px,1fr) minmax(260px,1.15fr) minmax(240px,1fr) minmax(140px,.65fr) 170px 110px;min-width:1490px}.admin-xingyin-help-grid{grid-template-columns:150px minmax(190px,.9fr) minmax(170px,.78fr) 128px 154px minmax(260px,1.2fr) minmax(260px,1.2fr) minmax(150px,.72fr) 110px 110px;min-width:1740px}.admin-xingyin-help-detail .admin-panel{min-width:0}.admin-xingyin-profile-grid{grid-template-columns:minmax(210px,.95fr) minmax(190px,.86fr) 126px 150px minmax(220px,1fr) minmax(220px,1fr) minmax(220px,1fr) minmax(150px,.72fr) 160px 150px;min-width:1780px}.admin-xingyin-profile-detail .admin-panel{min-width:0}.admin-referral-grid{grid-template-columns:118px minmax(320px,1.35fr) minmax(190px,.76fr) minmax(250px,.98fr) minmax(270px,1fr) 150px;min-width:1340px}.admin-table-row.admin-referral-grid{align-items:flex-start}.admin-audit-grid{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 120px 180px}.admin-knowledge-grid{grid-template-columns:minmax(180px,1.05fr) minmax(190px,1fr) 140px 100px minmax(260px,1.45fr) minmax(220px,1.1fr);min-width:1220px}.admin-news-thumb{object-fit:contain;background:#0000002e;border:1px solid #decda024;border-radius:6px;width:80px;height:54px;display:block}.admin-news-body{gap:5px;display:grid}.admin-news-body strong{color:#fff8dc;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.admin-news-body code{color:#f3d17a;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:850;overflow:hidden}.admin-news-body p{color:#edf3ebb8;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.admin-form-grid-today-news{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-news-edit-preview{background:#00000029;border:1px solid #decda01f;border-radius:8px;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:12px;padding:10px;display:grid}.admin-news-edit-preview img{object-fit:contain;background:#0003;border:1px solid #decda024;border-radius:6px;width:160px;height:90px;display:block}.admin-news-edit-preview p{color:#edf3ebad;margin:0;font-size:13px;line-height:1.5}.admin-level-tabs{background:#ffffff0b;border:1px solid #decda024;border-radius:8px;flex-wrap:wrap;gap:8px;padding:10px;display:flex}.admin-level-tabs a{color:#f8f4dfc7;background:#00000024;border:1px solid #decda024;border-radius:8px;padding:8px 11px;font-size:12px;font-weight:850}.admin-level-tabs a.active{color:#2f2816;background:#f3d17a;border-color:#f3d17a75}.admin-track-tabs{background:#00000029;border:1px solid #decda029;border-radius:8px;width:max-content;display:inline-flex;overflow:hidden}.admin-track-tabs a{color:#f8f4dfb8;text-align:center;min-width:58px;padding:8px 13px;font-size:12px;font-weight:850}.admin-track-tabs a+a{border-left:1px solid #decda01f}.admin-track-tabs a.active{color:#2f2816;background:#f3d17a}.admin-track-toggle{color:#2f2816;background:#f3d17a;justify-content:center;align-items:center;min-width:42px;padding-inline:8px;display:inline-flex}.admin-curriculum-layout{grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr)}.admin-curriculum-workbench{grid-template-columns:minmax(360px,.9fr) minmax(520px,1.25fr);align-items:start;gap:14px;display:grid}.admin-plain-list{background:#0000001f;border:1px solid #decda01f;border-radius:8px;overflow:auto}.admin-plain-list-head,.admin-plain-list-row{align-items:center;gap:10px;min-width:720px;padding:10px 12px;display:grid}.admin-stage-plain-list .admin-plain-list-head,.admin-stage-plain-list .admin-plain-list-row{grid-template-columns:86px minmax(180px,1.1fr) minmax(160px,1fr) 100px}.admin-problem-plain-list .admin-plain-list-head,.admin-problem-plain-list .admin-plain-list-row{grid-template-columns:62px minmax(180px,1.1fr) minmax(170px,1fr) 96px 96px;min-width:820px}.admin-plain-list-head{color:#edf3eb9e;text-transform:uppercase;background:#0003;font-size:12px;font-weight:850}.admin-plain-list-row{color:#f8f4dfd1;border-top:1px solid #decda01a;min-height:58px}.admin-plain-list-row.active{background:#f6d27a14;box-shadow:inset 3px 0 #f6d27ab8}.admin-plain-list-row small{color:#edf3eb94;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;display:block;overflow:hidden}.admin-stage-list{gap:10px;display:grid}.admin-stage-card{color:#f8f4dfc7;background:#00000024;border:1px solid #decda01f;border-radius:8px;gap:6px;padding:12px;display:grid}.admin-stage-card.active{background:#f3d17a14;border-color:#f3d17a6b;box-shadow:inset 3px 0 #f3d17abd}.admin-stage-card span,.admin-stage-card small{color:#edf3eb9e;font-size:12px}.admin-stage-card strong{color:#fff8dc;font-size:15px;font-weight:850}.admin-row-actions,.admin-status-stack,.admin-action-stack{flex-wrap:wrap;gap:8px;display:flex}.admin-user-type-form{grid-template-columns:minmax(140px,1fr) auto;align-items:center;gap:6px;display:grid}.admin-status-stack{align-items:center}.admin-submission-actions{flex-wrap:wrap;gap:8px;display:flex}.teacher-submission-list .admin-submission-actions{flex-wrap:nowrap;align-items:center}.admin-submission-detail-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.admin-submission-detail{margin-top:12px}.admin-submission-code{color:#f8f4df;white-space:pre-wrap;background:#00000038;border:1px solid #decda029;border-radius:8px;padding:14px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.6;overflow-x:auto}.teacher-submission-browser{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:start;gap:14px;display:grid}.teacher-submission-list{min-width:0}.teacher-submission-detail{min-width:0;position:sticky;top:16px}.teacher-shell{--teacher-bg:#f6f7f9;--teacher-card:#fff;--teacher-ink:#171a21;--teacher-muted:#667085;--teacher-line:#e5e7eb;--teacher-primary:#2563eb;height:100vh;min-height:100vh;color:var(--teacher-ink);background:radial-gradient(circle at top right, #2563eb14, transparent 34%), linear-gradient(180deg, #f8fafc 0%, var(--teacher-bg) 100%);grid-template-columns:248px minmax(0,1fr);display:grid;overflow:hidden}.teacher-shell a{color:inherit}.teacher-sidebar{color:#f8fafc;background:#111827;border-right:1px solid #0f172a1a;flex-direction:column;gap:18px;height:100vh;padding:18px 14px;display:flex;position:sticky;top:0}.teacher-brand{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;gap:2px;padding:12px;display:grid}.teacher-brand span,.teacher-account span,.teacher-topbar span,.teacher-page-header span,.teacher-panel-head span,.teacher-stat-card span,.teacher-filter-bar span{color:inherit;letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:800}.teacher-brand span,.teacher-account span{color:#f8fafc94}.teacher-brand strong{color:#fff;font-size:18px;font-weight:900}.teacher-nav{gap:6px;display:grid}.teacher-nav a{color:#f8fafcc2;border-radius:8px;gap:3px;padding:10px 12px;display:grid}.teacher-nav a:hover{background:#ffffff14}.teacher-nav strong{font-size:14px;font-weight:850}.teacher-nav span{color:#f8fafc7a;font-size:11px}.teacher-account{border-top:1px solid #ffffff1f;gap:8px;margin-top:auto;padding-top:14px;display:grid}.teacher-account strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.teacher-account button,.teacher-button,.teacher-small-button{color:#fff;background:var(--teacher-primary);cursor:pointer;border:1px solid #2563eb2e;border-radius:8px;font-weight:850;box-shadow:0 1px 2px #10182814}.teacher-account button{color:#f8fafce6;background:#ffffff14;padding:8px 10px}.teacher-main{min-width:0;height:100vh;overflow:hidden auto}.teacher-topbar{z-index:20;border-bottom:1px solid var(--teacher-line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffdb;justify-content:space-between;align-items:center;gap:16px;min-height:66px;padding:9px 28px;display:flex;position:sticky;top:0}.teacher-topbar-copy{min-width:0}.teacher-topbar-right,.teacher-topbar-actions{align-items:center;gap:8px;display:flex}.teacher-topbar-right{flex:none;justify-content:flex-end;min-width:0}.teacher-topbar-actions{flex-wrap:wrap;justify-content:flex-end}.teacher-topbar-actions form{display:contents}.teacher-topbar span,.teacher-page-header span,.teacher-panel-head span,.teacher-stat-card span,.teacher-filter-bar span{color:var(--teacher-muted)}.teacher-topbar strong{color:#101828;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:18px;font-weight:900;line-height:1.15;display:block;overflow:hidden}.teacher-topbar p{max-width:min(860px,64vw);color:var(--teacher-muted);text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:12px;line-height:1.35;overflow:hidden}.teacher-topbar-user{border:1px solid var(--teacher-line);color:#344054;text-overflow:ellipsis;white-space:nowrap;background:#f9fafb;border-radius:999px;max-width:220px;padding:6px 11px;font-size:12px;font-weight:850;overflow:hidden}.teacher-content{min-width:0;padding:24px 28px 40px}.teacher-page{gap:16px;display:grid}.teacher-page-header{justify-content:flex-end;align-items:flex-start;gap:10px;display:flex}.teacher-page-header h1{color:var(--teacher-ink);letter-spacing:0;margin:4px 0 0;font-size:28px;font-weight:900;line-height:1.18}.teacher-page-header p{max-width:780px;color:var(--teacher-muted);margin:8px 0 0;font-size:13px;line-height:1.5}.teacher-row-actions,.teacher-filter-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.teacher-page-actions{display:none}.teacher-button{justify-content:center;align-items:center;min-height:36px;padding:0 13px;font-size:13px;display:inline-flex}.teacher-shell a.teacher-button:not(.secondary),.teacher-shell a.teacher-small-button:not(.subtle),.teacher-shell button.teacher-button:not(.secondary),.teacher-shell button.teacher-small-button:not(.subtle){color:#fff}.teacher-button.secondary,.teacher-small-button.subtle{border-color:var(--teacher-line);color:#344054;background:#fff}.teacher-button.danger{background:#dc2626;border-color:#dc26262e}.teacher-small-button{justify-content:center;align-items:center;min-height:30px;padding:0 9px;font-size:12px;display:inline-flex}.teacher-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.teacher-stat-grid.compact{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.teacher-stat-grid.compact .teacher-stat-card{min-height:76px;padding:10px}.teacher-stat-grid.compact .teacher-stat-card span{font-size:11px}.teacher-stat-grid.compact .teacher-stat-card strong{font-size:20px}.teacher-stat-grid.compact .teacher-stat-card small{font-size:11px}@media (max-width:1180px){.teacher-stat-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-behavior-filter-row,.admin-behavior-analysis-layout,.teacher-behavior-analysis-layout{grid-template-columns:1fr}}@media (max-width:760px){.admin-behavior-filter-row .admin-filter-bar{grid-template-columns:1fr}}@media (max-width:720px){.teacher-stat-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}}.teacher-stat-card,.teacher-panel,.teacher-student-hero{border:1px solid var(--teacher-line);background:var(--teacher-card);border-radius:8px;box-shadow:0 1px 2px #1018280d}.teacher-stat-card{gap:5px;min-height:96px;padding:14px;display:grid}.teacher-stat-card strong{color:#101828;font-size:26px;font-weight:900;line-height:1}.teacher-stat-card small{color:var(--teacher-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.teacher-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.teacher-panel{min-width:0;overflow:hidden}.teacher-panel-head{border-bottom:1px solid var(--teacher-line);justify-content:space-between;align-items:center;gap:12px;padding:13px 14px;display:flex}.teacher-panel-head h2{color:#101828;margin:0;font-size:15px;font-weight:900}.teacher-panel-summary{text-align:right;justify-content:flex-end;align-items:baseline;gap:8px;min-width:max-content;display:flex}.teacher-panel-summary strong{color:#101828;font-size:14px;font-weight:900}.teacher-panel-summary span{color:var(--teacher-muted);font-size:12px;font-weight:850}.teacher-panel>:not(.teacher-panel-head){margin:14px}.teacher-filter-panel .teacher-panel-head{padding:10px 12px}.teacher-filter-panel>:not(.teacher-panel-head){margin:10px 12px}.teacher-filter-bar{grid-template-columns:repeat(4,minmax(150px,1fr)) auto;align-items:end;gap:10px;display:grid}.teacher-filter-bar-dense{flex-wrap:nowrap;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.teacher-filter-bar-dense label{flex:0 138px;min-width:112px}.teacher-filter-bar-dense>.teacher-button,.teacher-filter-bar-dense .teacher-filter-actions{flex:none}.teacher-filter-bar-dense .teacher-filter-actions{flex-wrap:nowrap}.teacher-submission-filter-bar label:first-child{flex-basis:174px}.teacher-submission-filter-bar label:nth-child(2),.teacher-submission-filter-bar label:nth-child(4){flex-basis:104px}.teacher-submission-filter-bar label:nth-child(3){flex:220px;min-width:180px}.teacher-submission-filter-bar label:nth-child(5),.teacher-submission-filter-bar label:nth-child(6){flex-basis:128px}.teacher-student-filter-bar label:first-child{flex:260px;min-width:190px}.teacher-student-filter-bar label:nth-child(2),.teacher-student-filter-bar label:nth-child(3){flex-basis:124px}.teacher-filter-bar label,.teacher-form-grid label{gap:6px;display:grid}.teacher-filter-bar input,.teacher-filter-bar select,.teacher-form-grid input,.teacher-form-grid select,.teacher-form-grid textarea{color:#101828;background:#fff;border:1px solid #d0d5dd;border-radius:8px;width:100%;min-height:34px;padding:7px 9px;font-size:13px}.teacher-form-grid{gap:12px;display:grid}.teacher-form-full{grid-column:1/-1}.teacher-data-table{border:1px solid var(--teacher-line);border-radius:8px;overflow:auto}.teacher-data-head,.teacher-data-row,.teacher-submission-browser-grid{align-items:center;gap:12px;display:grid}.teacher-data-head,.admin-table-head.teacher-submission-browser-grid{color:#667085;text-transform:uppercase;background:#f9fafb;min-height:40px;padding:10px 12px;font-size:12px;font-weight:850}.teacher-data-row,.admin-table-row.teacher-submission-browser-grid{border-top:1px solid var(--teacher-line);color:#344054;background:#fff;min-height:58px;padding:10px 12px;font-size:13px}.teacher-data-row:hover,.admin-table-row.teacher-submission-browser-grid:hover,.admin-table-row.teacher-submission-browser-grid.active{background:#f8fbff}.teacher-data-row small,.teacher-compact-row span,.teacher-submission-browser-grid small{color:var(--teacher-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:12px;display:block;overflow:hidden}.teacher-assignment-group-row{grid-template-columns:minmax(220px,1fr) 96px 88px;min-width:520px}.teacher-assignment-row{grid-template-columns:minmax(220px,.95fr) minmax(280px,1.35fr) 92px 88px;min-width:780px}.teacher-student-table-grid{grid-template-columns:minmax(210px,1.4fr) 92px minmax(160px,1fr) 110px 70px 80px 132px;min-width:920px}.teacher-recent-student-grid{grid-template-columns:minmax(200px,1.3fr) 90px 100px 110px 90px;min-width:720px}.teacher-stage-table-grid{grid-template-columns:minmax(240px,1.45fr) 90px 90px 120px 90px;min-width:760px}.teacher-student-submission-grid{grid-template-columns:minmax(220px,1.45fr) 90px 90px 100px 170px;min-width:780px}.teacher-submission-browser-grid{grid-template-columns:170px minmax(130px,.75fr) minmax(260px,1.35fr) 76px 84px 110px 118px;min-width:1080px}.teacher-submission-level-cell{min-width:0;display:block;overflow:hidden}.teacher-submission-level-title-row{align-items:center;gap:8px;min-width:0;display:flex}.teacher-submission-level-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.teacher-submission-level-cell .teacher-submission-level-button{flex:none}.teacher-title-link{color:#175cd3;font-weight:900}.teacher-badge{border-radius:999px;justify-content:center;align-items:center;width:max-content;padding:3px 8px;font-size:12px;font-style:normal;font-weight:850;display:inline-flex}.teacher-badge-success{color:#067647;background:#dcfae6}.teacher-badge-info{color:#175cd3;background:#dbeafe}.teacher-badge-warning{color:#b54708;background:#fef0c7}.teacher-badge-neutral{color:#344054;background:#f2f4f7}.teacher-badge-danger{color:#b42318;background:#fee4e2}.teacher-verdict-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.teacher-verdict-item{border:1px solid var(--teacher-line);background:#fcfcfd;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.teacher-verdict-item span{color:var(--teacher-muted);font-size:12px;font-weight:850}.teacher-verdict-item strong{color:#101828;font-size:18px;font-weight:900}.teacher-compact-list,.teacher-summary-list{gap:8px;display:grid}.teacher-compact-row,.teacher-summary-list>div{border:1px solid var(--teacher-line);color:#344054;background:#fcfcfd;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 11px;display:flex}.teacher-compact-row strong,.teacher-summary-list strong{color:#101828;font-weight:900}.teacher-summary-list span{color:var(--teacher-muted);font-size:12px}.teacher-diagnosis-center{gap:14px;display:grid}.teacher-diagnosis-hero{background:linear-gradient(135deg,#eff6ff 0%,#fff 72%);border:1px solid #dbeafe;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px;display:flex}.teacher-diagnosis-hero div{gap:6px;display:grid}.teacher-diagnosis-hero span{color:#175cd3;font-size:12px;font-weight:850}.teacher-diagnosis-hero strong{color:#101828;font-size:18px;font-weight:900;line-height:1.45}.teacher-diagnosis-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.teacher-diagnosis-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.teacher-diagnosis-list{gap:9px;display:grid}.teacher-diagnosis-row{border:1px solid var(--teacher-line);background:#fcfcfd;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:12px;padding:11px;display:flex}.teacher-diagnosis-row>div,.teacher-diagnosis-focus{gap:7px;min-width:0;display:grid}.teacher-diagnosis-row strong,.teacher-diagnosis-focus strong{color:#101828;font-size:14px;font-weight:900;line-height:1.35}.teacher-diagnosis-row span,.teacher-diagnosis-mini-stats span{color:var(--teacher-muted);font-size:12px;font-weight:850}.teacher-diagnosis-row p,.teacher-diagnosis-focus p{color:#475467;margin:0;font-size:13px;line-height:1.55}.teacher-diagnosis-mini-stats{flex-wrap:wrap;gap:7px;display:flex}.teacher-diagnosis-mini-stats span{background:#f2f4f7;border-radius:999px;padding:4px 8px}.teacher-diagnosis-actions{color:#344054;gap:9px;margin:0;padding-left:20px;font-size:13px;line-height:1.6;display:grid}.teacher-review-task-form{border-top:1px solid var(--teacher-line);gap:9px;margin-top:5px;padding-top:10px;display:grid}.teacher-review-task-form label{gap:5px;display:grid}.teacher-review-task-form label span,.teacher-muted-note{color:var(--teacher-muted);font-size:12px;font-weight:850}.teacher-review-task-form textarea,.teacher-review-task-form input{border:1px solid var(--teacher-line);width:100%;color:var(--teacher-ink);font:inherit;background:#fff;border-radius:8px;padding:9px 10px;font-size:13px}.teacher-muted-note{margin:0}@media (max-width:900px){.teacher-diagnosis-grid,.teacher-diagnosis-metrics{grid-template-columns:1fr}}@media (max-width:620px){.teacher-diagnosis-hero,.teacher-diagnosis-row{display:grid}}.teacher-tabs{border-bottom:1px solid var(--teacher-line);gap:6px;display:flex;overflow-x:auto}.teacher-tabs a{min-height:38px;color:var(--teacher-muted);white-space:nowrap;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:0 10px;font-size:13px;font-weight:850;display:inline-flex}.teacher-tabs a.active{border-color:var(--teacher-primary);color:var(--teacher-primary)}.teacher-tabs a.pending{color:#344054}.teacher-tabs strong{color:#344054;background:#f2f4f7;border-radius:999px;padding:2px 6px;font-size:11px}.teacher-tab-spinner{border:2px solid #d0d5dd;border-top-color:var(--teacher-primary);border-radius:999px;width:12px;height:12px;animation:.8s linear infinite teacher-drawer-loading-spin}.teacher-skeleton{background:linear-gradient(90deg,#eef2f7 0%,#f8fafc 45%,#eef2f7 90%) 0 0/220% 100%;border-radius:8px;animation:1.1s ease-in-out infinite teacher-skeleton-pulse;overflow:hidden}.teacher-skeleton-avatar{border-radius:999px;width:54px;height:54px}.teacher-skeleton-stack{gap:9px;display:grid}.teacher-skeleton-line{width:130px;height:13px}.teacher-skeleton-line.wide{width:min(260px,46vw);height:17px}.teacher-skeleton-pill{border-radius:999px;width:86px;height:30px}.teacher-skeleton-tab{flex:0 0 82px;height:34px}.teacher-skeleton-block{min-height:180px;margin-top:14px}.teacher-stat-card-loading{gap:10px}.teacher-tabs-loading{padding:8px 0}.teacher-panel-loading{min-height:240px}@keyframes teacher-skeleton-pulse{to{background-position:-220% 0}}.teacher-student-hero{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;display:grid}.teacher-student-avatar{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);border-radius:8px;place-items:center;width:46px;height:46px;font-size:18px;font-weight:900;display:grid}.teacher-student-hero h2{color:#101828;margin:0;font-size:18px;font-weight:900}.teacher-student-hero p{color:var(--teacher-muted);margin:4px 0 0;font-size:13px}.teacher-student-badges{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.teacher-once-code{color:#93370d;background:#fffaeb;border:1px solid #fedf89;border-radius:8px;padding:11px 13px;font-size:13px;font-weight:850}.teacher-pagination{justify-content:flex-end;align-items:center;gap:8px;margin-top:12px;display:flex}.teacher-pagination a,.teacher-pagination span{border:1px solid var(--teacher-line);color:#344054;background:#fff;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:850}.teacher-pagination a.disabled{pointer-events:none;opacity:.45}.teacher-empty{color:var(--teacher-muted);text-align:center;margin:0;padding:18px;font-size:13px}.teacher-drawer-backdrop{z-index:2147483001;justify-content:flex-end;display:flex;position:fixed;inset:0}.teacher-drawer-scrim{cursor:default;background:#0f172a57;border:0;position:absolute;inset:0}.teacher-drawer{z-index:1;border-left:1px solid var(--teacher-line);background:#fff;flex-direction:column;gap:14px;width:min(520px,100vw);height:100%;padding:18px;display:flex;position:relative;overflow:auto;box-shadow:-18px 0 40px #1018282e}.teacher-drawer>header{border-bottom:1px solid var(--teacher-line);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;display:flex}.teacher-drawer h2{color:#101828;margin:0;font-size:18px;font-weight:900}.teacher-drawer p{color:var(--teacher-muted);margin:5px 0 0;font-size:13px;line-height:1.45}.teacher-drawer>header a,.teacher-drawer>header button{border:1px solid var(--teacher-line);color:#344054;cursor:pointer;background:#fff;border-radius:8px;padding:6px 9px;font-family:inherit;font-size:12px;font-weight:850;line-height:1.2;text-decoration:none}.teacher-drawer-loading{border:1px dashed var(--teacher-line);color:#344054;text-align:center;background:#f8fafc;border-radius:12px;place-items:center;gap:10px;min-height:220px;display:grid}.teacher-drawer-loading span{border:3px solid #dbe7ff;border-top-color:#3b82f6;border-radius:999px;width:34px;height:34px;animation:.8s linear infinite teacher-drawer-loading-spin}.teacher-drawer-loading strong{color:#101828;font-size:15px}.teacher-drawer-loading p{margin:0}@keyframes teacher-drawer-loading-spin{to{transform:rotate(360deg)}}.teacher-submission-browser{display:block}.teacher-submission-list{border:1px solid var(--teacher-line);border-radius:8px;min-width:0;overflow:auto}.teacher-submission-drawer{width:min(1120px,100vw - 48px);overflow:hidden}.teacher-submission-drawer>header,.teacher-submission-meta{flex:none}.teacher-submission-drawer-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:inline-flex}.teacher-submission-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.teacher-submission-meta div{border:1px solid var(--teacher-line);background:#f9fafb;border-radius:8px;padding:9px 10px}.teacher-submission-meta dt{color:var(--teacher-muted);text-transform:uppercase;font-size:11px;font-weight:850}.teacher-submission-meta dd{color:#101828;margin:4px 0 0;font-size:13px;font-weight:750}.teacher-submission-code{color:#e5e7eb;white-space:pre;background:#0f172a;height:100%;min-height:0;margin:0;overflow:auto}.teacher-submission-detail-grid{flex:auto;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:12px;min-height:0;display:grid}.teacher-submission-code-panel,.teacher-submission-analysis-column{border:1px solid var(--teacher-line);background:#fff;border-radius:8px;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.teacher-submission-code-panel h3,.teacher-submission-analysis-column h3{border-bottom:1px solid var(--teacher-line);color:#101828;background:#f9fafb;margin:0;padding:10px 12px;font-size:13px;font-weight:900}.teacher-submission-analysis-column .ai-analysis-panel,.teacher-submission-analysis-empty{height:100%;min-height:0;box-shadow:none;border:0;border-radius:0;margin:0;overflow:auto}.teacher-submission-analysis-column .ai-analysis-panel{color:#e8f0eee6;background:#14342d;border:1px solid #93d66f38}.teacher-submission-analysis-column .ai-analysis-panel.loading{background:#4e3c18;border-color:#f6d68d3d}.teacher-submission-analysis-column .ai-analysis-panel.error{background:#57262d;border-color:#ff6b5f47}.teacher-submission-analysis-empty{color:var(--teacher-muted);align-content:start;gap:12px;padding:14px;font-size:13px;display:grid}@media (max-width:980px){.teacher-submission-drawer{width:min(100vw,760px)}.teacher-submission-detail-grid{grid-template-columns:1fr;overflow:auto}.teacher-submission-code-panel,.teacher-submission-analysis-column{min-height:360px}}.admin-verdict-bars{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.admin-verdict-bar{background:#ffffff0b;border:1px solid #decda024;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.admin-verdict-bar span{color:#f8f4dfb8;font-size:12px;font-weight:850}.admin-verdict-bar strong{color:#f8f4df;font-size:18px;font-weight:900}.admin-context-json{color:#f8f4df;background:#0000002e;border:1px solid #decda029;border-radius:8px;max-width:100%;margin:0;padding:10px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.5;overflow-x:auto}.bug-report-widget{z-index:5000;justify-items:start;gap:8px;display:grid;position:fixed;bottom:14px;left:14px}.bug-report-toggle{color:#2c2317;cursor:pointer;background:#f6d27a;border:1px solid #f6d27a6b;border-radius:999px;align-items:center;gap:5px;padding:7px 10px;font-size:12px;font-weight:850;display:inline-flex;position:relative;box-shadow:0 8px 22px #0000003d}.bug-report-toggle.has-unread{padding-right:10px}.bug-report-toggle em,.admin-unread-pill{color:#fff8dc;background:#d84c3f;border-radius:999px;justify-content:center;align-items:center;font-size:10px;font-style:normal;font-weight:850;display:inline-flex}.bug-report-toggle em{min-width:18px;height:18px;padding:0 5px;position:absolute;top:-7px;right:-7px;box-shadow:0 0 0 2px #1f2522f5}.bug-report-panel{color:#f8f4df;background:#1f2522f5;border:1px solid #f6d27a47;border-radius:10px;width:min(380px,100vw - 28px);max-height:min(660px,100vh - 96px);padding:12px;overflow:auto;box-shadow:0 18px 42px #00000057}.bug-report-head,.bug-report-foot{justify-content:space-between;align-items:center;gap:10px;display:flex}.bug-report-head strong{font-size:13px}.bug-report-title-row{align-items:center;gap:8px;min-width:0;display:inline-flex}.bug-report-head button,.bug-report-foot button{color:#f8f4df;cursor:pointer;background:#f6d27a24;border:1px solid #f6d27a3d;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:7px 9px;font-size:12px;font-weight:850;display:inline-flex}.bug-report-foot button:disabled{cursor:wait;opacity:.58}.bug-report-panel textarea{color:#f8f4df;width:100%;min-height:110px;font:inherit;resize:vertical;background:#00000038;border:1px solid #decda02e;border-radius:8px;outline:none;margin:10px 0;padding:10px;font-size:13px;line-height:1.45}.bug-report-thread-list,.bug-report-new,.bug-report-thread,.bug-report-thread-messages{gap:9px;display:grid}.bug-report-thread-list,.bug-report-new,.bug-report-thread{margin-top:12px}.bug-report-thread-list{max-height:210px;padding-right:2px;overflow:auto}.bug-report-thread-list>strong,.bug-report-new>strong{color:#f8f4dfe0;font-size:12px}.bug-report-thread-row{color:#f8f4df;text-align:left;cursor:pointer;background:#ffffff0a;border:1px solid #decda024;border-radius:9px;gap:3px;width:100%;padding:9px;display:grid}.bug-report-thread-row:hover,.bug-report-thread-row:focus-visible{background:#f6d27a1a;border-color:#f6d27a57}.bug-report-thread-row.unread{border-color:#d84c3f80}.bug-report-thread-row span{align-items:center;gap:6px;min-width:0;display:flex}.bug-report-thread-row span strong,.bug-report-thread-meta strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bug-report-thread-row em{color:#fff8dc;background:#d84c3f;border-radius:999px;flex:none;padding:2px 6px;font-size:10px;font-style:normal}.bug-report-thread-row small,.bug-report-thread-row time,.bug-report-muted{color:#f8f4df99;font-size:11px}.bug-report-thread-meta{border-bottom:1px solid #decda024;justify-content:space-between;align-items:center;gap:10px;padding-bottom:9px;display:flex}.bug-report-thread-meta span{color:#f8f4dfbd;background:#ffffff14;border-radius:999px;padding:3px 7px;font-size:11px}.bug-report-thread-messages{max-height:300px;overflow:auto}.bug-report-thread-message{background:#ffffff0a;border:1px solid #decda024;border-radius:10px;gap:5px;padding:9px;display:grid}.bug-report-thread-message.admin{background:#4d80be29;border-color:#8fc2ff42}.bug-report-thread-message span{color:#f8f4dfad;justify-content:space-between;gap:8px;font-size:11px;display:flex}.bug-report-thread-message p{white-space:pre-wrap;color:#f8f4df;margin:0;font-size:13px;line-height:1.5}.bug-report-done-button{color:#2c2317;cursor:pointer;background:#f6d27a;border:1px solid #f6d27a3d;border-radius:8px;justify-content:center;align-items:center;width:100%;padding:8px 10px;font-size:12px;font-weight:850;display:inline-flex}.bug-report-foot span,.bug-report-message{color:#f8f4dfa8;font-size:12px}.bug-report-message{margin:8px 0 0}.bug-report-message.success{color:#9fe0a6}.bug-report-message.error{color:#ffb1ba}.admin-unread-pill{width:fit-content;margin-top:6px;padding:3px 7px}.admin-bug-conversation{gap:10px;display:grid}.admin-bug-message{background:#0000001f;border:1px solid #decda01f;border-radius:10px;gap:8px;padding:12px;display:grid}.admin-shell .admin-bug-message{border-color:var(--admin-border);background:#f8fafc}.admin-bug-message-admin{border-color:#4c81be47}.admin-bug-message>div{color:var(--admin-muted-text);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.admin-bug-message>div strong{color:var(--admin-text)}.admin-bug-message p{white-space:pre-wrap;color:var(--admin-text);margin:0;line-height:1.55}.admin-bug-reply-form{margin-top:14px}.admin-statement-preview{background:#00000024;border:1px solid #decda024;border-radius:8px;padding:14px}.admin-statement-preview .statement-markdown{color:#f8f4dfc7;font-size:14px}.admin-statement-preview .statement-markdown :where(h1,h2,h3){color:#f8f4df}.admin-statement-preview .statement-markdown :where(code){color:#ffe8a6;background:#decda01a}.admin-statement-preview .statement-markdown :where(pre){color:#f8f4df;box-shadow:none;background:#00000038;border-color:#decda029}.admin-statement-preview .statement-markdown a,.admin-statement-preview .statement-markdown :where(.katex){color:#f6d27a}.admin-action-stack{align-items:start}.admin-button,.admin-small-button{color:#fff8dc;min-height:32px;font:inherit;text-align:center;background:#f3d17a1f;border:1px solid #f3d17a52;border-radius:8px;justify-content:center;align-items:center;font-weight:900;display:inline-flex}.admin-button{padding:10px 12px}.admin-small-button{padding:7px 9px;font-size:12px}.admin-button:disabled,.admin-small-button:disabled{cursor:default;opacity:.38}.teacher-submission-list .admin-small-button.teacher-submission-level-button{color:#101828;background:#fff;border-color:#d0d5dd;text-decoration:none}.teacher-submission-browser .teacher-submission-list .admin-submission-actions>.admin-small-button.teacher-submission-ai-button{color:#fff;background:#175cd3;border-color:#175cd3;text-decoration:none}.teacher-submission-browser .teacher-submission-list .admin-submission-actions>.admin-small-button.teacher-submission-ai-button:disabled{color:#fff;opacity:.72;background:#2970ff;border-color:#84adff}.teacher-submission-list .admin-small-button.teacher-submission-level-button:hover,.teacher-submission-list .admin-small-button.teacher-submission-level-button:focus-visible{color:#101828;background:#f9fafb;border-color:#98a2b3}.teacher-submission-browser .teacher-submission-list .admin-submission-actions>.admin-small-button.teacher-submission-ai-button:hover:not(:disabled),.teacher-submission-browser .teacher-submission-list .admin-submission-actions>.admin-small-button.teacher-submission-ai-button:focus-visible:not(:disabled){color:#fff;background:#1849a9;border-color:#1849a9}.admin-stat-good{border-color:#22c55e38}.admin-stat-warn{border-color:#f59e0b3d}.admin-stat-danger{border-color:#ef44443d}.admin-filter-bar{grid-template-columns:repeat(3,minmax(180px,1fr)) auto;align-items:end;gap:12px;display:grid}.admin-filter-bar label{gap:6px;min-width:0;display:grid}.admin-filter-bar label span{color:#edf3eba3;font-size:12px;font-weight:850}.admin-filter-bar input,.admin-filter-bar select{color:#f8f4df;width:100%;font:inherit;background:#0000002e;border:1px solid #decda029;border-radius:8px;outline:none;padding:10px 11px;font-size:13px;font-weight:750}.admin-tabs{scrollbar-width:thin;flex-wrap:nowrap;gap:8px;display:flex;overflow-x:auto}.admin-tabs a{color:#edf3ebc2;white-space:nowrap;background:#ffffff0b;border:1px solid #decda01f;border-radius:8px;flex:none;align-items:center;gap:8px;min-height:34px;padding:7px 10px;font-size:13px;font-weight:900;display:inline-flex}.admin-tabs a.active{color:#fff8dc;background:#f3d17a24;border-color:#f3d17a70}.admin-tabs strong{color:#f3d17a;background:#0000002e;border-radius:999px;place-items:center;min-width:24px;min-height:22px;font-size:11px;display:inline-grid}.admin-pagination{color:#edf3eb9e;justify-content:space-between;align-items:center;gap:12px;padding:10px 2px 0;font-size:13px;font-weight:850;display:flex}.admin-pagination div{gap:8px;display:inline-flex}.admin-drawer-layer{z-index:80;background:#0000003d;justify-items:end;display:grid;position:fixed;inset:0}.admin-drawer-scrim{cursor:default;background:0 0;border:0;position:absolute;inset:0}.admin-drawer{z-index:1;background:radial-gradient(circle at 100% 0,#f3d17a14,#0000 34%),#111a19;border-left:1px solid #decda02e;grid-template-rows:auto minmax(0,1fr);width:min(760px,100vw - 24px);height:100vh;min-height:0;display:grid;position:relative;box-shadow:-28px 0 70px #0000006b}.admin-drawer-md{width:min(560px,100vw - 24px)}.admin-drawer-xl{width:min(980px,100vw - 24px)}.admin-drawer-head{border-bottom:1px solid #decda01f;justify-content:space-between;align-items:flex-start;gap:14px;padding:18px 20px;display:flex}.admin-drawer-head h2{color:#fff8dc;margin:3px 0 0;font-size:22px}.admin-drawer-head p{color:#edf3eb9e;margin:7px 0 0;font-size:13px;line-height:1.45}.admin-drawer-body{min-height:0;padding:20px;overflow:auto}.admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.admin-form-grid-users{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-form-wide{grid-column:1/-1}.admin-form-grid-lesson{grid-template-columns:minmax(150px,.8fr) minmax(220px,1.2fr) repeat(4,minmax(110px,.7fr))}.admin-form-grid-lesson-detail{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-form-grid-add-item{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-form-grid-curriculum-stage,.admin-form-grid-level-edit{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-knowledge-filter-form{grid-template-columns:repeat(4,minmax(160px,1fr)) auto;align-items:end}.admin-level-filter-form{grid-template-columns:minmax(150px,.7fr) minmax(260px,1.4fr) minmax(140px,.7fr) auto;align-items:end}.admin-form-span-2{grid-column:span 2}.admin-form-full{grid-column:1/-1}.admin-form-grid label,.admin-inline-field{gap:6px;min-width:0;display:grid}.admin-form-grid label span,.admin-inline-field span,.admin-help-text{color:#edf3eba3;font-size:12px;font-weight:850}.admin-form-grid input,.admin-form-grid select,.admin-form-grid textarea,.admin-inline-field input,.admin-inline-input{color:#f8f4df;width:100%;font:inherit;background:#0000002e;border:1px solid #decda029;border-radius:8px;outline:none;padding:10px 11px;font-size:13px;font-weight:750}.admin-form-grid textarea{resize:vertical}.admin-table-actions{border-top:1px solid #decda01a;justify-content:flex-end;padding:12px 14px;display:flex}.admin-detail-grid-wide{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.admin-lesson-plan-preview{background:#00000029;border:1px solid #decda01f;border-radius:8px;max-height:620px;padding:16px;overflow:auto}.admin-lesson-plan-textarea{min-height:520px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;line-height:1.55}.admin-json-textarea,.admin-code-textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;line-height:1.55}.admin-form-grid input:focus,.admin-form-grid select:focus,.admin-form-grid textarea:focus,.admin-inline-field input:focus,.admin-inline-input:focus{border-color:#f3d17a8c;box-shadow:0 0 0 3px #f3d17a1f}.admin-checkbox{grid-template-columns:auto minmax(0,1fr);align-content:center;min-height:40px}.admin-checkbox input{accent-color:#f3d17a;width:16px;height:16px;padding:0}.admin-danger-panel{background:#78202a24;border-color:#d1525c4d}.admin-empty-modern{place-items:center start;min-height:76px;display:grid}.admin-danger-button{background:#d1525c38;border-color:#ff7b8585}.admin-modal-backdrop{z-index:6000;background:#0a0f10ad;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.admin-modal{color:#f8f4df;background:#1f2522fa;border:1px solid #f6d27a47;border-radius:10px;gap:14px;width:min(860px,100vw - 48px);max-height:min(86vh,920px);padding:18px;display:grid;overflow:auto;box-shadow:0 28px 80px #00000075}.admin-modal-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.admin-modal-head h2{color:#fff8dc;font-size:20px}.admin-status{color:#fff;background:#66707a;border-radius:999px;justify-content:center;width:max-content;min-width:84px;padding:5px 9px;font-size:12px;font-style:normal;font-weight:950;display:inline-flex}.admin-status-published,.admin-status-imported,.admin-status-approved,.admin-status-resolved{background:#4d8f54}.admin-status-review,.admin-status-validated,.admin-status-triaged{background:#b8872d}.admin-status-draft,.admin-status-open{background:#5f7282}.admin-status-archived,.admin-status-rejected,.admin-status-ignored{background:#9b4f43}.admin-system-log-debug,.admin-system-log-info{background:#5f7282}.admin-system-log-warn{background:#b8872d}.admin-system-log-error{background:#dc2626}.admin-system-log-fatal{background:#7e22ce}.admin-verdict-ac{background:#16a34a}.admin-verdict-wa,.admin-verdict-judge-error{background:#dc2626}.admin-verdict-ce{background:#f59e0b}.admin-verdict-re{background:#c026d3}.admin-verdict-tle,.admin-verdict-mle{background:#1e3a8a}.admin-verdict-pe{background:#ec4899}.admin-dl{grid-template-columns:150px minmax(0,1fr);gap:10px 14px;margin:0;display:grid}.admin-dl dd{overflow-wrap:anywhere;min-width:0;margin:0}.admin-prewrap{white-space:pre-wrap}.admin-empty{color:#edf3eba3;padding:12px 14px}@media (max-width:980px){.admin-shell{grid-template-columns:82px minmax(0,1fr)}.admin-sidebar{padding:14px 10px}.admin-brand{text-align:center;padding:10px 8px}.admin-brand span,.admin-sidebar nav a span,.admin-user span,.admin-user strong{display:none}.admin-brand strong{font-size:13px}.admin-sidebar nav a{text-align:center;min-height:40px;padding:9px 6px}.admin-sidebar nav a strong{text-overflow:ellipsis;font-size:11px;overflow:hidden}.admin-content{padding:16px}.admin-topbar{min-height:52px;padding:8px 14px}.admin-filter-bar,.admin-overview-foldout-grid,.admin-overview-server-metrics,.admin-form-grid,.admin-form-grid-users,.admin-form-grid-lesson,.admin-form-grid-today-news,.admin-level-filter-form,.admin-knowledge-filter-form,.admin-news-edit-preview{grid-template-columns:1fr}.admin-page-head,.admin-panel-head,.admin-overview-foldout>summary{flex-direction:column;align-items:flex-start}.admin-overview-foldout-meta{text-align:left;white-space:normal}}.admin-shell{--admin-bg:#f6f7fb;--admin-surface:#fff;--admin-surface-muted:#f8fafc;--admin-sidebar:#111827;--admin-sidebar-muted:#9ca3af;--admin-border:#e5e7eb;--admin-border-strong:#d1d5db;--admin-text:#111827;--admin-muted-text:#667085;--admin-soft-text:#98a2b3;--admin-primary:#2563eb;--admin-primary-dark:#1d4ed8;--admin-primary-soft:#eff6ff;--admin-danger:#dc2626;--admin-danger-soft:#fef2f2;--admin-success:#15803d;--admin-success-soft:#f0fdf4;--admin-warning:#b45309;--admin-warning-soft:#fffbeb;--admin-shadow:0 1px 2px #1018280f, 0 8px 24px #1018280f;--admin-radius:8px;color:var(--admin-text);background:var(--admin-bg);grid-template-columns:264px minmax(0,1fr)}.admin-shell,.admin-shell *{letter-spacing:0}.admin-sidebar{background:var(--admin-sidebar);border-right:1px solid #101827;gap:14px}.admin-brand{color:#bfdbfe;letter-spacing:0;background:#ffffff0f;border-color:#ffffff1f}.admin-brand strong{color:#fff;font-size:18px;font-weight:800}.admin-brand span,.admin-sidebar nav a span{color:var(--admin-sidebar-muted)}.admin-sidebar nav a{color:#d1d5db;background:0 0;border:1px solid #0000}.admin-sidebar nav a:hover{color:#fff;background:#ffffff0f;border-color:#ffffff14}.admin-sidebar nav a.active,.admin-sidebar nav a[aria-current=page]{color:#fff;background:#2563eb38;border-color:#60a5fa57}.admin-sidebar nav a strong{font-weight:650}.admin-user{border-top-color:#ffffff1a}.admin-user span{color:var(--admin-sidebar-muted)}.admin-user strong{color:#fff;font-weight:650}.admin-logout{color:#e5e7eb;background:#ffffff14;border-color:#ffffff24}.admin-main{background:var(--admin-bg)}.admin-topbar{border-bottom:1px solid var(--admin-border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffe0;min-height:60px}.admin-topbar strong{color:var(--admin-text);font-size:14px;font-weight:700}.admin-content{padding:28px}.admin-stack{gap:20px;max-width:1500px}.admin-page-head h1{color:var(--admin-text);font-size:30px;font-weight:750}.admin-page-description,.admin-muted,.admin-help-text{color:var(--admin-muted-text)}.admin-eyebrow,.admin-count,.admin-table small,.admin-list-row small{color:var(--admin-muted-text);letter-spacing:0;font-weight:650}.admin-page-actions{align-items:flex-start}.admin-metric,.admin-fact,.admin-panel,.admin-table,.admin-overview-foldout{border:1px solid var(--admin-border);border-radius:var(--admin-radius);background:var(--admin-surface);box-shadow:var(--admin-shadow)}.admin-metric,.admin-fact{gap:10px;padding:16px}.admin-metric span,.admin-fact span{color:var(--admin-muted-text);font-weight:650}.admin-metric strong,.admin-fact strong{color:var(--admin-text);font-size:26px;font-weight:750}.admin-metric small{color:var(--admin-muted-text);font-weight:500}.admin-stat-good strong{color:var(--admin-success)}.admin-stat-warn strong{color:var(--admin-warning)}.admin-stat-danger strong{color:var(--admin-danger)}.admin-panel h2,.admin-overview-foldout-title strong,.admin-error-log-row strong,.admin-news-body strong{color:var(--admin-text);font-weight:700}.admin-panel,.admin-table{overflow:clip}.admin-panel-head{border-bottom:1px solid var(--admin-border);padding-bottom:14px}.admin-title-link,.admin-panel-head a{color:var(--admin-primary);font-weight:650}.admin-title-link:hover{color:var(--admin-primary-dark);text-decoration:underline}.admin-button,.admin-small-button,.admin-secondary-link{border:1px solid var(--admin-border-strong);border-radius:var(--admin-radius);color:#344054;background:#fff;font-weight:650;text-decoration:none}.admin-button{border-color:var(--admin-primary);color:#fff;background:var(--admin-primary)}.admin-secondary-link{color:#344054;min-height:34px}.admin-button:hover{border-color:var(--admin-primary-dark);background:var(--admin-primary-dark)}.admin-small-button:hover,.admin-secondary-link:hover{background:#f9fafb;border-color:#98a2b3}.admin-danger-button{color:var(--admin-danger);background:var(--admin-danger-soft);border-color:#fecaca}.admin-danger-button:hover{background:#fee2e2;border-color:#fca5a5}.admin-filter-bar{grid-template-columns:repeat(4,minmax(160px,1fr)) auto;gap:12px}.admin-filter-bar label span,.admin-form-grid label span,.admin-inline-field span{color:#475467;font-weight:650}.admin-filter-bar input,.admin-filter-bar select,.admin-form-grid input,.admin-form-grid select,.admin-form-grid textarea,.admin-inline-field input,.admin-inline-input{border-color:var(--admin-border-strong);color:var(--admin-text);background:#fff;font-weight:500}.admin-filter-bar input:focus,.admin-filter-bar select:focus,.admin-form-grid input:focus,.admin-form-grid select:focus,.admin-form-grid textarea:focus,.admin-inline-field input:focus,.admin-inline-input:focus{border-color:#84adff;box-shadow:0 0 0 3px #2563eb1f}.admin-filter-actions{align-items:end;gap:8px;display:inline-flex}.admin-filter-reset{min-height:42px}.admin-submission-user-search{grid-column:span 2;gap:8px;min-width:0;display:grid;position:relative}.admin-submission-user-search-label{gap:6px;min-width:0;display:grid}.admin-submission-user-search-label>span{color:#475467;font-size:12px;font-weight:650}.admin-submission-user-input-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.admin-submission-user-input-row input{border:1px solid var(--admin-border-strong);width:100%;color:var(--admin-text);font:inherit;background:#fff;border-radius:8px;outline:none;padding:10px 11px;font-size:13px;font-weight:500}.admin-submission-user-input-row input:focus{border-color:#84adff;box-shadow:0 0 0 3px #2563eb1f}.admin-submission-user-results{z-index:30;border:1px solid var(--admin-border-strong);background:#fff;border-radius:10px;width:min(100%,560px);max-height:320px;padding:6px;display:grid;position:absolute;top:68px;left:0;overflow:auto;box-shadow:0 18px 42px #0f172a29}.admin-submission-user-option{width:100%;color:var(--admin-text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:9px 10px;display:grid}.admin-submission-user-option:hover,.admin-submission-user-option:focus-visible{background:#eff6ff;outline:none}.admin-submission-user-option strong,.admin-submission-user-option small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.admin-submission-user-option span{color:#1d4ed8;background:#dbeafe;border-radius:999px;align-self:start;padding:2px 7px;font-size:11px;font-weight:750}.admin-submission-user-option small,.admin-submission-user-help{color:var(--admin-muted);font-size:12px}.admin-submission-user-help{padding:8px 10px}.admin-submission-user-footer{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.admin-submission-user-chip{min-width:0;color:var(--admin-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.admin-submission-user-chip.active{color:var(--admin-text)}.admin-submission-user-scope{min-height:auto}.admin-submission-user-scope.disabled{opacity:.48}.admin-tabs{border-bottom:1px solid var(--admin-border);padding-bottom:0}.admin-tabs a{border-color:var(--admin-border);color:#475467;background:#fff;border-bottom-color:#0000;border-radius:8px 8px 0 0;min-height:42px;font-weight:650;position:relative}.admin-tabs a.active{border-color:#bfdbfe;border-bottom-color:var(--admin-primary-soft);color:var(--admin-primary-dark);background:var(--admin-primary-soft)}.admin-tabs a.active:after{background:var(--admin-primary);content:"";border-radius:999px;height:2px;position:absolute;bottom:-1px;left:10px;right:10px}.admin-tabs strong{color:var(--admin-primary-dark);background:#dbeafe;font-weight:700}.admin-shell .admin-level-tabs{border-color:var(--admin-border);background:var(--admin-surface);box-shadow:var(--admin-shadow);flex-wrap:nowrap;overflow-x:auto}.admin-shell .admin-level-tabs a{border-color:var(--admin-border);color:#475467;white-space:nowrap;background:#fff;flex:none;font-weight:650;text-decoration:none}.admin-shell .admin-level-tabs a:hover{color:var(--admin-primary-dark);background:var(--admin-primary-soft);border-color:#bfdbfe}.admin-shell .admin-level-tabs a.active,.admin-shell .admin-track-toggle{border-color:var(--admin-primary);color:#fff;background:var(--admin-primary)}.admin-shell .admin-track-toggle:hover{border-color:var(--admin-primary-dark);background:var(--admin-primary-dark)}.admin-shell .admin-plain-list{border-color:var(--admin-border);background:var(--admin-surface);box-shadow:var(--admin-shadow)}.admin-shell .admin-plain-list-head{border-bottom:1px solid var(--admin-border);color:var(--admin-muted-text);background:var(--admin-surface-muted);font-weight:700}.admin-shell .admin-plain-list-row{border-top:1px solid var(--admin-border);color:var(--admin-text);background:#fff;text-decoration:none}.admin-shell .admin-plain-list-row:first-of-type{border-top:0}.admin-shell .admin-plain-list-row:hover{background:#f9fafb}.admin-shell .admin-plain-list-row.active{color:var(--admin-text);background:var(--admin-primary-soft);box-shadow:inset 3px 0 0 var(--admin-primary)}.admin-shell .admin-plain-list-row span{overflow-wrap:anywhere;min-width:0}.admin-shell .admin-plain-list-row small{color:var(--admin-muted-text);font-weight:600}.admin-shell .admin-stage-card{border-color:var(--admin-border);color:var(--admin-text);background:var(--admin-surface)}.admin-shell .admin-stage-card.active{background:var(--admin-primary-soft);box-shadow:inset 3px 0 0 var(--admin-primary);border-color:#bfdbfe}.admin-shell .admin-stage-card span,.admin-shell .admin-stage-card small{color:var(--admin-muted-text)}.admin-shell .admin-stage-card strong{color:var(--admin-text)}.admin-shell .admin-statement-preview{border-color:var(--admin-border);box-shadow:var(--admin-shadow);background:#fff}.admin-shell .admin-statement-preview .statement-markdown,.admin-shell .admin-statement-preview .statement-markdown :where(h1,h2,h3,h4,strong){color:var(--admin-text)}.admin-shell .admin-statement-preview .statement-markdown :where(p,li,blockquote,td,th){color:#344054}.admin-shell .admin-statement-preview .statement-markdown :where(code){color:#1d4ed8;background:#eff6ff}.admin-shell .admin-statement-preview .statement-markdown :where(pre){border-color:var(--admin-border);color:#111827;box-shadow:none;background:#f8fafc}.admin-shell .admin-statement-preview .statement-markdown a,.admin-shell .admin-statement-preview .statement-markdown :where(.katex){color:var(--admin-primary-dark)}.admin-table{overflow:auto hidden}.admin-table-head,.admin-table-row{color:var(--admin-text)}.admin-table-head{border-bottom:1px solid var(--admin-border);color:#667085;background:var(--admin-surface-muted);font-weight:650}.admin-table-row{border-top:1px solid var(--admin-border);background:#fff}.admin-table-row:first-of-type{border-top:0}.admin-table-row:hover{background:#f9fafb}.admin-table-row.active{background:var(--admin-primary-soft);box-shadow:inset 3px 0 0 var(--admin-primary)}.admin-table-row:focus-visible{outline:2px solid #84adff}.admin-table-head>:last-child,.admin-table-row>:last-child{z-index:2;background:inherit;position:sticky;right:0;box-shadow:-12px 0 18px #ffffffe0}.admin-row-actions,.admin-status-stack,.admin-submission-actions,.admin-submission-detail-actions{justify-content:flex-end}.admin-row-actions{flex-wrap:nowrap}.admin-pagination{color:var(--admin-muted-text);font-weight:600}.admin-status{color:#344054;background:#f2f4f7;border:1px solid #e5e7eb;min-width:72px;font-weight:700}.admin-status-active,.admin-status-published,.admin-status-imported,.admin-status-approved,.admin-status-resolved,.admin-verdict-ac{color:#166534;background:#dcfce7;border-color:#bbf7d0}.admin-status-review,.admin-status-validated,.admin-status-triaged,.admin-status-pending,.admin-status-judging,.admin-verdict-ce,.admin-verdict-tle,.admin-verdict-mle,.admin-verdict-pe{color:#92400e;background:#fef3c7;border-color:#fde68a}.admin-status-draft,.admin-status-open,.admin-system-log-debug,.admin-system-log-info{color:#1e40af;background:#eff6ff;border-color:#dbeafe}.admin-status-archived,.admin-status-rejected,.admin-status-ignored,.admin-status-suspended,.admin-status-deleted,.admin-verdict-wa,.admin-verdict-judge-error,.admin-verdict-re,.admin-system-log-error,.admin-system-log-fatal{color:#991b1b;background:#fee2e2;border-color:#fecaca}.admin-system-log-warn{color:#92400e;background:#fef3c7;border-color:#fde68a}.admin-drawer-layer{background:#0f172a52}.admin-drawer{border-left:1px solid var(--admin-border);color:var(--admin-text);background:#fff;box-shadow:-24px 0 60px #1018282e}.admin-drawer-head{border-bottom-color:var(--admin-border);background:#fff}.admin-drawer-head h2,.admin-modal-head h2{color:var(--admin-text);font-weight:750}.admin-drawer-head p{color:var(--admin-muted-text)}.admin-shell .admin-submission-code{border-color:var(--admin-border);color:#111827;background:#f8fafc;box-shadow:inset 0 0 0 1px #ffffffb8}.admin-modal-backdrop{background:#0f172a61}.admin-modal{border-color:var(--admin-border);color:var(--admin-text);background:#fff;box-shadow:0 24px 70px #10182833}.admin-overview-foldout>summary{color:var(--admin-text)}.admin-overview-foldout>summary:hover,.admin-overview-foldout>summary:focus-visible{background:var(--admin-surface-muted)}.admin-overview-foldout>summary:focus-visible{outline-color:#84adff}.admin-overview-foldout-title small,.admin-overview-foldout-meta{color:var(--admin-muted-text)}.admin-overview-foldout-chevron{color:var(--admin-primary);background:var(--admin-primary-soft);border-color:#bfdbfe}.admin-list-row,.admin-error-log-row,.admin-version-card,.admin-readiness-pill,.admin-readiness-blocker{border:1px solid var(--admin-border);background:var(--admin-surface-muted)}.admin-verdict-ratio-row span,.admin-verdict-ratio-row strong{color:var(--admin-text)}.admin-verdict-ratio-row small,.admin-error-log-row small,.admin-error-log-row p{color:var(--admin-muted-text)}.admin-verdict-meter{background:#e5e7eb}.admin-error-log-list{max-height:520px}.admin-dl dt{color:var(--admin-muted-text);font-weight:650}.admin-empty{color:var(--admin-muted-text)}.admin-empty-modern{border:1px dashed var(--admin-border-strong);border-radius:var(--admin-radius);background:var(--admin-surface-muted);min-height:92px}.admin-shell .admin-inline-warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.admin-shell .admin-inline-success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.admin-shell .admin-behavior-report-row{border-color:var(--admin-border);color:var(--admin-text);box-shadow:none;background:#fff}.admin-shell .admin-behavior-report-row:hover,.admin-shell .admin-behavior-report-row.active{background:#eff6ff;border-color:#84adff}.admin-shell .admin-behavior-report-row strong{color:var(--admin-text)}.admin-shell .admin-behavior-report-row span{color:var(--admin-muted-text)}.admin-shell .admin-behavior-detail-card{border-color:var(--admin-border);color:var(--admin-text);box-shadow:none;background:#fff}.admin-shell .admin-behavior-detail-card>header{border-bottom:1px solid var(--admin-border);padding-bottom:12px}.admin-shell .admin-behavior-detail-card>header strong,.admin-shell .admin-behavior-detail-card .statement-markdown :where(h1,h2,h3,h4,strong){color:var(--admin-text)}.admin-shell .admin-behavior-detail-card>header span,.admin-shell .admin-behavior-detail-card .statement-markdown :where(p,li,blockquote,td,th){color:#344054}.admin-shell .admin-behavior-detail-card .statement-markdown :where(code){color:#1d4ed8;background:#eff6ff}.admin-shell .admin-behavior-detail-card .statement-markdown :where(pre){border:1px solid var(--admin-border);color:#111827;box-shadow:none;background:#f8fafc}.admin-shell .admin-behavior-detail-card .statement-markdown a,.admin-shell .admin-behavior-detail-card .statement-markdown :where(.katex){color:var(--admin-primary-dark)}.admin-shell .admin-behavior-generate-hint{margin-top:8px}.admin-user-detail-page{max-width:1540px}.admin-user-hero{border:1px solid var(--admin-border);border-radius:var(--admin-radius);background:var(--admin-surface);box-shadow:var(--admin-shadow);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;padding:18px;display:grid}.admin-user-avatar{color:#1d4ed8;background:#dbeafe;border-radius:8px;place-items:center;width:64px;height:64px;font-size:26px;font-weight:800;display:grid}.admin-user-hero-main,.admin-user-hero-title,.admin-user-hero-meta{min-width:0}.admin-user-hero-main{gap:10px;display:grid}.admin-user-hero-title{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.admin-user-hero-title h2{color:var(--admin-text);margin:2px 0 0;font-size:24px;font-weight:760}.admin-user-hero-meta{flex-wrap:wrap;gap:8px;display:flex}.admin-user-hero-meta span{border:1px solid var(--admin-border);color:var(--admin-muted-text);background:var(--admin-surface-muted);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:650}.admin-user-metric-table-wrap{border:1px solid var(--admin-border);border-radius:var(--admin-radius);background:var(--admin-surface);box-shadow:var(--admin-shadow);overflow-x:auto}.admin-user-metric-table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:1180px}.admin-user-metric-table th,.admin-user-metric-table td{border-right:1px solid var(--admin-border);text-align:left;vertical-align:middle;width:8.33333%;padding:10px 8px}.admin-user-metric-table th:last-child,.admin-user-metric-table td:last-child{border-right:0}.admin-user-metric-table th{border-bottom:1px solid var(--admin-border);color:var(--admin-muted-text);background:var(--admin-surface-muted);text-transform:uppercase;font-size:11px;font-weight:750}.admin-user-metric-table td{color:var(--admin-text);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:720;overflow:hidden}.admin-user-metric-table .admin-status{min-width:0;max-width:100%}.admin-user-dashboard-grid,.admin-user-report-layout{align-items:start;gap:16px;display:grid}.admin-user-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-user-report-layout{grid-template-columns:minmax(320px,.82fr) minmax(0,1.38fr)}.admin-user-report-sidebar,.admin-summary-list,.admin-compact-list{gap:10px;display:grid}.admin-summary-row,.admin-compact-row,.admin-compact-row-link{min-width:0}.admin-summary-row{border:1px solid var(--admin-border);background:var(--admin-surface-muted);border-radius:8px;grid-template-columns:130px minmax(0,1fr);gap:12px;padding:10px 12px;display:grid}.admin-summary-row span{color:var(--admin-muted-text);font-weight:650}.admin-summary-row strong{min-width:0;color:var(--admin-text);overflow-wrap:anywhere;justify-items:start;gap:2px;font-weight:650;display:grid}.admin-summary-row small{color:var(--admin-muted-text);font-weight:600}.admin-compact-row,.admin-compact-row-link{border:1px solid var(--admin-border);color:inherit;background:var(--admin-surface-muted);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;display:grid}.admin-compact-row:hover,.admin-compact-row.active{background:var(--admin-primary-soft);border-color:#bfdbfe}.admin-compact-row div,.admin-compact-row-link div{gap:3px;min-width:0;display:grid}.admin-compact-row strong,.admin-compact-row span,.admin-compact-row-link strong,.admin-compact-row-link span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.admin-compact-row strong,.admin-compact-row-link strong{color:var(--admin-text);font-size:13px}.admin-compact-row span,.admin-compact-row small,.admin-compact-row-link span{color:var(--admin-muted-text);font-size:12px;font-weight:600}.admin-compact-row-with-action{grid-template-columns:minmax(0,1fr) auto;padding:0;overflow:hidden}.admin-compact-row-with-action .admin-compact-row-link{background:0 0;border:0;border-radius:0}.admin-compact-row-with-action form{padding-right:10px}.admin-user-report-detail-panel{min-height:420px}.admin-user-markdown-card{border-color:var(--admin-border);color:var(--admin-text);background:#fff}.admin-user-markdown-card>header{border-bottom:1px solid var(--admin-border);padding-bottom:12px}.admin-user-markdown-card>header span,.admin-user-markdown-card .statement-markdown p,.admin-user-markdown-card .statement-markdown li{color:var(--admin-muted-text)}.admin-user-markdown-card .statement-markdown h1,.admin-user-markdown-card .statement-markdown h2,.admin-user-markdown-card .statement-markdown h3{color:var(--admin-text)}.admin-user-card-actions{align-items:center;gap:8px;display:inline-flex}.admin-parent-student-card{border:1px solid var(--admin-border);background:var(--admin-surface-muted);border-radius:8px;gap:10px;padding:12px;display:grid}.admin-parent-student-card>header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.admin-parent-student-card>header>div{gap:3px;min-width:0;display:grid}.admin-parent-student-card strong,.admin-parent-student-card span,.admin-parent-student-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.admin-parent-student-card span,.admin-parent-student-card small{color:var(--admin-muted-text);font-size:12px;font-weight:600}.admin-user-inline-foldout{border:1px solid var(--admin-border);background:var(--admin-surface-muted);border-radius:8px}.admin-user-inline-foldout summary{cursor:pointer;color:var(--admin-text);padding:10px 12px;font-weight:700}.admin-user-inline-foldout .admin-form-grid{border-top:1px solid var(--admin-border);padding:12px}.admin-garlic-ledger-wrap{gap:12px;display:grid;overflow-x:auto}.admin-garlic-ledger-table{border-collapse:collapse;width:100%;min-width:1120px}.admin-garlic-ledger-table th,.admin-garlic-ledger-table td{border-bottom:1px solid var(--admin-border);color:var(--admin-text);text-align:left;vertical-align:top;padding:10px 12px}.admin-garlic-ledger-table th{color:var(--admin-muted-text);background:var(--admin-surface-muted);text-transform:uppercase;white-space:nowrap;font-size:11px;font-weight:750}.admin-garlic-ledger-table td{font-size:12px;font-weight:620}.admin-garlic-ledger-table code{color:var(--admin-muted-text);font-size:11px}.admin-garlic-delta-positive{color:#047857!important;font-weight:760!important}.admin-garlic-delta-negative{color:#b91c1c!important;font-weight:760!important}.admin-garlic-ledger-actions{flex-wrap:wrap;gap:8px;display:flex}.admin-form-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-panel-action-form{margin-top:12px}.admin-loading-state,.admin-error-state{place-items:center;min-height:360px;display:grid}.admin-loading-card,.admin-error-card{border:1px solid var(--admin-border);border-radius:var(--admin-radius);width:min(520px,100%);box-shadow:var(--admin-shadow);background:#fff;gap:12px;padding:24px;display:grid}.admin-loading-card h1,.admin-error-card h1{color:var(--admin-text);margin:0;font-size:22px;font-weight:750}.admin-loading-card p,.admin-error-card p{color:var(--admin-muted-text);margin:0;line-height:1.5}.admin-loading-pulse{border:4px solid #dbeafe;border-top-color:var(--admin-primary);border-radius:999px;width:42px;height:42px;animation:.9s linear infinite admin-spin}@keyframes admin-spin{to{transform:rotate(360deg)}}@media (max-width:980px){.admin-shell{grid-template-columns:82px minmax(0,1fr)}.admin-content{padding:16px}.admin-filter-bar,.admin-overview-server-metrics,.admin-filter-actions{grid-template-columns:1fr;width:100%}.admin-submission-user-search{grid-column:auto}.admin-filter-actions{display:grid}.admin-filter-reset{width:100%}.admin-user-hero,.admin-user-hero-title,.admin-user-dashboard-grid,.admin-user-report-layout,.admin-form-grid-compact{grid-template-columns:1fr}.admin-user-hero-title{display:grid}.admin-summary-row,.admin-compact-row,.admin-compact-row-link,.admin-compact-row-with-action,.admin-parent-student-card>header{grid-template-columns:1fr}.admin-compact-row-with-action form{padding:0 10px 10px}.admin-table-head>:last-child,.admin-table-row>:last-child{box-shadow:none;position:static}}.test-page{height:100vh;min-height:100vh;color:var(--ink);background:linear-gradient(#fff8e2eb,#fff8e2f5),url(/assets/art/backgrounds/ch1-mist-town/main-map-v1.webp) 50%/cover no-repeat;padding:28px;overflow:hidden auto}.test-page-head,.test-summary-grid,.test-level-table{width:min(1180px,100%);margin:0 auto}.test-page-head{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px;display:flex}.test-page-head h1{color:#3e2d18;margin-top:4px;font-size:34px;line-height:1.1}.test-page-head p{color:#6c5f47;max-width:720px;margin-top:8px;font-weight:750;line-height:1.5}.test-secondary-link,.test-open-link{color:#fff8dc;background:#6a4c1d;border-radius:8px;justify-content:center;align-items:center;gap:6px;font-weight:900;display:inline-flex}.test-secondary-link{white-space:nowrap;min-height:40px;padding:0 14px}.test-summary-grid{grid-template-columns:repeat(2,minmax(0,180px));gap:12px;margin-bottom:14px;display:grid}.test-metric{background:#fffcedeb;border:1px solid #82643733;border-radius:10px;grid-template-rows:auto auto;grid-template-columns:28px 1fr;align-items:center;gap:4px 10px;min-height:76px;padding:14px;display:grid;box-shadow:0 12px 26px #422f1a1f}.test-metric svg{color:#6a4c1d;grid-row:1/span 2}.test-metric span{color:#7a6138;font-size:12px;font-weight:900}.test-metric strong{color:#3e2d18;font-size:24px;line-height:1}.test-level-table{gap:8px;display:grid}.test-filter-bar{flex-wrap:wrap;gap:8px;margin-bottom:4px;display:flex}.test-filter-bar button{color:#6a4c1d;min-height:36px;font:inherit;background:#fffceddb;border:1px solid #8264373d;border-radius:999px;align-items:center;gap:8px;padding:0 12px;font-size:13px;font-weight:900;display:inline-flex}.test-filter-bar button.active{color:#fff8dc;background:#6a4c1d}.test-filter-bar button span{color:#3e2d18;background:#ffe297bf;border-radius:999px;place-items:center;min-width:22px;height:22px;font-size:12px;display:grid}.test-level-table-head,.test-level-row{grid-template-columns:minmax(220px,1.4fr) minmax(140px,.75fr) minmax(220px,1fr) minmax(130px,.7fr) 92px;align-items:center;gap:12px;display:grid}.test-level-table-head{color:#7a6138;padding:0 12px 4px;font-size:12px;font-weight:950}.test-level-scroll{gap:8px;display:grid}.test-level-row{background:#fffcedf0;border:1px solid #82643733;border-radius:10px;min-height:92px;padding:12px;box-shadow:0 10px 24px #422f1a1f}.test-level-row div{gap:4px;min-width:0;display:grid}.test-level-row strong{color:#3e2d18;font-size:16px}.test-level-row span,.test-level-row small,.test-level-row em{overflow-wrap:anywhere;min-width:0}.test-level-row span{color:#3e2d18;font-weight:900}.test-level-row small{color:#75684f;font-size:12px;font-weight:780}.test-level-row em{color:#6a4c1d;font-size:12px;font-style:normal;font-weight:900}.test-status{color:#fff;background:#68737c;border-radius:999px;justify-content:center;width:fit-content;min-width:76px;padding:5px 9px;font-size:12px;font-style:normal;font-weight:950;display:inline-flex}.test-status-stack{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.test-pass-pill{color:#315b2e;background:#5d8e562e;border-radius:999px;justify-content:center;align-items:center;gap:4px;width:fit-content;min-width:78px;padding:5px 9px;font-size:12px;font-style:normal;font-weight:950;display:inline-flex}.test-status-published{background:#4d8f54}.test-status-review{background:#b8872d}.test-status-draft{background:#5f7282}.test-status-archived{background:#9b4f43}.test-open-link{min-height:38px;padding:0 12px}.test-pager{grid-template-columns:110px 1fr 110px;align-items:center;gap:10px;padding-top:4px;display:grid}.test-pager button{color:#6a4c1d;min-height:38px;font:inherit;background:#fffcede6;border:1px solid #82643738;border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:13px;font-weight:900;display:inline-flex}.test-pager button:disabled{cursor:not-allowed;opacity:.45}.test-pager span{color:#7a6138;text-align:center;font-size:13px;font-weight:900}.test-empty{color:#7a6138;background:#fffcedeb;border-radius:10px;margin:0;padding:18px;font-weight:900}.test-progress-label{color:#fff8dc;font-weight:900;overflow:hidden}.test-progress-label span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body :where(:not(button):not(button *)){font-weight:400!important}@media (max-height:760px) and (min-width:981px){.exam-page{grid-template-rows:52px minmax(0,1fr);gap:8px;padding:5px 12px 10px}.exam-topbar{grid-template-columns:minmax(171px,.74fr) minmax(184px,.76fr) minmax(104px,.32fr) minmax(156px,.5fr) 94px 112px;width:calc(100% - clamp(104px,9.5vw,132px))}.exam-title-card,.exam-question-trigger,.exam-status-card,.exam-monitor-card,.exam-pause-button,.exam-finish-button{height:42px}.exam-title-copy em,.exam-monitor-card:not(.exam-monitor-card-video)>span:first-child{display:none}.exam-main{grid-template-columns:minmax(300px,29%) minmax(0,1fr)}.exam-main.task-expanded{grid-template-columns:minmax(340px,46%) minmax(0,1fr);width:100%}.exam-main .task-scroll{padding:14px 18px}.programming-scene{grid-template-rows:32px minmax(0,1fr);gap:6px;padding:6px 10px 8px}.programming-topbar{grid-template-columns:82px minmax(270px,.78fr) minmax(0,1fr) 54px}.programming-topbar .kit-logo img{width:64px}.titlebar-promote-progress{gap:12px}.titlebar-promote-nodes{grid-template-columns:repeat(5,44px);gap:12px}.titlebar-promote-node{width:36px;height:36px;font-size:16px}.titlebar-promote-node:not(:last-child):after{width:10px;font-size:11px;left:calc(100% + 5px)}.titlebar-promote-node.current{width:44px;height:44px;font-size:20px;transform:translateY(-1px)}.titlebar-promote-node.current:hover{transform:translateY(-2px)}.titlebar-promote-summary{max-width:min(30vw,320px);min-height:18px;padding:0 6px;font-size:9px;left:calc(50% + 148px)}.programming-layout{grid-template-columns:minmax(280px,25%) minmax(0,1fr);gap:10px}.programming-layout.task-expanded{grid-template-columns:minmax(340px,46%) minmax(0,1fr);width:100%}.programming-layout.editor-expanded,.programming-layout.task-expanded.editor-expanded{grid-template-columns:minmax(0,0) minmax(0,1fr);gap:0}.task-scroll{padding:10px 12px}.task-expand-button{top:10px;right:12px}.task-top{padding-right:38px}.section-label{height:30px;padding:0 12px;font-size:15px}.task-title-row{margin:8px 0 6px}.task h1{margin:0;font-size:19px}.task h2{margin:10px 0 5px;font-size:16px}.statement-image img{max-height:150px}.sample-row,.hint-list details{padding:8px}.sample-head{align-items:center}.sample-head-controls{justify-content:flex-end;width:auto}.workbench{--spcg-results-row-height:clamp(82px, 16vh, 120px);--ide-toolbar-height:32px;--ide-toolbar-center-y:16px;grid-template-rows:minmax(0, 1fr) var(--spcg-results-row-height)}.workbench.output-expanded{--spcg-results-row-height:clamp(164px, 32vh, 240px);grid-template-rows:minmax(0, 1fr) var(--spcg-results-row-height)}.workbench.results-maximized,.workbench.output-expanded.results-maximized{--spcg-results-row-height:50%;grid-template-rows:minmax(0,1fr) minmax(0,50%)}.editor-shell{grid-template-rows:var(--ide-toolbar-height) minmax(0, 1fr)}.result-list{padding:8px 12px}.console-panel{padding:8px 10px}.case{min-height:24px}.judge-actions{gap:6px;width:128px;bottom:10px;right:10px}.completion-next-button,.asset-button{border-radius:10px;height:40px;font-size:15px}}@media (max-width:1280px) and (min-width:981px){.exam-page{grid-template-rows:100px minmax(0,1fr)}.exam-topbar{grid-template-rows:repeat(2,minmax(42px,1fr));grid-template-columns:minmax(170px,1fr) minmax(162px,.74fr) minmax(92px,124px) minmax(120px,.55fr) 94px 104px;width:calc(100% - clamp(104px,10vw,136px))}.exam-title-card{grid-area:1/1/auto/span 4}.exam-question-menu{grid-area:2/1/auto/span 2}.exam-status-card.timer{grid-area:2/3}.exam-monitor-card{grid-area:2/4/auto/span 3}.exam-monitor-card span{font-size:12px}.exam-pause-button{grid-area:1/5;justify-self:stretch}.exam-finish-button{grid-area:1/6;justify-self:stretch}.programming-topbar{grid-template-columns:86px minmax(270px,.78fr) minmax(0,1fr) 54px}.titlebar-promote-summary{max-width:min(28vw,320px)}.settings-shell{padding-top:16px;padding-bottom:16px}.settings-layout{gap:10px}.settings-hero{gap:10px;padding:10px 12px}.settings-avatar-preview{border-radius:12px;width:48px;height:48px;font-size:20px}.settings-hero h1{font-size:24px}.settings-hero p{font-size:12px}.settings-tabs a,.settings-tabs button{padding:7px 9px}.settings-tabs span{display:none}.settings-tab-content{gap:8px}.settings-panel{gap:8px;padding:12px}}@media (max-width:980px){html,body{overflow:auto}.test-page-head{flex-direction:column;align-items:flex-start}.test-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.submission-detail-grid{grid-template-columns:1fr}.settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-modal-backdrop{padding:10px}.settings-modal-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);height:calc(100vh - 20px);max-height:calc(100vh - 20px)}.settings-modal-body{padding:12px}.settings-layout-modal .settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout-modal .settings-hero{align-items:flex-start}.settings-grid,.settings-profile-fields,.settings-security-grid,.settings-session-panel{grid-template-columns:1fr}.settings-session-card{min-width:0}.test-level-table-head{display:none}.test-level-row{grid-template-columns:1fr;align-items:stretch}.test-open-link{justify-self:start;min-width:110px}.test-pager{grid-template-columns:1fr}body:has(.ranked-exam-page) .user-account-menu-floating{top:calc(env(safe-area-inset-top,0px) + 8px);right:calc(env(safe-area-inset-right,0px) + 10px)}body:has(.ranked-exam-page) .session-user-badge{width:clamp(104px,28vw,138px);max-width:clamp(104px,28vw,138px);height:28px}.exam-page{grid-template-rows:auto auto;height:auto;min-height:100vh;padding:42px 12px 12px;overflow:auto}.exam-topbar{grid-template-columns:minmax(104px,.7fr) minmax(190px,1.3fr);grid-auto-rows:minmax(38px,auto);gap:8px;width:100%}body:has(.ranked-exam-page) .exam-topbar{width:100%}.exam-topbar:before{inset:-6px -12px}.exam-status-card.timer,.exam-monitor-card,.exam-question-trigger,.exam-pause-button,.exam-finish-button{height:40px}.exam-title-card{grid-column:1/-1;height:46px;padding:0 13px}.exam-title-copy strong{font-size:16px}.exam-title-copy em{display:none}.exam-question-menu,.exam-monitor-card{grid-column:1/-1}.exam-status-card.timer{grid-column:1}.exam-monitor-card{grid-column:2}.exam-pause-button{grid-column:1;justify-self:center;width:min(100%,176px)}.exam-question-popover{width:min(520px,100vw - 32px)}.exam-question-list-grid{grid-template-columns:1fr}.exam-finish-button{grid-column:2;justify-self:center;width:min(100%,176px)}.exam-main,.exam-main.task-expanded{grid-template-columns:1fr;width:100%}.exam-main .task{max-height:42vh}.exam-workbench-wrap{min-height:650px}.level-node.exam strong{display:none}.village-hud,.programming-topbar{grid-template-columns:1fr auto;top:14px;left:16px;right:16px}.programming-topbar .programming-actions{right:0}.village-hud{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px}.village-logo,.kit-logo img{width:128px}.village-map-menus{grid-area:2/1/auto/-1;width:100%}.village-chapter-menu{min-width:0;max-width:none}.village-chapter-trigger{width:min(315px,100vw - 198px);min-width:0;min-height:42px;padding:6px 10px}.map-loading-hud .village-chapter-trigger{width:min(315px,100vw - 236px)}.village-chapter-menu-panel{width:min(340px,100vw - 32px);max-height:56vh}.village-level-menu{justify-self:end;max-width:104px}.village-level-trigger{min-width:0;min-height:42px;padding:7px 10px}.village-level-menu-panel{width:min(340px,100vw - 32px);max-height:56vh}.village-leaderboard-link{min-width:48px;min-height:42px;padding:7px 9px}.map-loading-panel.inline{min-width:44px;min-height:42px;padding:0 6px}.map-loading-panel.inline strong{font-size:11px}.village-actions{grid-area:1/2}.village-actions .hud-icon{width:42px;height:42px}.village-actions .hud-icon img{width:24px;height:24px}.village-chapter,.chapter-pill,.level-progress-strip,.titlebar-promote-progress{display:none}.chapter-switcher{max-width:none;padding-bottom:4px;top:76px;left:16px;right:16px;overflow-x:auto}.chapter-tab{min-width:112px}.programming-scene{grid-template-rows:58px minmax(0,auto);min-height:100vh;padding:14px;overflow:auto}.programming-main{overflow:visible}.programming-layout,.programming-layout.task-expanded{grid-template-columns:1fr;width:100%}.task{max-height:42vh}.workbench{--spcg-results-row-height:170px;grid-template-rows:minmax(0, 1fr) var(--spcg-results-row-height);min-height:650px}.whiteboard-modal{width:100%;height:100%;min-height:0}.whiteboard-modal-head{gap:5px;padding:6px;top:54px;right:6px}.whiteboard-toolbar{justify-items:stretch}.workbench.output-expanded{--spcg-results-row-height:300px;grid-template-rows:minmax(0, 1fr) var(--spcg-results-row-height)}.workbench.results-maximized,.workbench.output-expanded.results-maximized{--spcg-results-row-height:50%;grid-template-rows:minmax(0,1fr) minmax(0,50%)}.results-dock{grid-template-columns:1fr}.submission-history-panel{width:auto;left:10px}.history-panel-body,.workbench.history-has-source .history-panel-body{grid-template-columns:1fr}.history-list{border-bottom:1px solid #ffffff14;border-left:0;border-right:0;max-height:180px}.console-panel{border-top:1px solid #ffffff14;border-left:0}.judge-actions{grid-template-rows:repeat(2,minmax(46px,max-content));grid-template-columns:1fr;width:136px;bottom:12px;right:12px}.floating-video{width:auto;min-width:0;height:min(44vh,360px);min-height:220px;bottom:12px;left:12px;right:12px}}@media (max-width:980px),(orientation:portrait){.programming-scene{height:auto;min-height:var(--programming-viewport-height,100dvh);grid-template-rows:auto auto;overflow:hidden auto}.programming-main{height:auto;overflow:visible}.programming-layout,.programming-layout.task-expanded{grid-template-columns:minmax(0,1fr);align-content:start;max-width:100%;height:auto;overflow:visible}.programming-layout.editor-expanded,.programming-layout.task-expanded.editor-expanded{grid-template-columns:minmax(0,1fr);gap:0}.programming-layout .task{height:clamp(300px,42svh,480px);min-height:300px;max-height:none}.programming-layout.editor-expanded>.task{height:0;min-height:0}.programming-layout.task-expanded .task{height:min(70svh,620px);min-height:360px}.programming-layout.task-expanded.editor-expanded>.task{height:0;min-height:0}.programming-layout .task-scroll{min-height:0}.programming-layout>.workbench{height:min(820px,96svh);min-height:650px}.programming-layout.task-expanded .workbench .judge-actions{z-index:8;position:absolute;bottom:12px;right:12px}.completion-ko-overlay>img{width:min(88vw,600px)}.completion-split-letter{width:min(42vw,260px);max-width:34vh}.completion-split-ac{--split-letter-size:min(42vw, 260px);--split-letter-gap:min(20vw, 126px)}.completion-next-button{width:100%}}@media (prefers-reduced-motion:reduce){.programming-layout.completion-animation .completion-task-panel,.programming-layout.completion-animation .completion-workbench-panel,.completion-ko-overlay>img,.completion-split-ac{transition-duration:1ms}.completion-next-button{animation:none}.completion-ko-five-gates-show>img,.completion-ko-six-generals-show>img,.completion-ko-slide-out .completion-split-letter-a,.completion-ko-slide-out .completion-split-letter-c,.completion-ko-show .completion-split-letter-a,.completion-ko-show .completion-split-letter-c,.completion-ko-impact .completion-split-letter-a,.completion-ko-impact .completion-split-letter-c{animation-duration:1ms}.completion-ko-slide-out .completion-split-ac:before,.completion-ko-slide-out .completion-split-ac:after,.completion-ko-show .completion-split-ac:before,.completion-ko-show .completion-split-ac:after{opacity:0;animation:none}.programming-layout.completion-impact,.programming-layout.completion-impact .completion-task-panel,.programming-layout.completion-impact .completion-workbench-panel,.programming-layout.panel-motion-task-open .completion-task-panel,.programming-layout.panel-motion-task-close .completion-task-panel,.programming-layout.panel-motion-ide-open .completion-workbench-panel,.programming-layout.panel-motion-ide-close .completion-workbench-panel,.xingyin-mentor-layer,.xingyin-mentor-layer.dismissing{animation-duration:1ms;animation-delay:0s}body:has(.programming-layout.completion-impact) .programming-scene{animation-duration:1ms;animation-delay:0s}}@media (max-width:720px){@media (max-width:560px){.level-node,.level-node img{width:58px;height:58px}.level-node.exam{width:62px;height:62px}.level-node.exam img{width:38px;height:38px;inset:12px}.level-node.exam.training img,.level-node.exam.review img{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.level-node>span{font-size:11px}.level-node-stars{gap:1px;min-width:38px;padding:2px 4px}.level-node-stars i{font-size:9px}.map-mascot{width:64px;height:64px}.map-current-arrow{width:44px;height:50px}.current-level-cta{min-width:0;max-width:none;bottom:16px;left:16px;right:16px;transform:none}.current-level-cta-group{flex-direction:column;bottom:16px;left:16px;right:16px;transform:none}.current-level-cta-group .current-level-cta{max-width:none}.profile-learning-task{gap:12px;display:grid}.task-scroll,.result-list,.console-panel{padding:16px}.login-scene{padding:10px}.login-panel{border-width:4px;border-radius:26px;gap:16px;padding:22px}.login-form{gap:14px}.login-form .login-logo{width:124px;margin:0 0 6px 20px}.login-panel h1{font-size:34px}.login-panel input:not([type=hidden]){height:52px;padding:0 18px;font-size:20px}.login-form .game-start-button,.login-link{border-radius:16px;min-height:54px;font-size:20px}.case{grid-template-columns:20px 82px minmax(0,1fr);gap:8px}.case-with-action{grid-template-columns:20px 82px minmax(0,1fr) auto}.case-inline-action{padding:0 8px;font-size:11px}.completion-next-button,.asset-button{height:56px;font-size:18px}.console-panel{grid-template-columns:1fr}.whiteboard-toolbar button{min-width:34px;padding:0 7px}.whiteboard-title span{font-size:12px}.floating-video{grid-template-rows:36px minmax(0,1fr);min-height:200px}.section-title,.progress-row{grid-template-columns:1fr}.progress-row{gap:8px}.profile-submission-row{grid-template-columns:1fr}.profile-submission-actions{justify-content:flex-start;min-width:0}.profile-submission-cases{text-align:left}.submission-detail-topline,.submission-detail-header{flex-direction:column;align-items:flex-start}.submission-detail-status{justify-items:start}.submission-case-head,.submission-case-row{grid-template-columns:30px minmax(0,1fr) 70px}.submission-case-head span:last-child,.submission-case-row span:last-child{display:none}.progress-list-head,.progress-list-head div{flex-direction:column;align-items:flex-start}.progress-state{width:fit-content}.progress-pager{grid-template-columns:1fr}.progress-scroll-list{max-height:none}.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-metric{grid-template-columns:38px 1fr;min-height:88px;padding:14px}.profile-metric img,.profile-metric-icon-anchor{width:38px;height:38px}.profile-metric strong{font-size:20px}.profile-metric-title strong{white-space:nowrap;overflow-wrap:normal;font-size:14px}.profile-metric em{font-size:11px}.profile-metric-wechat-hint{width:calc(100% - 16px);min-width:0;padding:8px 9px;right:8px}.profile-inventory-row,.profile-reward-row,.profile-legion-showcase{grid-template-columns:1fr}.profile-legion-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-legion-records{max-height:360px}.profile-legion-section-title{flex-direction:column;align-items:flex-start}.profile-legion-section-title span{text-align:left}.profile-legion-stage-intro{font-size:12px}.profile-legion-stage{min-height:322px}.profile-legion-stage-art{min-height:178px;padding-inline:46px}.profile-legion-carousel{top:-96px;left:32px;right:32px}.profile-legion-troop-card{width:calc(100% - 8px);height:clamp(268px,72vw,350px)}.profile-legion-speech-bubble{width:min(220px,100% - 72px);padding:8px 10px;top:-8px;right:8px}.profile-legion-speech-bubble strong{font-size:12px}.profile-legion-speech-bubble span{font-size:11px}.profile-legion-troop-card.previous{left:calc(19% - 100px)}.profile-legion-troop-card.next{left:calc(81% + 100px)}.profile-legion-stage-head strong{-webkit-text-stroke-width:.4px;border-radius:12px;padding:5px 14px 6px;font-size:29px}.profile-legion-switch{width:34px;height:34px}.profile-legion-switch.previous{left:8px}.profile-legion-switch.next{right:8px}.profile-inventory-row:has(>img){grid-template-columns:34px 1fr}.profile-title-character-row{grid-template-columns:50px 1fr}.profile-title-character-image{width:50px;height:50px}.profile-inventory-row:has(>img) em{grid-column:2}.profile-title-character-row em{grid-column:2}.profile-inventory-row em,.profile-reward-row em{white-space:normal;justify-self:start}}.exam-monitor-card-video .exam-video-frame,.exam-monitor-card-video .exam-proctor-frame{display:block}.admin-inline-success{color:#065f46;background:#d1fae5b8;border:1px solid #10b98147;border-radius:12px;padding:12px 14px;font-weight:800}.admin-mono{letter-spacing:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.admin-invite-code-list{border:1px solid var(--admin-border);background:#fff;border-radius:12px;overflow-x:auto}.admin-invite-code-table-view{border-collapse:collapse;width:100%;min-width:1160px;color:var(--admin-text);font-size:13px}.admin-invite-code-table-view th,.admin-invite-code-table-view td{border-bottom:1px solid var(--admin-border);border-right:1px solid var(--admin-border);text-align:left;vertical-align:middle;padding:12px 14px}.admin-invite-code-table-view th:last-child,.admin-invite-code-table-view td:last-child{border-right:0}.admin-invite-code-table-view th{color:#667085;background:var(--admin-surface-muted);text-transform:uppercase;white-space:nowrap;font-size:12px;font-weight:750}.admin-invite-code-table-view tbody tr:hover{background:#f9fafb}.admin-invite-code-table-view tbody tr:last-child td{border-bottom:0}.admin-invite-code-table-view td{min-width:0}.admin-invite-code-table-view .admin-mono{color:#101828;font-size:13px}.admin-invite-code-table-view small{color:var(--admin-muted-text);text-overflow:ellipsis;overflow-wrap:anywhere;margin-top:4px;display:block}.admin-referral-flow,.admin-referral-meta-list,.admin-referral-code-cell{gap:7px;min-width:0;display:grid}.admin-referral-user,.admin-referral-meta-line{grid-template-columns:86px minmax(0,1fr);align-items:baseline;column-gap:8px;min-width:0;display:grid}.admin-referral-user em,.admin-referral-meta-line em{color:var(--admin-muted-text);letter-spacing:0;text-transform:uppercase;font-size:11px;font-style:normal;font-weight:800}.admin-referral-user .admin-title-link,.admin-referral-meta-line>span,.admin-referral-code-cell strong,.admin-referral-code-cell small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.admin-referral-user small{grid-column:2;margin-top:0}.admin-referral-id,.admin-referral-date{text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;max-width:100%;display:inline-block;overflow:hidden}.admin-referral-date{color:#344054;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px}.admin-referral-empty{color:var(--admin-muted-text)}.admin-referral-actions{flex-wrap:nowrap;align-items:flex-start}.admin-referral-actions .admin-small-button{white-space:nowrap}.admin-invite-code-empty{color:var(--admin-muted-text);text-align:center;font-weight:700}@media (max-width:980px){.exam-video-popover{width:min(340px,100vw - 24px);right:50%;transform:translate(50%)}}@media (max-width:560px){.exam-video-monitor{grid-template-columns:34px minmax(52px,1fr) 34px;gap:5px}.exam-video-popover{width:min(300px,100vw - 20px)}}}
