.h5-auth-screen{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;overflow:auto;overscroll-behavior:contain;padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));box-sizing:border-box;background:#eee0c7 var(--h5-auth-background) center/cover;color:#442b1c;font-family:'Library WenKai',KaiTi,serif;font-weight:400;font-synthesis:none;touch-action:pan-y}
.h5-auth-shell{width:min(100%,430px);display:grid;justify-items:center;gap:22px;margin:auto}
.h5-auth-brand{display:block;width:min(88%,310px);height:auto;object-fit:contain}
.h5-auth-card{width:100%;box-sizing:border-box;padding:26px 25px 23px;border:22px solid transparent;border-image:var(--h5-auth-frame) 120 fill/22px/0 stretch;background:var(--h5-auth-paper) center/cover;box-shadow:0 10px 28px #49321b24;text-align:left}
.h5-auth-card h1{margin:0;text-align:center;font:400 clamp(27px,7vw,34px)/1.4 'Library WenKai',KaiTi,serif;color:#4b2815}
.h5-auth-subtitle{margin:8px 0 22px;text-align:center;font-size:15px;line-height:1.7;color:#795a41}
.h5-auth-modes{display:flex;gap:0;border-bottom:1px solid #c8ac80;margin-bottom:23px}
.h5-auth-screen button{appearance:none;cursor:pointer;touch-action:manipulation;font-family:inherit;font-weight:400;font-synthesis:none}
.h5-auth-modes button{flex:1;min-height:44px;margin:0;padding:8px;border:0;border-bottom:2px solid transparent;background:none;color:#795a41;font-size:19px;line-height:1.35}
.h5-auth-modes button[aria-selected=true]{border-bottom-color:#963a28;color:#963a28}
.h5-auth-card label{display:block;font-size:18px;line-height:1.5;margin-bottom:8px}
.h5-auth-card input{display:block;box-sizing:border-box;width:100%;height:52px;padding:10px 13px;border:1px solid #b99b70;border-radius:2px;background:#fff6e5;color:#442b1c;font:400 20px/1.4 'Library WenKai',KaiTi,serif;box-shadow:inset 0 2px 4px #6d472a0a;outline-offset:3px}
.h5-auth-card input::placeholder{color:#a58c6f;font-size:17px}
.h5-auth-help{margin:9px 0 0;font-size:13px;line-height:1.7;color:#795a41;overflow-wrap:anywhere}
.h5-auth-status{min-height:45px;margin:10px 0 5px;font-size:15px;line-height:1.5;color:#963a28;overflow-wrap:anywhere}
.h5-auth-primary{display:block;width:100%;min-height:54px;padding:9px 18px;border:16px solid transparent;border-image:var(--h5-auth-jade) 24 fill/16px/0 stretch;background:none;color:#f8e6bd;font-size:25px;line-height:1.35;box-sizing:border-box}
.h5-auth-primary:active:not(:disabled){filter:brightness(.9)}
.h5-auth-screen button:disabled{cursor:default;opacity:.55}
.h5-auth-screen :is(button,input):focus-visible{outline:2px solid #795231;outline-offset:3px}
.h5-auth-footnote{margin:0;text-align:center;font-size:13px;line-height:1.7;color:#795a41}
#settings-panel .tutorial-settings-row>.h5-auth-switch{position:absolute!important;right:0!important;left:auto!important;top:-103px!important;width:270px!important;height:76px!important;min-height:76px!important;margin:0!important;padding:0 12px!important;display:grid!important;place-items:center;box-sizing:border-box;border:17px solid transparent!important;border-image:var(--h5-auth-jade) 24 fill/17px/0 stretch!important;border-radius:0!important;background:none!important;color:#f8e6bd!important;font:400 40px/1.3 RankInfoWenKai,InboxDetailWenKaiExtended,serif!important;font-synthesis:none;box-shadow:none!important;cursor:pointer;touch-action:manipulation}
#settings-panel .h5-auth-switch:active:not(:disabled){filter:brightness(.9)}
#settings-panel .h5-auth-switch:disabled{opacity:.65;cursor:default}
#settings-panel .h5-auth-switch:focus-visible{outline:3px solid #947451;outline-offset:3px}
.h5-session-lock{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;padding:24px;background:#302519b3;color:#442b1c;box-sizing:border-box;font-family:'Library WenKai',KaiTi,serif}
.h5-session-lock>div{width:min(100%,360px);padding:25px;box-sizing:border-box;background:#fff0d6;border:2px solid #b28c57;border-radius:4px;text-align:center}
.h5-session-lock p{font:400 20px/1.7 'Library WenKai',KaiTi,serif;margin:0 0 22px}
.h5-session-lock button{min-width:160px;min-height:46px;border:1px solid #9b7546;border-radius:3px;background:#165c51;color:#fff1d1;font:400 20px/1.4 'Library WenKai',KaiTi,serif;cursor:pointer}
@media(max-height:640px){.h5-auth-screen{padding-top:16px;padding-bottom:16px}.h5-auth-shell{gap:12px}.h5-auth-brand{width:min(65%,220px)}.h5-auth-card{padding:17px 19px;border-width:17px;border-image-width:17px}.h5-auth-subtitle{margin-bottom:12px}.h5-auth-modes{margin-bottom:14px}.h5-auth-status{min-height:32px}}
