#share-dialog{width:min(720px,calc(100vw - 32px));box-sizing:border-box;max-height:90svh;overflow:auto}
#share-dialog label{display:block;margin:15px 0 8px;font-size:12px;font-weight:600;color:#bdcedb}
#share-kind{width:100%;padding:12px;border:1px solid #40566a;border-radius:8px;color:#eef2f4;background:#142433;font:inherit;min-height:44px}
#share-kind-help,#share-event-loading{font-size:12px;line-height:1.6;color:#a9bdcd;margin:10px 0 18px}
.share-link-actions,.postcard-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.share-link-actions button,.postcard-actions button,.postcard-actions a,#generate-postcard,#copy-story-caption{border:1px solid #506073;border-radius:7px;padding:11px 15px;min-height:44px;box-sizing:border-box;font:600 13px sans-serif;text-decoration:none;color:#e3eaf0;background:#1b2c3d;display:inline-flex;align-items:center;justify-content:center}
.share-link-actions button:hover,.postcard-actions a:hover,#generate-postcard:hover{border-color:#e6bb79}
#share-event-kit{border-top:1px solid #354658;margin-top:22px;padding-top:24px}
#share-event-kit h3{font:600 25px/1.25 Georgia,serif;margin:8px 0 10px;color:#f1e9d9}
#postcard-date{font-size:12px;color:#acc4d6;margin:0 0 14px}
#share-event-kit .share-postcard-note{font-size:13px;line-height:1.65;color:#b0c3d2;margin:14px 0}
#postcard-preview{margin:20px 0 10px}#postcard-image{display:block;width:min(100%,420px);height:auto;margin:0 auto;border:1px solid #425970;border-radius:8px}#postcard-size{text-align:center;font-size:11px;color:#a8bece;margin:10px 0}
#share-event-kit details{margin-top:20px}#share-event-kit summary{cursor:pointer;color:#cfdeea;font-size:13px;padding:8px 0}
#share-caption{display:block;width:100%;height:150px;box-sizing:border-box;background:#101d29;color:#c8d7e4;padding:12px;border:1px solid #40566a;border-radius:8px;font:13px/1.6 sans-serif;resize:vertical;margin:10px 0}
#incoming-story-notice{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:90;box-sizing:border-box;width:min(520px,calc(100vw - 32px));padding:18px 20px;background:#172a3a;border:1px solid #7e6c4a;border-radius:12px;box-shadow:0 10px 45px #0008}
#incoming-story-message{font-size:14px;line-height:1.6;color:#e4eaf0;margin:0 0 10px}#incoming-story-notice button{padding:9px 16px;border:1px solid #6a8191;border-radius:7px;margin-right:8px;min-height:44px}
#share-dialog [hidden],#incoming-story-notice[hidden],#incoming-story-notice [hidden]{display:none!important}
@media(max-width:600px){#share-dialog{padding:22px 18px;max-height:92svh}.postcard-actions>*{flex:1 1 130px}.share-link-actions button{flex:1}#share-event-kit h3{font-size:23px}}
