*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#e9efec;color:#14352c;font-family:Tahoma,"Noto Sans Thai",sans-serif}.reader-bar{position:sticky;top:0;z-index:10;display:flex;gap:20px;align-items:center;justify-content:space-between;padding:12px clamp(14px,3vw,34px);background:#064c39;color:#fff;box-shadow:0 5px 20px #062d2280}.reader-bar div{display:grid;gap:2px}.reader-bar b{color:#f1d284;font-size:20px}.reader-bar span{font-size:13px}.reader-bar nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.reader-bar button,.reader-bar a{min-height:38px;padding:0 13px;border:1px solid #ffffff55;border-radius:9px;background:#ffffff12;color:#fff;text-decoration:none;cursor:pointer}.reader-bar button:hover,.reader-bar a:hover{background:#fff;color:#064c39}#book{--book-width:min(1040px,calc(100vw - 28px));display:grid;gap:20px;justify-items:center;padding:24px 0 80px}.page{width:var(--book-width);height:auto;display:block;background:#fff;box-shadow:0 10px 30px #133a2e30}.back-top{position:fixed;right:18px;bottom:18px;width:48px;height:48px;border:0;border-radius:50%;background:#b98426;color:#fff;font-size:24px;box-shadow:0 8px 24px #0004;cursor:pointer}@media(max-width:760px){.reader-bar{position:relative;align-items:flex-start;flex-direction:column}.reader-bar nav{justify-content:flex-start}.reader-bar button,.reader-bar a{min-height:42px}#book{padding-top:14px}}