.tuf-share-actions {
  --tuf-share-bg: #ffffff;
  --tuf-share-bg-soft: #f7faff;
  --tuf-share-text: #0b1b2c;
  --tuf-share-muted: #627489;
  --tuf-share-border: #d9e3ed;
  --tuf-share-border-strong: #c8d7e6;
  --tuf-share-accent: #1267e8;
  --tuf-share-accent-soft: #edf5ff;
  --tuf-share-hover: #f7fafd;
  box-sizing: border-box;
  color: var(--tuf-share-text);
}

.tuf-share-actions *,
.tuf-share-actions *::before,
.tuf-share-actions *::after {
  box-sizing: border-box;
}

.tuf-share-actions--dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(760px, calc(100vw - 40px));
  max-width: 760px;
  max-height: calc(100vh - 40px);
  margin: 0;
  padding: 32px 32px 28px;
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(205, 218, 231, .9);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: var(--tuf-share-text);
  box-shadow:
    0 34px 100px rgba(7, 20, 32, .22),
    0 8px 26px rgba(7, 20, 32, .10);
  overscroll-behavior: contain;
}

.tuf-share-actions--dialog[open] {
  animation: tuf-share-dialog-in .18s ease-out both;
}

.tuf-share-actions--dialog::backdrop {
  background: rgba(9, 21, 33, .58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: tuf-share-backdrop-in .18s ease-out both;
}

@keyframes tuf-share-dialog-in {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(.985);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes tuf-share-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tuf-share-actions__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--tuf-share-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #26394c;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.tuf-share-actions__close:hover {
  border-color: var(--tuf-share-border-strong);
  background: var(--tuf-share-hover);
  transform: rotate(3deg);
}

.tuf-share-actions__heading {
  display: grid;
  gap: 7px;
  padding-right: 66px;
  margin: 0 0 22px;
}

.tuf-share-actions__eyebrow {
  color: var(--tuf-share-accent);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tuf-share-actions__heading > strong {
  color: var(--tuf-share-text);
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -.025em;
}

.tuf-share-actions__subtitle {
  max-width: 560px;
  color: var(--tuf-share-muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.tuf-share-actions__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 12px;
}

.tuf-share-actions__buttons button {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid var(--tuf-share-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  color: #10243a;
  font: inherit;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(12, 27, 42, .02);
  transition:
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}

.tuf-share-actions__buttons button:hover {
  border-color: var(--tuf-share-border-strong);
  background: var(--tuf-share-hover);
  box-shadow: 0 8px 24px rgba(18, 53, 86, .07);
  transform: translateY(-1px);
}

.tuf-share-actions__buttons button:active {
  transform: translateY(0);
}

.tuf-share-actions__buttons button:focus-visible,
.tuf-share-actions__close:focus-visible {
  outline: 3px solid rgba(18, 103, 232, .20);
  outline-offset: 2px;
}

.tuf-share-actions__platform-icon,
.tuf-share-actions__copy-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.tuf-share-actions__platform-icon svg,
.tuf-share-actions__copy-icon svg,
.tuf-share-actions__copy-action svg,
.tuf-share-actions__chevron svg {
  display: block;
  width: 18px;
  height: 18px;
}

.tuf-share-actions__platform-icon--x {
  border-radius: 999px;
  background: #050505;
  color: #fff;
}

.tuf-share-actions__platform-icon--bluesky {
  background: #eef7ff;
  color: #1685f8;
}

.tuf-share-actions__platform-icon--facebook {
  border-radius: 999px;
  background: #1877f2;
  color: #fff;
}

.tuf-share-actions__platform-icon--linkedin {
  background: #0a66c2;
  color: #fff;
}

.tuf-share-actions__platform-icon--reddit {
  border-radius: 999px;
  background: #ff4500;
  color: #fff;
}

.tuf-share-actions__platform-icon--whatsapp {
  border-radius: 999px;
  background: #ecfff3;
  color: #12b957;
}

.tuf-share-actions__platform-icon--telegram {
  border-radius: 999px;
  background: #229ed9;
  color: #fff;
}

.tuf-share-actions__platform-label {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tuf-share-actions__chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  margin-left: auto;
  color: #6e8297;
}

.tuf-share-actions__buttons [data-tuf-share-copy],
.tuf-share-actions__divider,
.tuf-share-actions__buttons [data-tuf-share-native] {
  grid-column: 1 / -1;
}

.tuf-share-actions__buttons [data-tuf-share-copy] {
  min-height: 70px;
  margin-top: 7px;
  padding: 10px 13px;
}

.tuf-share-actions__copy-icon {
  border-radius: 999px;
  background: var(--tuf-share-accent-soft);
  color: var(--tuf-share-accent);
}

.tuf-share-actions__copy-text {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
}

.tuf-share-actions__copy-title {
  color: var(--tuf-share-text);
  font-size: 15px;
  font-weight: 800;
}

.tuf-share-actions__copy-subtitle {
  color: var(--tuf-share-muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.tuf-share-actions__copy-action {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid var(--tuf-share-border);
  border-radius: 11px;
  background: #fff;
  color: #294158;
}

.tuf-share-actions__buttons [data-tuf-share-copy].is-copied {
  border-color: #9dcfb1;
  background: #f7fcf9;
}

.tuf-share-actions__buttons [data-tuf-share-copy].is-copied .tuf-share-actions__copy-icon,
.tuf-share-actions__buttons [data-tuf-share-copy].is-copied .tuf-share-actions__copy-action {
  color: #138a48;
}

.tuf-share-actions__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 6px 0 0;
  color: #78899a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tuf-share-actions__divider::before,
.tuf-share-actions__divider::after {
  content: "";
  height: 1px;
  background: #e1e8ef;
}

.tuf-share-actions__buttons [data-tuf-share-native] {
  min-height: 54px;
  justify-content: center;
  border-color: #cbdcf0;
  background: #fff;
  color: var(--tuf-share-accent);
  font-weight: 800;
}

.tuf-share-actions__buttons [data-tuf-share-native]:hover {
  border-color: #9fc0e7;
  background: #f7fbff;
}

.tuf-share-actions__buttons [data-tuf-share-native] .tuf-share-actions__chevron {
  position: absolute;
  right: 16px;
  color: var(--tuf-share-accent);
}

.tuf-share-actions__buttons [data-tuf-share-native] {
  position: relative;
}

.tuf-share-actions__status {
  display: block;
  margin-top: 12px;
  color: var(--tuf-share-muted);
  font-size: 13px;
  line-height: 1.4;
}

.tuf-share-actions__status:empty {
  display: none;
}

/*
 * Product Detail â€” Quick Facts hierarchy.
 *
 * Quick Facts is part of the primary Product interface, so its labels and
 * values should be comfortably readable and visually stronger than secondary
 * metadata such as Last checked / Official sources.
 */

.tuf-product-detail__quick-facts h2 {
  font-size: clamp(1.65rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.tuf-product-detail__quick-facts dt {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .035em;
}

.tuf-product-detail__quick-facts dd {
  font-size: 1.28rem;
  line-height: 1.5;
  font-weight: 500;
}

.tuf-product-detail__quick-facts dl > div {
  column-gap: 1.15rem;
}

/*
 * Secondary Product metadata stays slightly quieter than Quick Facts.
 */

.tuf-product-detail__metadata dt {
  font-size: .9rem;
  line-height: 1.3;
}

.tuf-product-detail__metadata dd {
  font-size: 1rem;
  line-height: 1.4;
}

/*
 * One authoritative action row only.
 * Foundation-injected duplicate rows are hidden.
 */

.tuf-product-detail__hero
.tuf-product-foundation__actions:not(.tuf-product-detail__primary-actions) {
  display: none !important;
}

.tuf-product-detail__primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tuf-product-detail__primary-actions button {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

/*
 * Composer grids:
 * Short cards stop where their real content stops instead of stretching
 * to match the tallest sibling.
 */

.tuf-composer__grid {
  align-items: start !important;
}

.tuf-composer__grid > .tuf-composer__card {
  align-self: start !important;
  height: auto !important;
}

/*
 * Keep the final content visually separated from the site footer.
 */

.tuf-product-detail__page-end-gap {
  min-height: 34px;
}

/*
 * Midnight mode.
 */

[data-tuf-style="midnight"] .tuf-share-actions {
  --tuf-share-bg: #0b1a28;
  --tuf-share-bg-soft: #102334;
  --tuf-share-text: #f2f7fb;
  --tuf-share-muted: #9fb0c0;
  --tuf-share-border: #30485e;
  --tuf-share-border-strong: #42627d;
  --tuf-share-accent: #5ba0ff;
  --tuf-share-accent-soft: #102b45;
  --tuf-share-hover: #132b3e;
}

[data-tuf-style="midnight"] .tuf-share-actions--dialog {
  border-color: #2b4054;
  background: linear-gradient(180deg, #0d1d2c 0%, #091724 100%);
  color: var(--tuf-share-text);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, .52),
    0 8px 26px rgba(0, 0, 0, .28);
}

[data-tuf-style="midnight"] .tuf-share-actions__close,
[data-tuf-style="midnight"] .tuf-share-actions__buttons button,
[data-tuf-style="midnight"] .tuf-share-actions__copy-action {
  border-color: var(--tuf-share-border);
  background: #102334;
  color: #eaf2f8;
}

[data-tuf-style="midnight"] .tuf-share-actions__buttons button:hover,
[data-tuf-style="midnight"] .tuf-share-actions__close:hover {
  background: #132b3e;
}

[data-tuf-style="midnight"] .tuf-share-actions__copy-title,
[data-tuf-style="midnight"] .tuf-share-actions__heading > strong {
  color: var(--tuf-share-text);
}

[data-tuf-style="midnight"] .tuf-share-actions__buttons [data-tuf-share-copy].is-copied {
  border-color: #35694c;
  background: #0d2a1c;
}

[data-tuf-style="midnight"] .tuf-share-actions__divider::before,
[data-tuf-style="midnight"] .tuf-share-actions__divider::after {
  background: #294054;
}

[data-tuf-style="midnight"] .tuf-share-actions__buttons [data-tuf-share-native] {
  border-color: #31567d;
  background: #0f2233;
  color: #7fb6ff;
}

[data-tuf-style="midnight"] .tuf-share-actions__buttons [data-tuf-share-native]:hover {
  border-color: #4776a5;
  background: #132b3e;
}

/*
 * Mobile.
 */

@media (max-width: 620px) {
  .tuf-share-actions--dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 24px 16px 18px;
    border-radius: 20px;
  }

  .tuf-share-actions__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .tuf-share-actions__heading {
    gap: 6px;
    padding-right: 48px;
    margin-bottom: 18px;
  }

  .tuf-share-actions__heading > strong {
    font-size: 25px;
  }

  .tuf-share-actions__subtitle {
    font-size: 14px;
  }

  .tuf-share-actions__buttons {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .tuf-share-actions__buttons [data-tuf-share-copy],
  .tuf-share-actions__divider,
  .tuf-share-actions__buttons [data-tuf-share-native] {
    grid-column: auto;
  }

  .tuf-share-actions__buttons button {
    min-height: 54px;
  }

  .tuf-share-actions__buttons [data-tuf-share-copy] {
    min-height: 68px;
    margin-top: 5px;
  }

  .tuf-product-detail__quick-facts h2 {
    font-size: 1.55rem;
  }

  .tuf-product-detail__quick-facts dt {
    font-size: .95rem;
  }

  .tuf-product-detail__quick-facts dd {
    font-size: 1.14rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tuf-share-actions--dialog[open],
  .tuf-share-actions--dialog::backdrop {
    animation: none;
  }

  .tuf-share-actions__buttons button,
  .tuf-share-actions__close {
    transition: none;
  }
}