.ios-support-nav {
  appearance: none;
  background: none;
  cursor: pointer;
  gap: 7px;
  padding: 0;
}

.ios-support-nav > .fa-apple {
  color: #f4f7ff;
  font-size: 0.86rem;
}

.ios-support-nav-badge {
  padding: 2px 6px;
  border: 1px solid rgba(0, 229, 255, 0.58);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.1);
  color: #78f2ff;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.22);
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ios-support-nav-short {
  display: none;
}

.ios-support-nav:hover,
.ios-support-nav:focus-visible {
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.ios-support-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.ios-support-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.ios-support-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 9, 0.84);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.ios-support-dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid rgba(126, 234, 245, 0.16);
  border-radius: 20px;
  background: rgba(16, 17, 22, 0.62);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  color: #f5f7ff;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(18px) scale(0.985);
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 234, 245, 0.4) transparent;
}

.ios-support-modal.is-open .ios-support-dialog {
  transform: translateY(0) scale(1);
}

.ios-support-close {
  position: sticky;
  z-index: 3;
  top: 18px;
  float: right;
  width: 42px;
  height: 42px;
  margin: 18px 18px -60px 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(7, 9, 17, 0.5);
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ios-support-close:hover,
.ios-support-close:focus-visible {
  border-color: color-mix(in srgb, #7eeaf5 55%, transparent);
  color: #fff;
  transform: rotate(6deg);
}

.ios-support-hero {
  padding: 64px 76px 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ios-support-eyebrow,
.ios-support-cta-kicker {
  font: 700 0.68rem/1.2 var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.ios-support-eyebrow {
  color: #7eeaf5;
}

.ios-support-cta-kicker {
  color: #7eeaf5;
}

.ios-support-eyebrow .fa-apple {
  margin-right: 8px;
}

.ios-support-hero h2 {
  max-width: 100%;
  margin: 16px 0 14px;
  /* Sized (and kept off max-width's old 820px cap) so "Help bring Evil en
     Lucifer to iPhone." reads as one line at the dialog's own width instead
     of wrapping awkwardly after "Evil en Lucifer" -- the <=760px rule below
     still gives mobile its own smaller, wrap-friendly size. */
  font: 400 clamp(1.7rem, 2.6vw + 1rem, 2.6rem)/1.15 var(--font-serif, 'Cinzel', serif);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.ios-support-hero h2 em {
  color: #7eeaf5;
  font-style: normal;
}

.ios-support-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(233, 239, 255, 0.68);
  font: 400 1rem/1.7 var(--font-sans, 'Inter', sans-serif);
}

.ios-support-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(126, 234, 245, 0.2);
  border-radius: 999px;
  background: rgba(126, 234, 245, 0.06);
  color: #a9f0fb;
  font: 700 0.66rem/1 var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ios-support-status-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7eeaf5;
  box-shadow: 0 0 10px #7eeaf5;
}

.ios-support-body {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  gap: 54px;
  padding: 52px 76px 70px;
}

.ios-support-gallery {
  display: grid;
  align-content: start;
  gap: 20px;
}

.ios-support-gallery figure {
  margin: 0;
}

.ios-support-gallery img {
  display: block;
  width: 100%;
  max-height: 510px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #d3d3d3;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.ios-support-gallery figcaption {
  margin-top: 9px;
  color: rgba(224, 232, 250, 0.42);
  font: 600 0.6rem/1.3 var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.ios-support-content {
  display: grid;
  gap: 34px;
}

.ios-support-section {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
}

.ios-support-section-number {
  padding-top: 4px;
  color: color-mix(in srgb, #7eeaf5 55%, transparent);
  font: 700 0.66rem/1 var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.12em;
}

.ios-support-section h3,
.ios-support-cta h3 {
  margin: 0 0 12px;
  color: #f7f8fc;
  font: 600 1.05rem/1.35 var(--font-serif, 'Cinzel', serif);
  letter-spacing: 0.015em;
}

.ios-support-section p,
.ios-support-section li,
.ios-support-cta p {
  color: rgba(225, 231, 245, 0.67);
  font: 400 0.84rem/1.7 var(--font-sans, 'Inter', sans-serif);
}

.ios-support-section p,
.ios-support-cta p {
  margin: 0;
}

.ios-support-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.ios-support-section li::marker {
  color: #7eeaf5;
}

.ios-support-costs {
  display: grid;
  gap: 8px;
}

.ios-support-cost {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.ios-support-cost-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, #7eeaf5 10%, transparent);
  color: #7eeaf5;
}

.ios-support-cost strong,
.ios-support-cost small {
  display: block;
  font-family: var(--font-sans, 'Inter', sans-serif);
}

.ios-support-cost strong {
  color: rgba(247, 249, 255, 0.88);
  font-size: 0.75rem;
}

.ios-support-cost small {
  margin-top: 3px;
  color: rgba(224, 231, 246, 0.43);
  font-size: 0.64rem;
  line-height: 1.35;
}

.ios-support-cost b {
  color: #fff;
  font: 700 0.76rem/1 var(--font-sans, 'Inter', sans-serif);
  white-space: nowrap;
}

.ios-support-cta {
  padding: 26px;
  border: 1px solid rgba(126, 234, 245, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(126, 234, 245, 0.12) 0%, transparent 58%),
    radial-gradient(circle at 92% 92%, rgba(76, 91, 177, 0.14), transparent 38%),
    rgba(9, 12, 20, 0.4);
}

.ios-support-cta h3 {
  margin-top: 9px;
}

.ios-support-stripe-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: 20px;
}

.ios-support-stripe-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.ios-support-stripe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid rgba(126, 234, 245, 0.48);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(17, 161, 175, 0.92), rgba(76, 91, 177, 0.92));
  color: #fff !important;
  font: 800 0.82rem/1 var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.1em;
  text-decoration: none !important;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(30, 156, 172, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ios-support-stripe:hover,
.ios-support-stripe:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(174, 247, 255, 0.9);
  box-shadow: 0 12px 34px rgba(30, 156, 172, 0.3);
}

.ios-support-qr {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(126, 234, 245, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none !important;
  transition: border-color 180ms ease, transform 180ms ease;
}

.ios-support-qr:hover,
.ios-support-qr:focus-visible {
  border-color: rgba(174, 247, 255, 0.8);
  transform: translateY(-2px);
}

.ios-support-qr img {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 4px;
  background: #fff;
  padding: 3px;
}

.ios-support-qr span {
  color: rgba(230, 235, 246, 0.55);
  font: 700 0.52rem/1 var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .ios-support-stripe-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ios-support-qr {
    flex-direction: row;
    justify-content: center;
  }

  .ios-support-qr img {
    width: 44px;
    height: 44px;
  }
}

.ios-support-stripe-methods {
  display: block;
  margin-top: 0;
  color: rgba(230, 235, 246, 0.42);
  font: 600 0.6rem/1.3 var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.ios-support-kofi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 14px;
  color: rgba(230, 235, 246, 0.5) !important;
  font: 600 0.66rem/1 var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.04em;
  text-decoration: underline !important;
  text-decoration-color: rgba(230, 235, 246, 0.25) !important;
  text-underline-offset: 3px;
  text-transform: none;
  transition: color 180ms ease;
}

.ios-support-kofi:hover,
.ios-support-kofi:focus-visible {
  color: #fff !important;
}

.ios-support-kofi .fa-arrow-up-right-from-square {
  font-size: 0.58rem;
}

.ios-support-cta .ios-support-stripe-col > small {
  display: block;
  margin-top: 4px;
  color: rgba(230, 235, 246, 0.38);
  font: 500 0.62rem/1.4 var(--font-sans, 'Inter', sans-serif);
  text-align: center;
}

.ios-support-donation-progress {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ios-support-donation-progress h2 {
  color: #f7f8fc;
  font: 600 1.15rem/1.3 var(--font-serif, 'Cinzel', serif);
  margin: 0 0 8px;
}

.ios-support-donation-progress > p {
  color: rgba(225, 231, 245, 0.65);
  font: 400 0.84rem/1.6 var(--font-sans, 'Inter', sans-serif);
  margin: 0 0 20px;
}

.ios-support-donation-progress .donation-progress-bar-track {
  height: 10px;
}

.ios-support-donation-progress .donation-progress-cta {
  width: 100%;
  justify-content: center;
}

body.ios-support-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .ios-support-hero {
    padding: 58px 40px 36px;
  }

  .ios-support-body {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .ios-support-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .ios-support-gallery img {
    max-height: 430px;
  }
}

@media (max-width: 760px) {
  .top-nav-glass #nav-main-links {
    overflow-x: auto !important;
    gap: 10px !important;
  }

  .top-nav-glass #nav-main-links .nav-link {
    padding-inline: 0 !important;
  }

  .ios-support-nav-badge,
  .ios-support-nav > .fa-apple {
    display: none;
  }

  .top-nav-glass .nav-btn-login {
    display: none !important;
  }

  .ios-support-nav-long {
    display: none;
  }

  .ios-support-nav-short {
    display: inline;
  }

  .ios-support-modal {
    padding: 8px;
  }

  .ios-support-dialog {
    max-height: calc(100dvh - 16px);
    border-radius: 18px;
  }

  .ios-support-close {
    top: 12px;
    margin: 12px 12px -54px 0;
  }

  .ios-support-hero {
    padding: 54px 22px 30px;
  }

  .ios-support-hero h2 {
    font-size: clamp(1.75rem, 9vw, 2.6rem);
    white-space: normal;
  }

  .ios-support-body {
    gap: 38px;
    padding: 30px 22px 34px;
  }

  .ios-support-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ios-support-gallery figcaption {
    font-size: 0.5rem;
  }

  .ios-support-content {
    gap: 28px;
  }

  .ios-support-section {
    grid-template-columns: 26px 1fr;
    gap: 10px;
  }

  .ios-support-cost {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .ios-support-cost b {
    grid-column: 2;
  }
}

@media (max-width: 420px) {
  .ios-support-status {
    font-size: 0.56rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ios-support-modal,
  .ios-support-dialog,
  .ios-support-close,
  .ios-support-stripe,
  .ios-support-kofi {
    transition: none;
  }
}
