#pictures .picture-top{flex-wrap:wrap;gap:18px;}
#pictures .gallery-add{min-height:40px;margin-left:auto;padding:10px 16px;border:1px solid #8ea8d337;border-radius:9px;color:inherit;background:#8da5cf12;font:inherit;font-size:12px;cursor:pointer;}
#pictures .gallery-add:hover{border-color:#a2b6de80;background:#8da5cf20;}
#pictures [hidden]{display:none!important;}
#pictures .gallery-status{margin:10px 0 0;min-height:1.5em;color:inherit;font-size:11px;opacity:.7;}
#pictures .picture-card[data-gallery-image] .picture-art{width:100%;height:100%;object-fit:cover;background:none;}
#picture-viewer .picture-description{overflow-wrap:anywhere;}
.gallery-upload-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #829bcf40;border-radius:16px;color:#dce6f6;background:#101c2c;box-shadow:0 24px 80px #0005;}
.gallery-upload-dialog::backdrop{background:#020916bb;backdrop-filter:blur(7px);}
.gallery-upload-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.gallery-upload-dialog h2{margin:0;font-size:20px;font-weight:500;}
.gallery-upload-dialog header>button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;color:inherit;background:#ffffff08;font-size:20px;cursor:pointer;}
.gallery-upload-dialog>p{margin:12px 0 20px;color:#9cb0ca;font-size:12px;line-height:1.8;}
.gallery-upload-dialog form{display:grid;gap:15px;}
.gallery-upload-dialog label{display:grid;gap:7px;color:#b7c9e2;font-size:12px;}
.gallery-upload-dialog input,.gallery-upload-dialog select{box-sizing:border-box;width:100%;min-width:0;padding:11px 12px;border:1px solid #859fc82b;border-radius:8px;color:#e3ecf8;background:#071322;font:inherit;font-size:13px;}
.gallery-upload-dialog input[type=file]{font-size:11px;}
.gallery-upload-dialog img{display:block;width:100%;max-height:190px;object-fit:contain;border-radius:10px;background:#071322;}
.gallery-upload-dialog [hidden]{display:none!important;}
.gallery-upload-dialog [role=alert]{margin:0;color:#f0baab;font-size:12px;line-height:1.7;overflow-wrap:anywhere;}
.gallery-upload-dialog footer{display:flex;justify-content:flex-end;gap:9px;}
.gallery-upload-dialog footer button{min-height:40px;padding:10px 17px;border:1px solid #859fc82b;border-radius:8px;color:inherit;background:transparent;cursor:pointer;font:inherit;font-size:12px;}
.gallery-upload-dialog footer button[type=submit]{border-color:#9bb2ed40;background:linear-gradient(130deg,#4266a7,#675a9c);color:#fff;}
.gallery-upload-dialog button:disabled{opacity:.55;cursor:wait;}
.gallery-upload-dialog :is(input,select,button):focus-visible,#pictures .gallery-add:focus-visible{outline:2px solid #a6bcec;outline-offset:2px;}
#entry-gate .gate-skip{box-sizing:border-box;min-width:150px;min-height:48px;max-width:100%;padding:14px 26px;font-size:14px;line-height:20px;white-space:nowrap;flex-shrink:0;box-shadow:0 6px 18px #0000001a;}
@media(max-width:520px){#entry-gate .gate-bottom{flex-wrap:wrap;gap:12px;align-items:center;}#entry-gate .gate-bottom>div{min-width:0;}#entry-gate .gate-skip{margin-left:auto;}#pictures .gallery-add{margin-left:0;}.gallery-upload-dialog input,.gallery-upload-dialog select{font-size:16px;}}
