.brand-logo{display:block;width:190px;height:42px;object-fit:contain;mix-blend-mode:screen;filter:drop-shadow(0 1px 3px #05172780)}
.identity{min-width:190px}
body[data-page=home] .identity{display:none}
body[data-page=home] #topbar{background:transparent;border-bottom:0}
body[data-page=home] #topbar nav{display:none}
.nuaa-home-logo{display:block;width:min(320px,46vw);height:auto;mix-blend-mode:screen;filter:drop-shadow(0 2px 12px #05172790)}
.login-title{top:10%;left:8%;right:8%}
.login-title .nuaa-logo{width:min(300px,45vw);height:auto;object-fit:contain;mix-blend-mode:screen;filter:drop-shadow(0 2px 12px #05172790)}
.login-title h1{margin-top:26px;max-width:650px;font-size:34px;line-height:1.35;font-weight:500}
.login-panel{top:27%;width:min(360px,88vw);padding:26px}
.login-panel h2{font-size:22px;margin-bottom:20px}
.login-panel>label{margin:15px 0}
.login-panel button{margin:10px 0 0}
.module-menu{bottom:6%;gap:12px}
.module-menu button{min-height:142px;padding:20px}
.module-menu h2{margin:8px 0 0}
.module-menu p{min-height:0;margin:10px 0 0;font-size:12px;line-height:1.65}
.module-menu i{font-size:20px}
.scenario-menu{gap:18px}
.scenario-menu button{min-height:0}
.scenario-menu svg{height:190px}
.scenario-menu button>div{padding:18px 20px}
.scenario-menu h2{font-size:20px;margin-bottom:8px}
.scenario-menu p{min-height:3.3em;margin:0;font-size:13px;line-height:1.7}
.scenario-menu span{display:none}
.scenario-tip{display:none}
.quiz-shell .section-title{margin-top:0}
#question-map{flex-wrap:wrap;max-height:132px;overflow:auto}
.report-shell>.section-title{margin-top:0}
.report-scene-tabs{display:flex;gap:8px;margin:10px 0 18px;flex-wrap:wrap}
.report-scene-tabs button{min-width:110px}
.report-scene-tabs button.active{background:#2d6974;border-color:#8dc2c4}
.report-slot-results{display:grid;grid-template-columns:1fr;gap:14px;margin:14px 0 20px}
.scenario-report{padding:14px 0;border-top:1px solid var(--edge)}
.scenario-report header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.scenario-report header h3{margin:0}
.scenario-report header strong{color:#e2c486;font-size:20px}
.scenario-report-weight,.scenario-report-metrics{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:9px 0}
.scenario-report-scene{display:block;width:100%;max-height:380px;object-fit:contain;object-position:left center;background:#102a3a;border:1px solid var(--edge)}
.scenario-report-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.scenario-report-charts figure{margin:0;min-width:0}
.scenario-report-charts img{display:block;width:100%;height:auto;max-height:230px;object-fit:contain;background:#173c50}
.scenario-report-charts figcaption{margin-top:4px;color:var(--muted);font-size:11px}
.scenario-report-empty{padding:20px 0;border-top:1px solid var(--edge)}
.scenario-report-empty p{color:var(--muted);margin:0}
.archive-scenes{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}
.archive-scenes button.active{background:#2d6974;border-color:#8dc2c4}
.archive-help,.archive-note{display:none}
.preaction-source,#preaction-key,.camera-hint,.tools-panel>p.subtle,.results-panel details>p.subtle{display:none!important}
#placement-hint:empty,#comparison:empty{display:none!important}
#comparison:not([data-visible=true]){display:none!important}
#scene-subtitle:empty{display:none}
@media(max-width:760px){
 .brand-logo{width:135px;height:32px}
 .nuaa-home-logo{width:min(240px,68vw)}
 .identity{min-width:135px}
 .login-title{top:9%;left:7%;right:7%}
 .login-title .nuaa-logo{width:min(230px,65vw)}
 .login-title h1{font-size:25px;margin-top:18px}
 .login-panel{top:auto;bottom:12%;left:7%;right:7%;width:auto;padding:20px}
 .module-menu{grid-template-columns:repeat(2,minmax(0,1fr));bottom:5%;gap:8px}
 .module-menu button{min-height:110px;padding:13px}
 .module-menu button p{font-size:10px}
 .scenario-menu{grid-template-columns:1fr;max-height:70vh;overflow:auto}
 .scenario-menu svg{height:125px}
 .scenario-menu button>div{padding:12px 14px}
 .scenario-menu p{min-height:0}
 .report-shell{padding:20px 16px}
 .scenario-report-charts{grid-template-columns:1fr}
 .scenario-report-scene{max-height:240px}
 #question-map{max-height:92px}
}

/* Southwest University identity and clear course progress */
.brand-logo{width:128px;height:auto;max-height:34px;object-fit:contain;mix-blend-mode:screen;filter:brightness(1.6) saturate(1.08) drop-shadow(0 1px 4px #071c2680)}
.identity{min-width:0;flex:0 1 auto;gap:9px}
.brand-title{display:block;max-width:270px;color:#eff4ee;font-size:14px;font-weight:500;line-height:1.4;white-space:nowrap;text-shadow:0 1px 6px #071c2680}
.swust-home-logo,.swust-logo{display:block;width:min(300px,44vw);height:auto;object-fit:contain;mix-blend-mode:screen;filter:brightness(1.55) saturate(1.08) drop-shadow(0 2px 8px #071c2680)}
.login-title .swust-logo{width:min(300px,45vw)}
.brand-title{max-width:250px}
body[data-page=home] .identity{display:flex}
body[data-page=home] #topbar{height:76px;padding:0 5%;background:#102b3be8;border-bottom:1px solid #8eafb14a}
body[data-page=home] #topbar nav{display:none}
body[data-page=home] .brand-title{max-width:none;font-size:17px}
.module-menu{left:0;right:0;bottom:0;gap:0;padding:17px 5% 23px;background:#0b2637e8;border-top:1px solid #86afb35c;border-bottom:0;border-radius:0;box-shadow:0 -12px 35px #07192350;backdrop-filter:blur(5px)}
.module-menu button{position:relative;display:block;min-height:173px;padding:12px 22px 14px;text-align:left;background:transparent;border:0;border-right:1px solid #829da243;border-bottom:2px solid transparent;box-shadow:none;border-radius:0}
.module-menu button:last-child{border-right:0}
.module-menu button:hover{background:#24475966;border-bottom-color:#83c4bb}
.module-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;margin-bottom:18px}
.module-card-head i{font-size:14px;font-style:normal;color:#abc6c9}
.module-menu h2{margin:0 0 9px;font-size:22px;font-weight:500;color:#f1f3eb}
.module-menu p{max-width:260px;min-height:3.2em;margin:0;color:#c1d0d0;font-size:12px;line-height:1.7}
.progress-state{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:4px 8px;border:1px solid #8aa7ad50;border-radius:2px;color:#c0d0d1;background:#183b4b;font-size:11px;line-height:1.25;white-space:nowrap}
.progress-state::before{content:"";width:6px;height:6px;border-radius:50%;background:#82979a}
.progress-state[data-state=active]{color:#f0d39a;border-color:#cfaa6a80;background:#493e2d}
.progress-state[data-state=active]::before{background:#e0b96e}
.progress-state[data-state=complete]{color:#bce2d0;border-color:#73b9a17a;background:#1e4d47}
.progress-state[data-state=complete]::before{width:7px;height:7px;background:#75c7a7}
.scenario-menu{width:min(1380px,90vw);margin:0 auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.scenario-menu button{display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden;text-align:left;background:#123346e8;border:1px solid #779da577;border-top:2px solid #83aeb4;border-radius:3px;box-shadow:0 14px 28px #07192380}
.scenario-menu button:hover{background:#173e50;border-color:#a5c6c8}
.scenario-art{display:grid;place-items:center;width:100%;height:auto;min-height:188px;margin:0;padding:10px;background:#0c2738;border-bottom:1px solid #90aeb059}
.scenario-art svg{display:block;width:100%;height:188px;flex:0 0 auto}
.scenario-copy{display:flex;flex:1;flex-direction:column;justify-content:center;gap:10px;width:100%;min-height:132px;padding:18px 20px}
.scenario-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.scenario-heading h2{margin:0;color:#f0f3eb;font-size:19px;line-height:1.35}
.scenario-copy p{min-height:2.8em;margin:0;color:#bdcfd0;font-size:13px;line-height:1.7}
.scenario-menu .progress-state{display:inline-flex;font-size:10px}
.section-title h1{font-size:27px;font-weight:500;color:#eef2e9}
.section-title{border-bottom:1px solid #8daeb250;padding-bottom:12px}
@media(max-width:900px){
 .module-menu{grid-template-columns:repeat(2,minmax(0,1fr));bottom:0;gap:0;padding:12px 4% 15px}
 .module-menu button{min-height:142px;padding:10px 17px;border-bottom:1px solid #829da243}
 .module-menu button:nth-child(2){border-right:0}
 .module-menu button:nth-child(n+3){border-bottom:0}
 .module-card-head{margin-bottom:10px}
 .brand-title{max-width:220px;font-size:13px}
 .scenario-menu{width:min(700px,90vw);grid-template-columns:1fr;max-height:72vh;overflow:auto}
 .scenario-menu button{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch}
 .scenario-art{min-height:155px;height:100%;padding:8px}
 .scenario-art svg{height:155px}
 .scenario-copy{min-height:155px;padding:14px}
 .scenario-heading{align-items:flex-start;flex-direction:column;gap:7px}
 .scenario-copy p{min-height:0;font-size:12px}
}
@media(max-width:600px){
 body[data-page=home] #topbar{height:58px;padding:0 4%}
 body[data-page=home] #topbar .identity{display:flex}
 #topbar{gap:5px}
 .top-actions{gap:3px}
 .brand-logo{width:62px;max-height:22px}
 .identity{gap:5px}
 .brand-title,body[data-page=home] .brand-title{max-width:126px;font-size:10px;white-space:normal;line-height:1.25}
 .login-title .swust-logo{width:min(220px,64vw)}
 .module-menu{left:0;right:0;bottom:0;padding:8px 4% 12px;gap:0}
 .module-menu button{min-height:120px;padding:8px 10px}
 .module-menu h2{font-size:17px;margin:0 0 5px}
 .module-menu p{font-size:10px;line-height:1.45;min-height:3em}
 .module-card-head{margin-bottom:8px}
 .module-card-head i{font-size:12px}
 .progress-state{font-size:9px;padding:3px 6px}
 .section-title h1{font-size:23px}
 .scenario-menu{width:90vw}
 .scenario-menu button{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
 .scenario-art{min-height:132px;padding:5px}
 .scenario-art svg{height:132px}
 .scenario-copy{min-height:132px;padding:10px}
 .scenario-heading h2{font-size:15px}
 .scenario-copy p{font-size:10px;line-height:1.5}
}
.dialog-message{width:min(460px,92vw);max-width:92vw;padding:26px;background:#142e40;color:#e7f0f4;border:1px solid #7299aa;border-radius:6px;box-shadow:0 18px 60px #071722b8}.dialog-message::backdrop{background:#071722b8}.dialog-message h2{margin:0 0 18px}.dialog-message p{line-height:1.8}.dialog-message form{display:flex;justify-content:flex-end;margin-top:20px}
