/* DW Social Share sheet 1.1.0 (world-share-sheet-2026-11-13; buttons and Your Galaxy panel unchanged from share.css 1.0.0, cc-dw-social-share-20261110). Uses the DW button system tokens from shop-polish (--dws-*) with
   the same values as fallbacks, so the buttons match the gold primary and the bronze secondary everywhere. */
.dw-ss-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em; box-sizing: border-box;
    min-height: var(--dws-h-sm, 40px); padding: 9px 18px; margin: 0; border-radius: var(--dws-r, 8px);
    font: 650 13px/1.2 var(--dw-sans, system-ui, -apple-system, sans-serif); letter-spacing: .08em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: box-shadow .22s var(--dws-ease, ease), background .22s var(--dws-ease, ease), border-color .22s var(--dws-ease, ease);
}
#wrapper .dw-ss-btn, .dw-ss-sheet .dw-ss-btn { text-transform: uppercase; }
.dw-ss-btn--primary, #wrapper .dw-ss-btn--primary {
    border: 1px solid #e7bd6c; background: var(--dws-gold, linear-gradient(180deg, #ffe9b0 0%, #f2d187 36%, #dcaa55 74%, #c48c34 100%));
    color: var(--dws-ink, #1a1408); -webkit-text-fill-color: var(--dws-ink, #1a1408);
    box-shadow: inset 0 1px 0 rgba(255, 249, 228, .7), 0 6px 18px -10px rgba(233, 199, 122, .65);
}
.dw-ss-btn--secondary, #wrapper .dw-ss-btn--secondary {
    border: 1px solid var(--dws-edge, #b18b4c); background: var(--dws-bronze, linear-gradient(150deg, #49341d, #282218));
    color: var(--dws-text-gold, #ffe5ad); -webkit-text-fill-color: var(--dws-text-gold, #ffe5ad);
}
.dw-ss-btn--quiet, #wrapper .dw-ss-btn--quiet {
    border: 1px solid transparent; background: transparent; color: var(--dws-text-gold, #ffe5ad); -webkit-text-fill-color: var(--dws-text-gold, #ffe5ad);
    text-decoration: underline; text-underline-offset: 3px;
}
@media (hover: hover) {
    .dw-ss-btn--primary:hover { background: var(--dws-gold-hover, linear-gradient(180deg, #fff1c9 0%, #f7dc98 36%, #e5b763 74%, #cf973d 100%)); }
    .dw-ss-btn--secondary:hover { border-color: var(--dws-edge-hi, #ffe6ad); box-shadow: var(--dws-ring, 0 0 0 1px #efc578, 0 0 13px #efb85b88); }
}
.dw-ss-btn:focus-visible, .dw-ss-net:focus-visible, .dw-ss-sheet__close:focus-visible, .dw-ss-input:focus-visible, .dw-ss-sheet__text:focus-visible {
    outline: none; box-shadow: var(--dws-focus, 0 0 0 2px #0f1712, 0 0 0 4px #ffe6ad);
}
.dw-ss-ico { flex: none; }

/* Your Galaxy panel */
.dw-ss-panel {
    margin: 32px 0; padding: 24px; border: 1px solid rgba(233, 199, 122, .35); border-radius: 12px;
    background: var(--dws-panel, linear-gradient(135deg, #172d22 0%, #101d17 100%)); color: var(--dws-panel-text, #f4ecdb);
}
.dw-ss-panel__title { margin: 0 0 6px; font: 500 26px/1.2 var(--dw-serif, "Bodoni Moda", Georgia, serif); color: var(--dws-panel-text, #f4ecdb); }
.dw-ss-panel__lede, .dw-ss-help { margin: 0 0 16px; color: var(--dws-panel-muted, #d9ceb4); font-size: 15px; line-height: 1.55; }
.dw-ss-help { font-size: 14px; }
.dw-ss-notice { margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid var(--dws-ok, #e9c77a); background: rgba(233, 199, 122, .08); border-radius: 6px; }
.dw-ss-list, #wrapper .dw-ss-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.dw-ss-list > li { margin: 0; }
.dw-ss-item {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px;
    border: 1px solid rgba(233, 199, 122, .18); border-radius: 10px; background: rgba(9, 16, 12, .35);
}
.dw-ss-item__text { display: grid; gap: 2px; min-width: 0; }
.dw-ss-item__text strong { font-weight: 600; color: var(--dws-panel-text, #f4ecdb); }
.dw-ss-item__text span { font-size: 14px; color: var(--dws-panel-muted, #d9ceb4); }
.dw-ss-fieldset { margin: 0 0 16px; padding: 16px; border: 1px solid rgba(233, 199, 122, .22); border-radius: 10px; }
.dw-ss-fieldset legend { padding: 0 6px; font-weight: 600; color: var(--dws-text-gold, #ffe5ad); }
.dw-ss-check { display: flex; gap: 10px; align-items: center; margin: 0 0 8px; font-weight: 600; cursor: pointer; }
.dw-ss-check input { width: 20px; height: 20px; accent-color: #dcaa55; }
.dw-ss-label { display: block; margin: 0 0 6px; font-weight: 600; }
.dw-ss-input {
    width: 100%; max-width: 360px; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border-radius: 8px;
    border: 1px solid rgba(233, 199, 122, .45); background: #0c1611; color: #f4ecdb; font-size: 16px;
}
.dw-ss-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.dw-ss-levelup { margin: -8px 0 24px; text-align: center; }
.dw-ss-inline { margin: 14px 0 0; }
.dw-ss-place { margin: 12px 0 20px; }

/* The sheet (1.1.0): primary action first, one tile grid (4 x 2) with an icon per network, copy link and email, then the
   picture downloads. Gold on deep green like the rest of the site; a bottom sheet on phones. */
html.dw-ss-open { overflow: hidden; }
.dw-ss-sheet {
    width: min(560px, calc(100vw - 32px)); max-width: 560px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; margin: auto;
    border: 1px solid rgba(233, 199, 122, .45); border-radius: 16px; box-sizing: border-box;
    background: var(--dws-panel, linear-gradient(135deg, #172d22 0%, #101d17 100%)); color: var(--dws-panel-text, #f4ecdb);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); overflow: auto; overscroll-behavior: contain;
}
.dw-ss-sheet[open] { display: block; }
.dw-ss-sheet:not([open]) { display: none; }
.dw-ss-sheet::backdrop { background: rgba(4, 8, 6, .74); }
.dw-ss-sheet[role="dialog"][open] { position: fixed; inset: 16px; margin: auto; z-index: 100000; height: fit-content; }
.dw-ss-sheet *, .dw-ss-sheet *::before, .dw-ss-sheet *::after { box-sizing: border-box; }
.dw-ss-sheet a::after, .dw-ss-sheet a::before { content: none !important; display: none !important; }   /* the theme's gold hover bar under links */
.dw-ss-sheet a.dw-ss-tile, .dw-ss-sheet a.dw-ss-tile * { text-decoration: none !important; }   /* the theme underlines every link on touch screens */
.dw-ss-sheet__box { padding: 18px 20px 20px; display: grid; gap: 12px; min-width: 0; }
.dw-ss-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dw-ss-sheet__title { margin: 0; font: 500 22px/1.25 var(--dw-serif, "Bodoni Moda", Georgia, serif); color: var(--dws-panel-text, #f4ecdb); }
.dw-ss-sheet__sub { margin: -6px 0 0; font-size: 15px; line-height: 1.45; color: var(--dws-panel-muted, #d9ceb4); overflow-wrap: anywhere; }
.dw-ss-sheet__close {
    flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(233, 199, 122, .4);
    background: transparent; color: var(--dws-text-gold, #ffe5ad); cursor: pointer; padding: 0;
}
@media (hover: hover) { .dw-ss-sheet__close:hover { border-color: var(--dws-edge-hi, #ffe6ad); } }
.dw-ss-sheet__preview { margin: 0; }
.dw-ss-sheet__preview[hidden] { display: none; }
.dw-ss-sheet__preview img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 10px; background: #0c1611; }
.dw-ss-sheet__label { font-weight: 600; font-size: 14px; margin: 2px 0 -6px; }
.dw-ss-sheet__text {
    display: block; width: 100%; min-height: 104px; margin: 0; padding: 10px 12px; border-radius: 8px; resize: vertical;
    border: 1px solid rgba(233, 199, 122, .45); background: #0c1611; color: #f4ecdb; font: 16px/1.45 var(--dw-sans, system-ui, sans-serif);
}
.dw-ss-disclose { margin: -4px 0 0; font-size: 13px; line-height: 1.45; color: var(--dws-panel-muted, #d9ceb4); }
.dw-ss-disclose[hidden], .dw-ss-native[hidden], .dw-ss-save[hidden] { display: none; }
.dw-ss-native { display: grid; }
.dw-ss-sheet .dw-ss-apps { width: 100%; min-height: var(--dws-h, 50px); font-size: 14px; }
.dw-ss-sheet .dw-ss-apps .dw-ss-glyph { width: 20px; height: 20px; }
.dw-ss-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dw-ss-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dw-ss-sheet .dw-ss-tile, .dw-ss-sheet a.dw-ss-tile, .dw-ss-sheet a.dw-ss-tile:hover, .dw-ss-sheet a.dw-ss-tile:visited {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 76px; margin: 0;
    padding: 10px 4px 9px; border-radius: 10px; border: 1px solid rgba(233, 199, 122, .32); background: rgba(9, 16, 12, .55);
    color: var(--dws-panel-text, #f4ecdb); -webkit-text-fill-color: var(--dws-panel-text, #f4ecdb);
    font: 600 13px/1.2 var(--dw-sans, system-ui, sans-serif); letter-spacing: 0; text-transform: none; text-decoration: none; text-align: center;
    cursor: pointer; box-shadow: none; transition: border-color .2s ease, background .2s ease;
}
.dw-ss-sheet .dw-ss-tile--wide, .dw-ss-sheet a.dw-ss-tile--wide, .dw-ss-sheet a.dw-ss-tile--wide:hover { flex-direction: row; min-height: 48px; gap: 10px; padding: 10px 12px; font-size: 14px; }
.dw-ss-sheet .dw-ss-tile .dw-ss-glyph { flex: none; width: 24px; height: 24px; color: var(--dws-text-gold, #ffe5ad); }
.dw-ss-sheet .dw-ss-tile--wide .dw-ss-glyph { width: 20px; height: 20px; }
.dw-ss-tile__label { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) {
    .dw-ss-sheet .dw-ss-tile:hover, .dw-ss-sheet a.dw-ss-tile:hover { border-color: var(--dws-edge-hi, #ffe6ad); background: rgba(233, 199, 122, .1); }
}
.dw-ss-sheet .dw-ss-tile:focus-visible, .dw-ss-save__link:focus-visible { outline: none; box-shadow: var(--dws-focus, 0 0 0 2px #0f1712, 0 0 0 4px #ffe6ad); }
.dw-ss-status { margin: 0; min-height: 1.3em; font-size: 14px; line-height: 1.45; color: var(--dws-ok, #e9c77a); text-align: center; }
.dw-ss-status:empty { min-height: 0; margin: -6px 0; }
.dw-ss-hint { margin: 0; font-size: 13px; line-height: 1.45; color: var(--dws-panel-muted, #d9ceb4); }
.dw-ss-save { margin: 0; padding-top: 10px; border-top: 1px solid rgba(233, 199, 122, .18); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; }
.dw-ss-save__lede { color: var(--dws-panel-muted, #d9ceb4); }
.dw-ss-sheet a.dw-ss-save__link, .dw-ss-sheet a.dw-ss-save__link:visited {
    display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--dws-text-gold, #ffe5ad); -webkit-text-fill-color: var(--dws-text-gold, #ffe5ad);
    text-decoration: underline; text-underline-offset: 3px; font-weight: 600;
}
.dw-ss-save__link .dw-ss-glyph { width: 18px; height: 18px; }
.dw-ss-sheet__note { margin: 0; font-size: 13px; color: var(--dws-panel-muted, #d9ceb4); text-align: center; }

@media (max-width: 600px) {
    .dw-ss-panel { padding: 18px 16px; }
    .dw-ss-item { flex-direction: column; align-items: stretch; }
    .dw-ss-item .dw-ss-btn { width: 100%; }
    .dw-ss-sheet { width: 100vw; max-width: 100vw; max-height: 92vh; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; border-bottom: 0; }
    .dw-ss-sheet__box { padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px)); gap: 11px; }
    .dw-ss-sheet__title { font-size: 20px; }
    .dw-ss-sheet .dw-ss-tile, .dw-ss-sheet a.dw-ss-tile, .dw-ss-sheet a.dw-ss-tile:hover { min-height: 70px; font-size: 12px; padding: 9px 2px 8px; }
    .dw-ss-sheet .dw-ss-tile--wide, .dw-ss-sheet a.dw-ss-tile--wide, .dw-ss-sheet a.dw-ss-tile--wide:hover { min-height: 46px; font-size: 14px; }
    .dw-ss-save { gap: 4px 18px; }
    .dw-ss-save__lede { flex: 1 0 100%; }
}
@media (max-width: 340px) { .dw-ss-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dw-ss-sheet .dw-ss-tile { flex-direction: row; min-height: 48px; } }
@media (prefers-reduced-motion: reduce) { .dw-ss-btn, .dw-ss-net, .dw-ss-tile { transition: none; } }
