#result-share[hidden]{display:none!important}
#result-share{flex:none;min-height:40px;margin:8px 0 0;padding:7px 12px;font:12px/1.5 'Noto Sans JP','Noto Sans SC',sans-serif;gap:6px;border:1px solid currentColor;color:inherit;background:transparent;opacity:.85}
#result-share svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
#result-share:hover{opacity:1}
#overlay:has(#result-share:not([hidden])){overflow-y:auto}
#result-share-dialog{box-sizing:border-box;width:min(360px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--border,#515747);border-radius:7px;background:var(--panel,#172122);color:var(--text,#ecf0e7);font:13px/1.7 'Noto Sans JP','Noto Sans SC',sans-serif;overflow:auto}
#result-share-dialog::backdrop{background:#0008}
#result-share-dialog .result-close{position:absolute;top:4px;right:4px;width:40px;height:40px;font-size:22px;background:transparent;color:inherit}
#result-share-dialog h2{font-family:inherit;font-weight:500;font-size:18px;line-height:1.6;margin:8px 24px 12px 0;letter-spacing:0}
#result-share-dialog .result-summary{font-size:13px;color:var(--muted);margin:0 0 12px}
#result-share-dialog [hidden]{display:none!important}
#result-share-dialog .result-status{font-size:12px;line-height:1.7;color:var(--accent)}
#result-share-dialog .result-manual{box-sizing:border-box;width:100%;min-height:90px;font-family:inherit;font-size:12px;line-height:1.6;background:var(--bg);color:var(--text);border:1px solid var(--border)}
#result-share-dialog :focus-visible,#result-share:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:650px){#result-share{min-height:44px}#overlay:has(#result-share:not([hidden])) #stateTitle{font-size:22px;margin:12px 0 8px}#overlay:has(#result-share:not([hidden])) #stateText{margin:8px 0;line-height:1.7}#overlay:has(#result-share:not([hidden])) #start{margin-top:8px}}


#result-share-dialog .result-image-preview{display:block;width:100%;height:auto;aspect-ratio:1200/630;border-radius:4px;margin:0 0 12px}
#result-share-dialog .result-image-note{font-size:11px;line-height:1.7;color:var(--muted);margin:12px 0}
#result-share-dialog .result-image-share,#result-share-dialog .result-image-save{color:var(--accent)}
