#autologin[hidden]{display:none}
.autologin-window{box-sizing:border-box;width:min(300px,calc(100vw - 20px));max-height:calc(100dvh - 24px);padding:0;border:0;color:#eee4cf;background:#302e2c;box-shadow:0 8px 24px #0009;font:13px/1.35 Tahoma,Arial,sans-serif;border-radius:8px 8px 2px 2px;overflow:hidden}
.autologin-window::before{content:"";position:absolute;inset:30px 0 0;z-index:1;border:4px solid transparent;border-top:0;border-image:url('/game/autologin/frame.png') 1 4 4 4 stretch;pointer-events:none}
.autologin-window.autologin-expanded{width:min(380px,calc(100vw - 20px))}.autologin-window::backdrop{background:#0003}
.autologin-window .autologin-titlebar{box-sizing:border-box;height:30px;min-height:30px;margin:0;padding:0 5px 0 11px;display:flex;align-items:center;justify-content:space-between;border:0;border-image:url('/game/autologin/title.png') 0 7 0 7 fill / 0 7px stretch;background:transparent;cursor:grab;touch-action:none;user-select:none}
.autologin-dragging,.autologin-dragging .autologin-titlebar{cursor:grabbing}
.autologin-titlebar strong{font:700 13px Tahoma,Arial,sans-serif;color:#f3e2b6;text-shadow:1px 1px #211e1e}.autologin-titlebar button{width:22px;height:23px;min-height:0;padding:0;border:0;border-radius:0;background:url('/game/autologin/close.png') center/22px 23px no-repeat;color:transparent;font-size:0;box-shadow:none}.autologin-titlebar button:hover{background-image:url('/game/autologin/close-hover.png')}.autologin-titlebar button:active{background-image:url('/game/autologin/close-down.png')}
.autologin-content{margin:0 4px 4px;padding:7px;background:#302e2c;overflow:auto;max-height:calc(100dvh - 72px);scrollbar-width:thin;scrollbar-color:#898377 #302e2e}.autologin-content h2{font:bold 12px Tahoma,Arial,sans-serif;margin:10px 0 5px;color:#eee1bd}.autologin-content p{margin:8px 0 12px}.autologin-content a{color:#e9d79c;text-underline-offset:3px}
.autologin-content button,.autologin-actions a{box-sizing:border-box;min-height:28px;padding:5px 8px;border:solid transparent;border-width:8px 9px;border-image:url('/game/autologin/button.png') 16 18 16 18 fill stretch;background:transparent;border-radius:0;color:#e9d79c;font:12px Tahoma,Arial,sans-serif;line-height:12px;box-shadow:none;cursor:pointer}
.autologin-content button:hover{border-image-source:url('/game/autologin/button-hover.png');color:#fff1c0}.autologin-content button:active{border-image-source:url('/game/autologin/button-down.png')}.autologin-actions{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.autologin-actions>button{flex:1;padding:2px 4px}.autologin-actions a{display:inline-flex;align-items:center;text-align:center;text-decoration:none}
.autologin-content form{display:grid;gap:10px}.autologin-content label{display:grid;gap:4px;font-size:12px;color:#eee4cf}.autologin-content input{box-sizing:border-box;width:100%;min-height:29px;padding:5px 7px;border:1px solid #8e867b;border-radius:0;background:#252424;color:#eee1bc;font:13px Tahoma,Arial,sans-serif}.autologin-content input[type=file]{padding:5px;font-size:12px;min-height:36px}.autologin-content input::file-selector-button{margin-right:7px;padding:4px 7px;border:1px solid #928571;border-radius:2px;background:#45413c;color:#f3e5c3;font:inherit;cursor:pointer}.autologin-content input::file-selector-button:hover{background:#5b5247}.autologin-content input[type=checkbox]{width:16px;min-height:16px}.autologin-content input:read-only{color:#bdb49e}.autologin-content button:disabled,.autologin-content input:disabled{opacity:.5;cursor:default}.autologin-content :focus-visible,.autologin-titlebar button:focus-visible{outline:1px solid #f1d485;outline-offset:1px}
.autologin-note{font-size:11px;color:#cfc4ad}.autologin-group{margin-top:8px;padding:3px;border:3px solid transparent;border-image:url('/game/autologin/panel.png') 3 fill stretch;background:#272727}.autologin-group h2{margin:1px 4px 5px;font-weight:normal}
.autologin-row{display:flex;gap:2px;align-items:center;margin:2px 0;padding:2px;border:3px solid transparent;border-image:url('/game/autologin/row.png') 3 fill stretch;background:url('/game/autologin/stripe.png') repeat-x center/1px 100%}.autologin-row:hover{border-image-source:url('/game/autologin/row-hover.png');background-image:url('/game/autologin/stripe-hover.png')}.autologin-row:active{border-image-source:url('/game/autologin/row-down.png');background-image:url('/game/autologin/stripe-down.png')}
.autologin-content .autologin-character{flex:1;min-width:0;display:grid;gap:2px;padding:2px 1px;min-height:22px;border:0;background:transparent;text-align:left;color:#171513;text-shadow:0 1px #b6ada080}.autologin-content .autologin-character:hover{color:#080705}.autologin-character .autologin-note{color:#38332b;text-shadow:none;overflow-wrap:anywhere}.autologin-identity{display:flex;gap:3px;align-items:center;min-width:0}.autologin-identity img{flex:none;object-fit:contain}.autologin-nickname{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.autologin-level{white-space:nowrap;font-size:11px}.autologin-row>button:not(:first-child){flex:none;width:20px;min-height:20px;height:20px;padding:0;border:0;background:transparent;font-size:0;color:transparent}.autologin-row>button:nth-child(2){background:url('/game/autologin/edit.png') center/16px no-repeat}.autologin-row>button:nth-child(3){background:url('/game/autologin/delete.png') center/16px no-repeat}.autologin-row>button:not(:first-child):hover{background-color:#e9d79c44}
.autologin-transfer{margin:10px 0 0;padding-top:6px;border-top:1px solid #80796e}.autologin-transfer>button{font-size:11px;flex-basis:100%}
