.site-share-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(8,17,32,.64);display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;isolation:isolate}
.site-share-panel{box-sizing:border-box;width:min(100%,460px);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;background:#fff;color:#111827;border:1px solid #e1e5ed;border-radius:22px;padding:24px;box-shadow:0 24px 80px #0004;font-family:inherit;text-align:right}
.site-share-panel header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px}.site-share-panel h2{margin:0;font-size:23px;line-height:1.5;color:inherit}
.site-share-panel button,.site-share-panel a{box-sizing:border-box;font-family:inherit;cursor:pointer;text-decoration:none;font-size:15px;line-height:1.5;font-weight:700;display:flex;align-items:center;justify-content:center;padding:12px;border:1px solid #e0e5ed;border-radius:12px;background:#f7f8fa;color:#111827;min-height:46px}
.site-share-panel .site-share-close{width:42px;min-width:42px;height:42px;min-height:42px;padding:0;font-size:28px;font-weight:400;background:#f1f3f6;border-radius:50%}
.site-share-title{font-size:15px;line-height:1.8;color:#5f6c81;margin:0 0 14px;overflow-wrap:anywhere}.site-share-text{display:block;box-sizing:border-box;width:100%;resize:none;border:1px solid #e0e5ed;border-radius:12px;background:#f8fafc;color:#374151;padding:12px;font:inherit;font-size:13px;line-height:1.7;direction:auto;margin:0 0 16px}
.site-share-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.site-share-options .site-share-copy{grid-column:1/-1;background:#ffb900;border-color:#ffb900;color:#111827}.site-share-file{grid-column:1/-1}.site-share-panel button:hover,.site-share-panel a:hover{filter:brightness(.96)}.site-share-panel :focus-visible{outline:3px solid #3377ff;outline-offset:3px}.site-share-status,.site-share-hint{font-size:13px;line-height:1.8;margin:12px 0 0;color:#64748b}.site-share-status:empty{display:none}
@media(max-width:480px){.site-share-overlay{padding:14px}.site-share-panel{padding:18px;border-radius:18px;max-height:calc(100dvh - 28px)}}
body.dark-mode .site-share-panel,html[data-theme=dark] .site-share-panel{background:#131e30;color:#f1f5f9;border-color:#344258}
