.share-bottom-sheet{
 position:fixed;inset:auto auto max(10px,env(safe-area-inset-bottom)) 50%;transform:translateX(-50%);
 width:min(460px,calc(100vw - 24px));height:auto;min-height:0;max-height:calc(100dvh - 24px);margin:0;
 padding:12px 16px 14px;border:1px solid #ffffff35;border-radius:24px;
 background:rgba(20,20,20,.97);color:var(--text);box-shadow:0 16px 60px #0007;overflow:auto;
 animation:cloud-share-rise .2s ease-out;overscroll-behavior:contain
}
.share-bottom-sheet::backdrop{background:#0007;backdrop-filter:blur(8px)}
.share-grip{width:32px;height:3px;background:#ffffff35;border-radius:20px;margin:0 auto 10px}
.share-bottom-sheet header{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.share-bottom-sheet header>div{flex:1;min-width:0}
.share-bottom-sheet header .icon-button{flex:0 0 34px;width:34px;height:34px;border-radius:50%}
.share-bottom-sheet h2{font-size:17px;line-height:1.3;margin:3px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.share-bottom-sheet .eyebrow{margin:0;font-size:9px;letter-spacing:.12em;color:var(--muted)}
.share-bottom-sheet h3{font-size:12px;line-height:1.3;color:var(--muted);font-weight:600;margin:0 0 6px}
.share-bottom-sheet iframe{display:block;width:100%;height:78px;border:0;background:transparent;color-scheme:dark}
.share-bottom-sheet [hidden]{display:none!important}
.share-recent{min-height:0;margin-bottom:10px}
.share-bottom-sheet .share-fallback{min-height:58px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;color:var(--muted);font-size:12px;line-height:1.45}
.share-fallback p,.share-fallback form{margin:0}
.share-fallback .button{font-size:12px;padding:9px 12px;min-height:36px}
.share-app-section{border-top:1px solid var(--line);padding-top:10px}
.share-app-list{display:flex;align-items:flex-start;gap:6px;overflow:auto;padding:0 0 2px}
.share-app{display:flex;align-items:center;flex-direction:column;gap:5px;flex:0 0 70px;padding:4px 0;border:0;border-radius:14px;background:transparent;color:var(--text);font:inherit;cursor:pointer}
.share-app:hover{background:#ffffff08}
.share-app:focus-visible{outline:2px solid var(--text);outline-offset:-2px}
.share-app>i{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff40;border-radius:13px;background:#ffffff06}
.share-app img{width:24px;height:24px;object-fit:contain}
.share-app svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.share-app span{font-size:11px;line-height:1.3;text-align:center;max-width:70px}
.share-app:disabled{opacity:.5;cursor:wait}
.share-bottom-status{font-size:12px;line-height:1.4;margin:8px 0 0}
.share-bottom-status:empty{display:none}
.share-external-link{margin-top:10px}
.share-external-link label{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}
.share-external-link>div{display:flex;align-items:center;gap:6px}
.share-external-link input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--text);padding:9px;font:inherit;font-size:11px;line-height:1.4}
.share-external-link button{flex:0 0 36px}
:root[data-theme=light] .share-bottom-sheet{--text:#141414;--muted:#626262;--line:#ddd;background:rgba(250,250,250,.97);border-color:#0003;color-scheme:light}
:root[data-theme=light] .share-grip{background:#0003}
:root[data-theme=light] .share-app>i{border-color:#0003;background:#00000003}
:root[data-theme=light] .share-app:hover{background:#00000006}
:root[data-theme=light] .share-bottom-sheet iframe{color-scheme:light}
@keyframes cloud-share-rise{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:600px){
 .share-bottom-sheet{inset:auto 0 0;width:100%;max-width:none;max-height:min(360px,55dvh);transform:none;padding:10px 14px max(12px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0;border-bottom:0;animation-name:cloud-share-rise-mobile}
 .share-bottom-sheet header{margin-bottom:10px}
 .share-bottom-sheet h2{font-size:16px}
 .share-app-list{gap:4px}
 .share-app{flex-basis:66px}
 @keyframes cloud-share-rise-mobile{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){.share-bottom-sheet{animation:none}}
