*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Microsoft YaHei',-apple-system,'Segoe UI',sans-serif;background-color:#1e232d;color:#d2d2d2;font-size:13px;line-height:20px;height:100vh;overflow:hidden}
::-webkit-scrollbar{width:8px;height:8px;background:transparent}
::-webkit-scrollbar-thumb{border-radius:2px;background:#888;background-clip:padding-box;border:0 solid transparent}
::-webkit-scrollbar-thumb:vertical{border-width:0 2.5px}
::-webkit-scrollbar-thumb:horizontal{border-width:2.5px 0}
::-webkit-scrollbar-thumb:hover{background:#f90;border-width:0}
::-webkit-scrollbar-track{background:transparent}
*{scrollbar-width:thin;scrollbar-color:#555555 #333333}
.modal-close{position:fixed;top:0;left:0;width:25px;height:25px;background:#555;border:none;font-size:14px;color:#e0e0e0;cursor:pointer;z-index:10001;display:flex;align-items:center;justify-content:center;transition:background 0.2s;padding:0;line-height:1}
.modal-close:hover{background:#D22222}
.updates-open{position:fixed;top:0;right:10px;width:25px;height:25px;background:#1e232d;border:none;font-size:15px;color:#555555;cursor:pointer;z-index:10002;display:flex;align-items:center;justify-content:center;transition:color 0.2s ease;user-select:none;padding:0;line-height:1}
.updates-open:hover{color:#FFA500}
.theme-toggle{position:fixed;top:0;right:40px;width:25px;height:25px;background:#1e232d;border:none;font-size:15px;color:#555555;cursor:pointer;z-index:10002;display:flex;align-items:center;justify-content:center;transition:color 0.2s ease;user-select:none;padding:0;line-height:1}
.theme-toggle:hover{color:#ff9900}
.speech-toggle{position:fixed;top:0;right:70px;width:25px;height:25px;background:#1e232d;border:none;font-size:15px;color:#fbff00;cursor:pointer;z-index:10002;display:flex;align-items:center;justify-content:center;transition:color 0.2s ease;user-select:none;padding:0;line-height:1}
.speech-toggle:hover{color:#ff9900}
@keyframes dbUpdatesFlash{0%,100%{color:#ffff00}50%{color:#D22222}}
.manual-container{height:100vh;overflow-y:auto;padding:30px;line-height:20px;word-wrap:break-word;overflow-x:hidden}
.manual-container p{line-height:1.7;margin-bottom:12px}
.manual-container ul{list-style:none;padding:0;margin:0}
.manual-container li{display:flex;align-items:flex-start;line-height:1.6;margin-bottom:10px}
.manual-container table{width:100%;table-layout:auto;border-collapse:collapse;font-size:12px;line-height:1.6}
.manual-container table th:first-child,.manual-container table td:first-child{width:1%;white-space:nowrap}
.manual-container th,.manual-container td{padding:10px;text-align:left}
body.light-theme{background-color:#e0e0e0;color:#1a1d23}
body.light-theme .updates-open,body.light-theme .theme-toggle,body.light-theme .speech-toggle{background:#e0e0e0}
body.light-theme [style*="#4eeeee"]{color:#4caf50!important}
body.light-theme [style*="#fbff00"]{color:#b45309!important}
body.light-theme [style*="#ffff00"]{color:#de0422!important}
body.light-theme *{scrollbar-color:#64748b #e0e0e0}
body.light-theme ::-webkit-scrollbar{width:8px;height:8px;background:transparent}
body.light-theme ::-webkit-scrollbar-thumb{border-radius:2px;background:#888;background-clip:padding-box;border:0 solid transparent}
body.light-theme ::-webkit-scrollbar-thumb:vertical{border-width:0 2.5px}
body.light-theme ::-webkit-scrollbar-thumb:horizontal{border-width:2.5px 0}
body.light-theme ::-webkit-scrollbar-thumb:hover{background:#f90;border-width:0}
body.light-theme ::-webkit-scrollbar-track{background:transparent}
