/* 手机触控栏位于原课件缩放画布之外，桌面演示保持原样。 */
#academy-mobile-head,#academy-mobile-controls{display:none}
#academy-mobile-notes{width:min(620px,94vw);max-height:85dvh;border:1px solid #477684;border-radius:14px;padding:22px;background:#14191e;color:#eef4fa;font:16px/1.8 system-ui;overflow:auto}
#academy-mobile-notes::backdrop{background:#000b}
#academy-mobile-notes button{display:block;min-height:44px;margin-left:auto;padding:5px 15px;border:1px solid #588393;border-radius:7px}
#academy-mobile-notes h2{font-size:21px;margin:10px 0}
#academy-mobile-notes ol{padding-left:25px}
#academy-mobile-notes li{margin:12px 0}
@media(max-width:720px),(max-height:500px){
 #academy-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:12px;position:fixed;inset:0 0 auto;z-index:100;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:#11171ef0;border-bottom:1px solid #294953;font:13px/1.5 system-ui;color:#d5e4ee}
 #academy-mobile-head a{color:#79e6f1;text-decoration:none;min-height:34px;display:flex;align-items:center}
 #academy-mobile-controls{display:flex;align-items:center;gap:7px;position:fixed;inset:auto 0 0;z-index:100;padding:10px 10px calc(10px + env(safe-area-inset-bottom));background:#11171ef5;border-top:1px solid #294953;font:14px/1.5 system-ui;color:#e3edf5}
 #academy-mobile-controls button,#academy-mobile-controls select{min-height:44px;border:1px solid #376371;background:#1c2933;color:inherit;border-radius:8px;font:inherit;padding:6px 10px}
 #academy-mobile-controls select{flex:1;min-width:0;max-width:100%}
 #academy-mobile-controls button{flex:none}
 #academy-mobile-controls button:focus-visible,#academy-mobile-controls select:focus-visible{outline:2px solid #ffad55;outline-offset:2px}
}
