*{box-sizing:border-box}html,body{margin:0;height:100%;background:#2b2b2b;color:#fff;font-family:system-ui,Segoe UI,Arial,sans-serif;overflow:hidden}
#bar{position:fixed;top:0;left:0;right:0;height:48px;display:flex;align-items:center;gap:8px;padding:0 12px;background:#1d1d1d;z-index:10}
#bar h1{font-size:16px;font-weight:600;margin:0 auto 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bar button,#bar a{background:#3a3a3a;color:#fff;border:0;border-radius:6px;height:32px;min-width:34px;padding:0 10px;font-size:14px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
#bar button:hover,#bar a:hover{background:#c0392b}
#count{font-size:14px;min-width:70px;text-align:center}
#stage{position:absolute;top:48px;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}
#book{margin:auto}
.page{background:#fff;overflow:hidden}.page img{width:100%;height:100%;display:block;object-fit:contain;-webkit-user-drag:none;user-select:none}
.nav{position:fixed;top:50%;transform:translateY(-50%);z-index:9;width:44px;height:80px;border:0;border-radius:8px;background:rgba(0,0,0,.45);color:#fff;font-size:28px;cursor:pointer}
.nav:hover{background:rgba(192,57,43,.9)}#prev{left:8px}#next{right:8px}
@media(max-width:600px){.nav{width:34px;height:60px}#bar h1{font-size:14px}}
