.fbb-share-trigger {
    display: inline-grid;
    place-items: center;
    vertical-align: middle;
    color: #f1d78c;
    background: #17131a;
    padding: 5px;
    border: 1px solid #73603f;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.fbb-share-trigger svg, .fbb-share-dialog svg { width: 17px; height: 17px; flex: none; }
.fbb-share-trigger:hover, .fbb-share-trigger:focus-visible { color: #fff4d8; border-color: #f1d78c; }
.fbb-share-header { flex: none; margin-inline-start: -6px; }
@media (max-width: 1099px) {
    header.nav.fbb-store-header > .wrap:has(> .fbb-share-header) {
        grid-template-columns: minmax(0, 1fr) auto auto auto;
    }
    header.nav.fbb-store-header > .wrap > .fbb-share-header {
        grid-area: 1 / 4;
        margin-inline-start: 0;
    }
}
.fbb-share-art-host { position: relative; }
.fbb-share-overlay { position: absolute; top: 10px; right: 10px; z-index: 3; }
.fbb-share-dialog {
    width: min(420px, calc(100vw - 28px));
    max-height: calc(100dvh - 24px);
    padding: 20px;
    color: #f7f0de;
    background: #17131a;
    border: 1px solid #a58a52;
    border-radius: 12px;
    box-sizing: border-box;
    font: 15px/1.45 var(--sans, sans-serif);
    margin: auto;
}
.fbb-share-dialog::backdrop { background: #0009; }
.fbb-share-head { display: flex; align-items: center; justify-content: space-between; }
.fbb-share-head h2 { font: 600 25px/1.2 var(--serif, serif); color: inherit; margin: 0; }
.fbb-share-item { color: #e8cc91; margin: 4px 0 14px; }
.fbb-share-options, .fbb-share-media:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fbb-share-media { margin-top: 12px; }
.fbb-share-media p { grid-column: 1 / -1; margin: 0 0 4px; }
.fbb-share-dialog a, .fbb-share-dialog button {
    display: flex; align-items: center; gap: 8px; min-height: 39px; padding: 6px 9px;
    color: inherit; background: #211c23; border: 1px solid #554637; border-radius: 5px;
    font: inherit; line-height: 1.2; text-align: left; text-decoration: none; cursor: pointer;
}
.fbb-share-dialog :is(a, button):hover, .fbb-share-dialog :is(a, button):focus-visible { border-color: #f1d78c; color: #f1d78c; }
.fbb-share-dialog .fbb-share-close { justify-content: center; min-width: 34px; min-height: 34px; font-size: 22px; }
.fbb-share-status { margin: 0; }
.fbb-share-status:not(:empty) { margin-top: 10px; }
.fbb-share-status textarea { display: block; width: 100%; }
