/* Sharing stays independent of provider actions and remains visible on touch screens. */
.card, .release-card { position: relative; }
.w2w-share-buttons { display: inline-flex; align-items: stretch; border: 1px solid rgba(242,201,76,.55); border-radius: 999px; overflow: hidden; box-shadow: 0 4px 16px #0004; }
.w2w-share-buttons button { min-height: 44px; border: 0; color: #ffe59a; background: rgba(15,15,14,.9); font: inherit; font-weight: 750; cursor: pointer; touch-action: manipulation; }
.w2w-share-primary { display: flex; gap: 7px; align-items: center; justify-content: center; padding: 0 12px; font-size: .74rem !important; }
.w2w-share-more { display: grid; place-items: center; min-width: 44px; padding: 0 9px; border-left: 1px solid rgba(242,201,76,.3) !important; }
.w2w-share-buttons svg, .w2w-share-apps svg, .w2w-share-copy svg, .w2w-share-close svg { width: 19px; height: 19px; flex: 0 0 auto; }
.w2w-share-card-buttons { position: absolute; top: 10px; right: 10px; max-width: calc(100% - 16px); z-index: 2; backdrop-filter: blur(8px); }
.w2w-share-card-buttons .w2w-share-primary { flex: 0 1 auto; min-width: 44px; }
.w2w-share-card-buttons .w2w-share-more { flex: 0 0 44px; }
.w2w-share-primary > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w2w-share-card-buttons .w2w-share-primary { padding: 0 9px; gap: 5px; }
.w2w-share-buttons button:hover { background: #29251a; }
.w2w-share-buttons button:active { background: #44371b; }
.w2w-share-buttons button:focus-visible { outline: 2px solid #fff0b2; outline-offset: -4px; }
.w2w-share-invite { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin: 22px 0 25px; }
.w2w-share-invite p { margin: 0; font-size: .78rem; color: var(--muted); }
.w2w-share-detail-buttons { border-color: #e1ae3b; box-shadow: 0 5px 22px #c9952420; }
.w2w-share-detail-buttons button { min-height: 48px; background: linear-gradient(115deg, #ffe19b, #e7b941); color: #211905; }
.w2w-share-detail-buttons .w2w-share-primary { padding: 0 18px; font-size: .85rem !important; }
.w2w-share-detail-buttons .w2w-share-more { border-left-color: #66471640 !important; }
.w2w-share-detail-buttons button:hover { background: #ffdf84; }
.w2w-share-detail-buttons button:focus-visible { outline-color: #634607; }
body.w2w-sharing-open { overflow: hidden; }
.w2w-share-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; margin: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); color: var(--text); box-shadow: 0 30px 100px #000a; overflow-y: auto; overscroll-behavior: contain; }
.w2w-share-dialog[open] { animation: w2w-share-enter .18s ease-out; }
.w2w-share-dialog::backdrop { background: #000a; backdrop-filter: blur(5px); }
.w2w-share-dialog [hidden] { display: none !important; }
.w2w-share-sheet { position: relative; padding: 27px 26px 20px; }
.w2w-share-handle { display: none; }
.w2w-share-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-elevated); color: var(--muted); cursor: pointer; }
.w2w-share-brand { color: var(--text); font-size: .65rem; font-weight: 850; letter-spacing: .08em; }
.w2w-share-brand > span { color: var(--gold); }
.w2w-share-sheet h2 { max-width: calc(100% - 28px); margin: 16px 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.85rem; font-weight: 500; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
#w2w-share-intro { margin: 0 0 20px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.w2w-share-preview { display: flex; align-items: center; gap: 14px; padding: 13px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--bg-elevated); }
.w2w-share-preview img { width: 48px; height: 70px; flex: 0 0 auto; border-radius: 7px; object-fit: cover; }
.w2w-share-preview > div { min-width: 0; }
.w2w-share-title { display: block; color: var(--text); font-size: .9rem; line-height: 1.35; overflow-wrap: anywhere; }
.w2w-share-meta { display: block; color: var(--gold); font-size: .7rem; line-height: 1.5; margin-top: 6px; }
.w2w-share-apps { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 15px; padding: 10px 15px; border: 0; border-radius: 12px; background: linear-gradient(115deg, #ffe19b, #e7b941); color: #211905; font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; }
.w2w-share-networks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 4px; margin-bottom: 20px; }
.w2w-share-network { min-width: 0; min-height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 8px 2px; border: 0; border-radius: 12px; background: transparent; color: var(--text); text-decoration: none; font: inherit; font-size: .68rem; font-weight: 650; cursor: pointer; touch-action: manipulation; }
.w2w-share-network:hover { background: var(--bg-elevated); }
.w2w-share-network-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.w2w-share-network-icon svg { width: 23px; height: 23px; }
.w2w-network-whatsapp { background: #25d366; color: #072d16; }
.w2w-network-facebook { background: #1877f2; color: #fff; }
.w2w-network-telegram { background: #2aabee; color: #fff; }
.w2w-network-instagram { background: linear-gradient(35deg, #ffd367, #e44c71 45%, #9b32be); color: #fff; }
.w2w-network-x { background: #242424; color: #fff; border: 1px solid #555; }
.w2w-network-linkedin { background: #0a66c2; color: #fff; }
.w2w-network-snapchat { background: #fffc00; color: #171717; }
.w2w-network-tiktok { background: #171717; color: #fff; border: 1px solid #555; }
.w2w-share-copy { display: flex; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-elevated); overflow: hidden; }
.w2w-share-copy input { min-width: 0; width: 100%; padding: 0 12px; min-height: 48px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 16px; text-overflow: ellipsis; }
.w2w-share-copy button { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 0 13px; min-height: 48px; border: 0; border-left: 1px solid var(--line); background: var(--gold-soft); color: var(--gold); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.w2w-share-status { min-height: 1.4em; margin: 12px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.w2w-share-open-app { display: inline-flex; min-height: 44px; align-items: center; margin-top: 4px; color: var(--gold); font-size: .82rem; font-weight: 750; text-decoration: none; }
.w2w-share-dialog button:focus-visible, .w2w-share-dialog a:focus-visible, .w2w-share-copy input:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
@keyframes w2w-share-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .w2w-share-dialog { width: 100%; max-width: 100%; max-height: calc(100dvh - max(12px, env(safe-area-inset-top))); margin: auto 0 0; border-radius: 24px 24px 0 0; border-bottom: 0; }
  .w2w-share-sheet { padding: 23px 20px calc(18px + env(safe-area-inset-bottom)); }
  .w2w-share-handle { display: block; position: absolute; top: 8px; left: calc(50% - 18px); width: 36px; height: 4px; border-radius: 4px; background: var(--faint); }
  .w2w-share-sheet h2 { font-size: 1.7rem; }
  .w2w-share-invite { gap: 10px; }
  .w2w-share-invite p { width: 100%; }
  .w2w-share-detail-buttons { width: 100%; }
  .w2w-share-detail-buttons .w2w-share-primary { flex: 1; }
}
@media (max-width: 359px) {
  .w2w-share-card-buttons { top: 7px; right: 7px; }
  .w2w-share-card-buttons .w2w-share-primary > span { display: none; }
  .w2w-share-card-buttons .w2w-share-primary { min-width: 44px; }
  .w2w-share-sheet { padding-left: 14px; padding-right: 14px; }
  .w2w-share-copy button { padding: 0 8px; font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) { .w2w-share-dialog[open] { animation: none; } }
