.gallery-album-badge{position:absolute;right:14px;top:14px;z-index:2;color:white;filter:drop-shadow(0 2px 4px #0009);pointer-events:none}
.gallery-sort-form{position:relative;display:flex;align-items:center;padding:0;border:1px solid #ffffff24;border-radius:999px;font:inherit;white-space:nowrap;cursor:pointer}.gallery-sort-form>label{position:absolute;left:12px;pointer-events:none}.gallery-sort-form select{display:block;font:inherit;border:0;border-radius:inherit;background:transparent;color:inherit;cursor:pointer;max-width:none;padding:9px 28px 9px 78px;min-height:40px}.gallery-sort-form:hover{background:#ffffff08}.gallery-sort-form:focus-within{outline:2px solid #97caff;outline-offset:2px}.gallery-sort-form select:focus{outline:none}.gallery-sort-form option{background:#10151e;color:#fff}
#galleryViewTitle,#galleryViewMeta,.gallery-page .gallery-page-title,.gallery-page .gallery-modal-title{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif}
#galleryViewTitle{margin:6px 0 8px;font-weight:700;line-height:1.2}
#galleryViewMeta{text-transform:none;letter-spacing:0;font-weight:500;font-size:.8rem}
#galleryViewDescription{height:auto;max-height:150px;margin:0 0 12px;scrollbar-gutter:auto}#galleryViewDescription[hidden]{display:none}
#galleryViewVote{color:inherit;background:transparent;border:0;padding:5px 0;gap:9px;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif}
#galleryViewVote .gallery-shot-heart{font-size:27px;color:#91969f;line-height:1}#galleryViewVote.is-active .gallery-shot-heart{color:#ff3857;filter:drop-shadow(0 0 5px #ff38573a)}#galleryViewVote:disabled{opacity:1}
.gallery-shot .gallery-shot-heart{color:#91969f}.gallery-shot[data-voted="1"] .gallery-shot-heart{color:#ff3857}
.gallery-lightbox-meta .gallery-detail-vote-row{justify-content:flex-start;gap:24px}
.gallery-share-button{display:inline-flex;align-items:center;gap:8px;padding:5px 0;border:0;background:none;color:#d7dce4;font:inherit;cursor:pointer}.gallery-share-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#galleryShareDialog{position:fixed;inset:0;margin:auto;width:min(440px,calc(100% - 36px));box-sizing:border-box;padding:26px;border:1px solid #ffffff24;border-radius:18px;background:#10151e;color:#fff;box-shadow:0 24px 80px #0009;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif}
#galleryShareDialog::backdrop{background:#0009;backdrop-filter:blur(4px)}
#galleryShareTitle{font:600 1.15rem/1.3 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;margin:0 22px 20px 0}
#galleryShareClose{position:absolute;right:12px;top:10px;border:0;background:none;color:#bdc4cf;font-size:24px;cursor:pointer;padding:4px 8px}
.gallery-share-link-row{display:flex;gap:8px}#galleryShareLink{min-width:0;flex:1;border:1px solid #ffffff25;border-radius:9px;background:#ffffff06;color:#cbd3df;padding:11px;font:inherit;font-size:.85rem}
#galleryCopyLink{border:0;border-radius:9px;background:#e9edf3;color:#131923;padding:10px 14px;font:600 .85rem -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;cursor:pointer}
.gallery-share-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gallery-share-button:focus-visible,#galleryShareClose:focus-visible,#galleryCopyLink:focus-visible{outline:2px solid #97caff;outline-offset:3px}
#galleryViewCollaborators .gallery-author-chip{margin-top:0}
#galleryAlbumActions button{display:inline-grid;place-items:center;border:0;background:none;box-shadow:none;border-radius:0;width:38px;height:38px;padding:6px;color:inherit;cursor:pointer}
#galleryAlbumActions button:hover:not(:disabled){color:#97caff}#galleryAlbumActions #galleryRemovePhoto:hover{color:#ff788f}
#galleryAlbumActions svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#galleryAlbumActions button:focus-visible{outline:2px solid #97caff;outline-offset:2px}
.gallery-account-results{margin-top:6px;max-height:190px;overflow:auto;border:1px solid #ffffff22;border-radius:10px;background:#10151e}.gallery-account-results[hidden]{display:none}
.gallery-account-results>button{display:block;width:100%;padding:10px 12px;text-align:left;border:0;background:transparent;color:inherit;cursor:pointer}.gallery-account-results>button:hover,.gallery-account-results>button:focus-visible{background:#ffffff15}
.gallery-credit-chips{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0;min-width:0}.gallery-credit-chip{display:inline-flex;align-items:center;gap:9px;max-width:100%;overflow-wrap:anywhere;padding:7px 11px;border:1px solid #ffffff24;border-radius:999px;background:#ffffff08;color:inherit;font-size:.88rem}.gallery-credit-chip>button{border:0;background:none;color:inherit;cursor:pointer;font-size:18px;line-height:1;padding:2px}
#gallery-image::file-selector-button{border:0;border-radius:8px;background:#f3f5f7;color:#18191d;padding:9px 13px;margin-right:12px;font-weight:600;cursor:pointer}
.album-carousel{position:relative;width:100%;min-width:0;background:#101114;border-radius:14px;overflow:hidden}
.album-carousel[hidden],.album-edit-actions[hidden]{display:none}
.album-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;aspect-ratio:4/3;overscroll-behavior-x:contain}
.album-track::-webkit-scrollbar{display:none}
.album-track>img{display:block!important;flex:0 0 100%;width:100%;min-width:100%;height:100%;object-fit:contain!important;scroll-snap-align:start;scroll-snap-stop:always;user-select:none}
.album-arrow,.album-count{position:absolute;z-index:2;background:#16181bc9;color:white;border:1px solid #ffffff30;border-radius:999px}
.album-arrow{top:50%;transform:translateY(-50%);width:34px;height:34px;cursor:pointer;font-size:24px;line-height:1}
.album-arrow:disabled{visibility:hidden}.album-arrow.prev{left:12px}.album-arrow.next{right:12px}
.album-count{top:12px;right:12px;font-size:12px;padding:5px 10px;pointer-events:none}
.album-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:6px;padding:7px 10px;border-radius:20px;background:#0007}
.album-dot{width:6px;height:6px;padding:0;border:0;border-radius:50%;background:#ffffff65;cursor:pointer}.album-dot.active{background:#fff;transform:scale(1.3)}
.album-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:5px 2px 9px;min-width:0}
.album-thumb{position:relative;flex:0 0 72px;height:72px;padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#18191d;cursor:grab;touch-action:none}
.album-thumb img{width:100%;height:100%;object-fit:cover;pointer-events:none}.album-thumb.active{border-color:#97caff}.album-thumb.dragging{opacity:.45}.album-thumb.drop-target{outline:2px dashed #97caff;outline-offset:2px}
.album-thumb span{position:absolute;left:0;right:0;bottom:0;font-size:10px;color:white;background:#0009;padding:3px}
.album-hint{margin:0;font-size:.83rem;opacity:.7;line-height:1.5}.album-edit-actions{display:flex;gap:8px;flex-wrap:wrap}
.album-edit-actions button{border:1px solid #ffffff25;background:#ffffff08;color:inherit;border-radius:9px;padding:7px 11px;cursor:pointer}.album-edit-actions button:disabled{opacity:.35;cursor:default}
#galleryAlbumError{color:#ffa9a9;font-size:.88rem;margin:0}#galleryViewImg[hidden]{display:none!important}
#galleryViewFrame{min-width:0}#galleryViewAlbum{height:100%;border-radius:0}#galleryViewAlbum .album-track{height:100%;max-height:80vh;aspect-ratio:auto;min-height:280px}
.album-thumb:focus-visible,.album-arrow:focus-visible,.album-dot:focus-visible{outline:2px solid #97caff;outline-offset:2px}
@media(max-width:860px){#galleryViewAlbum .album-track{height:45vh;min-height:220px}.album-thumb{flex-basis:62px;height:62px}}
