.collection-share-card{width:min(470px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:1px solid #e4c39f;border-radius:16px;padding:0;background:#fffdf9;color:#533b2a;box-shadow:0 18px 70px #53341e33;overflow:hidden}
.collection-share-card[open]{display:flex;flex-direction:column}
.collection-share-card::backdrop{background:#4f382859}
.collection-share-card header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid #ecd8c1;flex-shrink:0}
.collection-share-card h2{margin:0;font-size:19px}
.collection-share-card .collection-close{width:40px;height:40px}
.collection-share-preview{min-height:180px;overflow:auto;background:#f5ebde;padding:16px;scrollbar-width:thin;scrollbar-color:#d9b38f transparent}
.collection-share-preview img{display:block;max-width:100%;max-height:calc(100dvh - 220px);width:auto;height:auto;margin:auto;border-radius:10px}
.collection-share-preview p{padding:40px 16px;text-align:center;font-size:14px;line-height:1.8;color:#876248}
.collection-share-preview [role=alert]{color:#a34125}
.collection-share-card footer{display:flex;justify-content:flex-end;padding:14px 20px;border-top:1px solid #ecd8c1;flex-shrink:0}
.collection-share-card [hidden]{display:none!important}
.collection-card-actions .collection-export-card{margin-left:auto;margin-right:12px;color:#a45527}
.collection-export-card:disabled{opacity:.45;cursor:not-allowed}
.collection-share-field #collection-export-card{background:#fff0df;color:#965024;border-color:#e5bd97}
.collection-share-field .button{white-space:nowrap}
@media(max-width:600px){.collection-share-field{flex-wrap:wrap}.collection-share-field input{flex-basis:100%}.collection-share-field .button{flex:1;min-height:44px}.collection-share-card header,.collection-share-card footer{padding:12px 16px}}
