button.nwd-share-feedback{position:relative;transition:background .2s,color .2s;white-space:nowrap}
button.nwd-share-copied{color:#fff!important}
button.nwd-share-pressing{animation:nwd-share-press .09s ease-out}
.nwd-share-original,.nwd-share-result{display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:opacity .2s,transform .2s;pointer-events:none}
.nwd-share-original{opacity:1;transform:scale(1)}
.nwd-share-result{position:absolute;inset:0;opacity:0;transform:scale(.75)}
.nwd-share-copied .nwd-share-original{opacity:0;transform:scale(.75)}
.nwd-share-copied .nwd-share-result{opacity:1;transform:scale(1)}
button.nwd-share-copied:not(.detail-icon-button){background:#242723!important;border-color:#242723!important}
/* Detail controls paint their inset circle in ::before, inside a transparent hit area. */
button.detail-icon-button.nwd-share-copied{background:transparent!important}
button.detail-icon-button.nwd-share-feedback::before{transition:background .2s,border-color .2s}
button.detail-icon-button.nwd-share-copied::before{background:#242723!important;border-color:#242723!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.nwd-share-check{width:22px;height:22px;flex:none;vertical-align:middle}
.nwd-share-check path{stroke-dasharray:26;stroke-dashoffset:0;animation:nwd-share-draw .28s ease-out}
@keyframes nwd-share-press{from{transform:scale(.88)}to{transform:scale(1)}}
@keyframes nwd-share-draw{from{stroke-dashoffset:26}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){button.nwd-share-feedback,button.nwd-share-pressing,button.detail-icon-button.nwd-share-feedback::before,.nwd-share-original,.nwd-share-result,.nwd-share-check path{animation:none;transition:none;transform:none}}

/* Bottom feedback follows its message; retain the existing position and animation. */
#toast.toast{width:max-content;max-width:min(560px,calc(100vw - 32px));min-width:0;min-height:44px;height:auto;box-sizing:border-box;padding:10px 16px;font-size:16px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
