.gallery-header{z-index:10}
.gallery-account-menu{position:relative;display:block;flex:none;text-align:left;font:14px/1.5 Arial,"Microsoft YaHei",sans-serif}
.gallery-account-menu>.gallery-account{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;list-style:none;border:0;border-radius:50%;background:#383838;color:#c2c2c2;cursor:pointer}
.gallery-account-menu>summary::-webkit-details-marker{display:none}
.gallery-account-menu svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gallery-account-menu :focus-visible{outline:2px solid #1ecb91;outline-offset:2px}
.gallery-account-panel{position:absolute;right:0;top:100%;z-index:30;width:190px;max-width:calc(100vw - 32px);padding:8px;background:#252525;border:1px solid #444;border-radius:10px;box-shadow:0 8px 24px #0006;color:#ddd;white-space:normal}
.gallery-account-name{padding:10px 36px 10px 12px;margin-bottom:4px;border-bottom:1px solid #424242;color:#fff;font-weight:600;overflow-wrap:anywhere}
.gallery-account-panel a,.gallery-account-panel button{display:block;box-sizing:border-box;width:100%;padding:10px 12px;border:0;border-radius:5px;background:none;color:#ddd;text-decoration:none;text-align:left;font:inherit;cursor:pointer}
.gallery-account-panel a:hover,.gallery-account-panel button:hover{background:#373737;color:#fff}
.gallery-account-panel .gallery-account-close{position:absolute;top:10px;right:8px;width:28px;height:28px;padding:0;font-size:24px;line-height:28px;text-align:center}
.gallery-account-panel form,.gallery-favorite-form{margin:0}
.gallery-favorite-button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.gallery-favorite-button.is-favorite svg{fill:currentColor}
.gallery-album-tools .gallery-favorite-button.is-favorite{color:#80e1b7}
.gallery-folder-favorite{margin:12px 0}
.gallery-folder-favorite .gallery-favorite-button{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid #b8d6ef;border-radius:6px;background:#eef7ff;color:#196aa6;cursor:pointer;font:inherit;text-decoration:none}
@media(max-width:760px){.gallery-account-menu>.gallery-account{width:30px;height:30px}.gallery-account-menu>.gallery-account svg{width:20px;height:20px}}
