
*{box-sizing:border-box}body{margin:0;background:#e5ebf1;color:#142e48;font:15px system-ui,sans-serif;height:100dvh;display:flex;flex-direction:column}header{background:#112d4c;color:white;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;gap:12px}h1{font-size:18px;margin:0}header small{color:#bdcddd;font-size:12px}button,select{font:inherit;border:1px solid #b8c8d8;border-radius:9px;background:white;color:#142e48;padding:9px 12px;cursor:pointer}button:hover{background:#edf3fa}button:focus-visible,select:focus-visible{outline:3px solid #e03b4f;outline-offset:2px}button:disabled{opacity:.35;cursor:default}.tools{display:flex;gap:8px}header button{font-size:13px}main{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;gap:18px;padding:14px;position:relative}#stage{height:100%;min-width:0;flex:1;max-width:1000px;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:pan-y;perspective:1500px}#page{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 8px 24px #142e4826;user-select:none;-webkit-user-drag:none;background:white;transform-origin:left center}#stage.zoom{overflow:auto;display:block;touch-action:pan-x pan-y}#stage.zoom #page{max-height:none;max-width:none;width:170%;margin:0}.arrow{font-size:30px;width:54px;height:62px;flex-shrink:0}footer{padding:10px 18px 14px;background:white;box-shadow:0 -1px 0 #d5dfe8;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}#jump{max-width:320px;min-width:180px}#counter{font-weight:700;min-width:80px;text-align:center}#hint{font-size:12px;color:#52677b;text-align:center;width:100%;margin:0}.mobile-nav{display:none}.full header{display:none}@media(max-width:640px){header{padding:10px 12px}h1{font-size:15px}header small{font-size:11px}.tools{gap:5px}header button{font-size:12px;padding:8px}#full{display:none}main{padding:8px;gap:0}.arrow{display:none}.mobile-nav{display:inline-block}footer{gap:7px;padding:8px}#jump{width:calc(100% - 130px);max-width:none;font-size:13px;min-width:0}#counter{min-width:66px;font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}