/* Shared navigation and card behavior for every platform detail page. */
header .nav {
  gap: 18px;
}

header .tabs {
  flex: 0 1 auto;
  gap: 0;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid #e7e2dd;
  border-radius: 999px;
  background: #fff;
  scrollbar-width: none;
}

header .tabs::-webkit-scrollbar {
  display: none;
}

header .tabs a {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 10px 13px;
  border-radius: 999px;
  color: #6f6964;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

header .tabs a.active {
  background: #171717;
  color: #fff;
}

header .order-top {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 17px;
  background: #1677f2;
  box-shadow: 0 8px 20px rgba(22, 119, 242, .2);
  white-space: nowrap;
}

.plan {
  height: 100%;
  cursor: pointer;
}

.plan:focus-visible {
  outline: 3px solid rgba(22, 119, 242, .35);
  outline-offset: 3px;
}

.plan .plan-action a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body[data-platform="facebook"] .hero-price {
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

body[data-platform="facebook"] .hero-price strong {
  max-width: 74%;
  font-size: 38px;
  line-height: 1.05;
}

body[data-platform="facebook"] .hero-price .hero-twd {
  flex: 0 0 auto;
  padding-bottom: 5px;
}

@media (max-width: 1080px) {
  header .nav { gap: 12px; }
  header .brand small { display: none; }
  header .tabs a { padding-inline: 10px; }
}

@media (max-width: 920px) {
  header { position: sticky; }
  header .nav {
    height: auto;
    min-height: 68px;
    padding: 10px 0;
    flex-wrap: wrap;
  }
  header .tabs {
    display: flex;
    order: 3;
    width: 100%;
    margin-left: 0;
  }
  header .order-top { margin-left: auto; }
}

@media (max-width: 480px) {
  header .brand strong { font-size: 13px; }
  header .brand-mark { width: 34px; height: 34px; }
  header .order-top {
    min-height: 40px;
    padding: 10px 13px;
    font-size: 11px;
  }

  body[data-platform="facebook"] .hero-price strong {
    font-size: 31px;
  }
}
/* Currency localization hides the three reference currencies after an IP match. */
.four-price[hidden],.fx[hidden]{display:none!important}
