.gallery-summary{display:flex;align-items:center;justify-content:space-between;gap:22px}.gallery-summary h2{margin:8px 0;font-size:26px!important}.gallery-summary p{max-width:650px;font-size:12px;line-height:1.8;color:#868686}.gallery-summary>a{flex-shrink:0}.gallery-upload h2{display:flex;align-items:center;gap:10px}.gallery-upload h2 svg{width:20px;height:20px}.gallery-upload .field small{font-size:10px;color:#919191;line-height:1.7}.gallery-manager{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.workspace .gallery-photo{padding:0;overflow:hidden;border-radius:17px}.gallery-image{position:relative;background:#f1f1f1;aspect-ratio:4/3;overflow:hidden}.gallery-image img{display:block;width:100%;height:100%;object-fit:cover}.gallery-position{position:absolute;top:12px;left:12px;min-width:29px;height:29px;display:grid;place-items:center;padding:0 8px;border-radius:9px;background:#ffffffeb;color:#535353;font-size:11px;font-weight:700;box-shadow:0 2px 10px #00000010}.gallery-photo-body{padding:19px}.gallery-photo-body .field{margin-bottom:12px}.gallery-photo-body .field input{font-size:12px}.gallery-photo-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:16px;padding-top:15px;border-top:1px solid #ededed}.gallery-photo-actions form{margin:0}.gallery-photo-actions .btn{padding:8px 10px;min-height:35px;font-size:10px}.gallery-photo-actions>button{margin-left:auto}.gallery-hidden{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;font-size:11px;color:#a1a1a1}.gallery-hidden svg{width:30px;height:30px}.profile-gallery-shortcut{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 25px;margin:24px 0;border:1px solid #e3e3e3;border-radius:17px;background:#ffffff}.profile-gallery-shortcut h3{margin:0 0 7px;font-size:17px;color:#565656}.profile-gallery-shortcut p{margin:0;font-size:12px;line-height:1.8;color:#949494}.profile-gallery-shortcut .btn{flex-shrink:0}.public-gallery{margin:30px 0 35px;padding:27px;background:#ffffff;border:1px solid #e6e6e6;border-radius:23px}.public-gallery>header>span{font-size:8px;letter-spacing:2px;color:#a1a1a1}.public-gallery h2{margin:11px 0 8px;font-size:25px;letter-spacing:-.7px;color:#434343}.public-gallery>header>p{font-size:12px;color:#959595;margin:0 0 24px;line-height:1.8}.public-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.public-gallery-grid figure{min-width:0;margin:0}.public-gallery-grid a{display:block;aspect-ratio:4/3;background:#f0f0f0;border-radius:14px;overflow:hidden}.public-gallery-grid img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s}.public-gallery-grid a:hover img{transform:scale(1.025)}.public-gallery-grid a:focus-visible{outline:3px solid #989898;outline-offset:4px}.public-gallery-grid figcaption{padding:10px 2px 0;font-size:11px;line-height:1.7;color:#8e8e8e;overflow-wrap:anywhere}
@media(max-width:1100px){.gallery-manager{grid-template-columns:repeat(2,minmax(0,1fr))}.public-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.gallery-summary{flex-direction:column;align-items:flex-start}.gallery-summary h2{font-size:24px!important}.gallery-manager{grid-template-columns:1fr;gap:16px}.gallery-photo-body .field input{font-size:16px}.gallery-photo-actions .btn{min-height:40px;font-size:11px}.profile-gallery-shortcut{padding:20px 18px;flex-direction:column;align-items:flex-start;gap:15px}.public-gallery{padding:20px 16px;border-radius:19px;margin:24px 0}.public-gallery h2{font-size:22px}.public-gallery-grid{gap:13px 10px}.public-gallery-grid a{border-radius:11px}.public-gallery-grid figcaption{font-size:10px}.public-gallery>header>p{font-size:11px}}@media(prefers-reduced-motion:reduce){.public-gallery-grid img{transition:none}}

.gallery-over-limit{position:absolute;bottom:10px;left:10px;right:10px;padding:7px 10px;background:#191919d9;color:#ffffff;border-radius:8px;font-size:10px;text-align:center}
