.gallery-shell{height:100%;min-height:0;overflow:auto;flex:1}.gallery-shell>.messenger-header{position:sticky;top:0;z-index:5}.gallery-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;background:#f4e1eb;border-radius:14px}.gallery-icon img,.gallery-icon svg{width:28px;height:28px}.gallery-content{padding:18px 16px 30px}.gallery-content h1,.gallery-content h2{color:#59233c;font-size:19px;margin:0}.gallery-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.gallery-actions a{display:flex;align-items:center;justify-content:center;gap:6px;padding:13px 8px;border:1px solid #e5c6d5;border-radius:13px;color:#941747;font-size:12px;text-decoration:none;background:#fff}.gallery-actions svg{width:17px;height:17px}.gallery-actions .gallery-primary,.gallery-content button.gallery-primary{background:#941747;color:#fff;border-color:#941747}.gallery-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 13px}.gallery-section-title span{font-size:11px;color:#947688;white-space:nowrap}.gallery-collections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gallery-collection{display:flex;flex-direction:column;gap:5px;background:#fff;border:1px solid #ecd9e3;padding:8px;border-radius:16px;text-decoration:none;color:#59233c;min-width:0}.gallery-cover{display:grid;place-items:center;aspect-ratio:1.4;background:linear-gradient(135deg,#f9e2ed,#eee5f6);border-radius:11px;overflow:hidden}.gallery-cover img{width:100%;height:100%;object-fit:cover}.gallery-cover>.detail-icon{width:40px;height:40px}.gallery-collection strong{font-size:13px;overflow-wrap:anywhere;padding:4px 4px 0}.gallery-collection small{font-size:11px;color:#9d7a8f;padding:0 4px 5px}.gallery-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gallery-photo{position:relative;min-width:0;overflow:hidden;border-radius:12px;background:#fff;border:1px solid #ecdee6;text-decoration:none;color:#6e4157}.gallery-photo img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}.gallery-photo>span{display:block;padding:7px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-photo>small{position:absolute;top:6px;left:5px;right:5px;background:#fffdf1ed;padding:4px;border-radius:5px;font-size:8px;color:#941747;text-align:center}.gallery-empty{grid-column:1/-1;padding:24px 18px;border:1px dashed #dfbed0;border-radius:16px;text-align:center;color:#97788a;font-size:12px}.gallery-empty>strong{display:block;color:#72455c;margin:12px 0}.gallery-empty img,.gallery-empty svg{width:44px;height:44px}.gallery-empty p{line-height:1.8}.gallery-privacy{color:#947b89;font-size:11px;line-height:1.8;margin:18px 0}.gallery-filters{display:flex;gap:8px;margin-bottom:14px}.gallery-filters a{padding:8px 12px;background:white;border:1px solid #e6cbd8;border-radius:20px;text-decoration:none;color:#8b586f;font-size:11px}.gallery-filters a[aria-current]{background:#f6deea;color:#941747;border-color:#c1789b}.gallery-description{white-space:pre-wrap;overflow-wrap:anywhere;color:#866578;font-size:13px;line-height:1.8}.gallery-edit{background:#fff;border:1px solid #e6ccda;padding:14px;border-radius:13px;font-size:12px}.gallery-edit summary{cursor:pointer;color:#941747}.gallery-content form{margin:16px 0;padding:0;border:0;background:none}.gallery-content label{display:block;font-size:13px;color:#79546a;margin:17px 0 7px}.gallery-content label>small{font-size:10px;font-weight:400;color:#a18594}.gallery-content input:not([type=checkbox]):not([type=radio]),.gallery-content textarea,.gallery-content select{display:block;width:100%;min-width:0;background:white;border:1px solid #e5d0dd;border-radius:12px;padding:12px;font:inherit;font-size:13px;color:#533447;margin-top:7px}.gallery-content textarea{resize:vertical}.gallery-content button{border:0;border-radius:12px;background:#941747;color:white;padding:12px 16px;min-height:44px;margin:12px 0 0;font:inherit;font-size:12px}.gallery-content button[type=submit]{width:100%}.gallery-content .gallery-danger{background:#fff0f2;color:#a32b49;border:1px solid #edccd5}.gallery-confirm{display:flex!important;align-items:flex-start;gap:9px;line-height:1.7}.gallery-confirm input{flex:none;width:16px;min-height:16px}.gallery-notice,.gallery-error{padding:12px;border-radius:12px;font-size:12px;line-height:1.7;background:#edf8f0;color:#386b4a}.gallery-error{background:#ffedf2;color:#a52c51}.gallery-content .gallery-upload-zone{display:flex;align-items:center;flex-direction:column;text-align:center;gap:10px;border:1px dashed #bd84a0;border-radius:18px;background:linear-gradient(135deg,#fff,#fceaf3);padding:24px 16px;margin:0}.gallery-upload-zone img,.gallery-upload-zone svg{width:52px;height:52px}.gallery-upload-zone span{font-size:11px;font-weight:400}.gallery-upload-zone input{font-size:11px!important}.gallery-upload-zone input::file-selector-button{padding:8px;border:0;border-radius:8px;background:#f1d7e5;color:#941747;font:inherit}.gallery-upload-preview{margin:14px 0;background:#fff;border-radius:15px;overflow:hidden;border:1px solid #e8d2df}.gallery-upload-preview img{display:block;width:100%;max-height:330px;object-fit:contain}.gallery-upload-preview span{display:block;padding:10px;color:#917486;overflow-wrap:anywhere;font-size:11px}.gallery-album-intro{text-align:center;padding:20px 10px}.gallery-album-intro img,.gallery-album-intro svg{width:66px;height:66px;margin-bottom:12px}.gallery-album-intro p{color:#97788a;line-height:1.8;font-size:12px}.gallery-photo-detail .album-photo{width:100%;max-height:65dvh;object-fit:contain;margin:18px 0;border-radius:14px}.gallery-photo-detail .message{width:100%;max-width:100%;margin:12px 0}.gallery-photo-detail .photo-rating{margin:20px 0}.gallery-content [hidden]{display:none!important}@media(min-width:560px){.gallery-collections{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-photos{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:360px){.gallery-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-actions{grid-template-columns:1fr}}
.messenger .gallery-content h1,.messenger .gallery-content h2{font-size:17px;line-height:1.5;margin:0;overflow-wrap:anywhere}.gallery-shell .messenger-person{flex-direction:column;align-items:flex-start;gap:0}.gallery-shell .messenger-person strong{font-size:14px}.gallery-shell .messenger-back{flex:none}.gallery-shell .gallery-section-title{min-width:0}
