/*
 * THE HOMEPAGE HEADER IS THE ONLY HEADER.
 * This file loads last on every page and gives every .home-strip the exact
 * same dimensions, spacing, logo, search form and decorative background.
 */

html body.home-page > main > .home-strip,
html body[data-page="category"] > .home-strip.inner-home-strip,
html body[data-page="review"] > .home-strip.inner-home-strip {
  position: relative !important;
  isolation: isolate !important;
  box-sizing: border-box !important;

  width: 100% !important;
  height: 83px !important;
  min-height: 83px !important;
  max-height: 83px !important;

  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;

  border-bottom:
    1px solid rgba(105,240,220,.13) !important;

  background:
    linear-gradient(
      180deg,
      #0b1019 0%,
      #080c13 100%
    ) !important;

  box-shadow: none !important;
  backdrop-filter: none !important;
}

html body.home-page > main > .home-strip::before,
html body[data-page="category"] > .home-strip.inner-home-strip::before,
html body[data-page="review"] > .home-strip.inner-home-strip::before {
  content: "" !important;
  display: block !important;

  position: absolute !important;
  inset: -80px !important;
  z-index: 0 !important;

  pointer-events: none !important;

  background-image:
    url("/assets/brand/aipornsurf-footer-logo-optimized.webp?v=seo-perf-1")
    !important;

  background-repeat: repeat !important;
  background-size: 175px auto !important;
  background-position: 20px -42px !important;

  opacity: .085 !important;

  filter:
    grayscale(1)
    saturate(0)
    contrast(.9)
    brightness(1.55)
    !important;

  transform: rotate(-5deg) scale(1.06) !important;
  transform-origin: center top !important;
}

html body.home-page > main > .home-strip::after,
html body[data-page="category"] > .home-strip.inner-home-strip::after,
html body[data-page="review"] > .home-strip.inner-home-strip::after {
  content: "" !important;
  display: block !important;

  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;

  pointer-events: none !important;

  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(105,240,220,.07),
      transparent 30%
    ),
    radial-gradient(
      circle at 84% 18%,
      rgba(178,139,255,.09),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(11,16,25,.72) 0%,
      rgba(8,12,19,.82) 100%
    ) !important;
}

html body.home-page > main > .home-strip > .home-strip-grid,
html body[data-page="category"] > .home-strip.inner-home-strip > .home-strip-grid,
html body[data-page="review"] > .home-strip.inner-home-strip > .home-strip-grid,
html body[data-page="compare"] > .home-strip.inner-home-strip > .home-strip-grid,
html body[data-page="rankings"] > .home-strip.inner-home-strip > .home-strip-grid,
html body[data-page="policy"] > .home-strip.inner-home-strip > .home-strip-grid {
  position: relative !important;
  z-index: 2 !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 520px !important;
  gap: 22px !important;
  align-items: center !important;

  box-sizing: border-box !important;

  width: min(calc(100% - 40px), 1260px) !important;
  height: 82px !important;
  min-height: 82px !important;
  max-height: 82px !important;

  margin: 0 auto !important;
  padding: 8px 0 !important;
  overflow: visible !important;
}

html body.home-page .home-strip .home-left,
html body[data-page="category"] .home-strip.inner-home-strip .home-left,
html body[data-page="review"] .home-strip.inner-home-strip .home-left {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;

  box-sizing: border-box !important;
  min-width: 0 !important;
  height: 66px !important;

  margin: 0 !important;
  padding: 0 !important;
}

html body.home-page .home-strip .home-brand-image-link,
html body[data-page="category"] .home-strip.inner-home-strip .home-brand-image-link,
html body[data-page="review"] .home-strip.inner-home-strip .home-brand-image-link {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;

  width: auto !important;
  height: 66px !important;
  max-width: 230px !important;

  margin: 0 !important;
  padding: 0 !important;

  line-height: 0 !important;
  text-decoration: none !important;
}

html body.home-page .home-strip .home-brand-image,
html body[data-page="category"] .home-strip.inner-home-strip .home-brand-image,
html body[data-page="review"] .home-strip.inner-home-strip .home-brand-image {
  display: block !important;

  width: auto !important;
  height: 66px !important;
  max-width: 230px !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain !important;
}

html body.home-page .home-strip .home-brand-tagline,
html body[data-page="category"] .home-strip.inner-home-strip .home-brand-tagline,
html body[data-page="review"] .home-strip.inner-home-strip .home-brand-tagline {
  display: block !important;

  max-width: 300px !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #d9e7f4 !important;

  font-size: .88rem !important;
  font-weight: 800 !important;
  line-height: 1.16 !important;
  letter-spacing: -.015em !important;

  text-shadow: 0 1px 0 rgba(0,0,0,.35) !important;
}

html body.home-page .home-strip .home-search,
html body[data-page="category"] .home-strip.inner-home-strip .home-search,
html body[data-page="review"] .home-strip.inner-home-strip .home-search,
html body[data-page="compare"] .home-strip.inner-home-strip .home-search,
html body[data-page="rankings"] .home-strip.inner-home-strip .home-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 110px !important;
  gap: 8px !important;

  box-sizing: border-box !important;

  width: 520px !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;

  margin: 0 !important;
  padding: 7px !important;

  border: 1px solid var(--line) !important;
  border-radius: 13px !important;

  background: rgba(18,22,34,.9) !important;
}

html body.home-page .home-strip .home-search input,
html body[data-page="category"] .home-strip.inner-home-strip .home-search input,
html body[data-page="review"] .home-strip.inner-home-strip .home-search input,
html body[data-page="compare"] .home-strip.inner-home-strip .home-search input,
html body[data-page="rankings"] .home-strip.inner-home-strip .home-search input {
  box-sizing: border-box !important;

  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;

  margin: 0 !important;
  padding: 0 13px !important;

  border: 0 !important;
  border-radius: 9px !important;
  outline: 0 !important;

  color: var(--text) !important;
  background: var(--panel-2) !important;
}

html body.home-page .home-strip .home-search .button,
html body[data-page="category"] .home-strip.inner-home-strip .home-search .button,
html body[data-page="review"] .home-strip.inner-home-strip .home-search .button,
html body[data-page="compare"] .home-strip.inner-home-strip .home-search .button,
html body[data-page="rankings"] .home-strip.inner-home-strip .home-search .button {
  box-sizing: border-box !important;

  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;

  margin: 0 !important;
  padding: 7px 12px !important;
}

@media (min-width: 901px) {
  html body.home-page .home-strip .home-search,
  html body[data-page="category"] .home-strip.inner-home-strip .home-search,
  html body[data-page="review"] .home-strip.inner-home-strip .home-search,
  html body[data-page="compare"] .home-strip.inner-home-strip .home-search,
  html body[data-page="rankings"] .home-strip.inner-home-strip .home-search {
    width: 452.04px !important;
    justify-self: end !important;
  }
}

/*
 * No button colors are declared here.
 * Existing category-specific orange, blue, purple, yellow, pink and green
 * button rules therefore remain active.
 */

@media (max-width: 900px) {
  html body.home-page > main > .home-strip,
  html body[data-page="category"] > .home-strip.inner-home-strip,
  html body[data-page="review"] > .home-strip.inner-home-strip {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html body.home-page > main > .home-strip > .home-strip-grid,
  html body[data-page="category"] > .home-strip.inner-home-strip > .home-strip-grid,
  html body[data-page="review"] > .home-strip.inner-home-strip > .home-strip-grid,
  html body[data-page="compare"] > .home-strip.inner-home-strip > .home-strip-grid,
  html body[data-page="rankings"] > .home-strip.inner-home-strip > .home-strip-grid,
  html body[data-page="policy"] > .home-strip.inner-home-strip > .home-strip-grid {
    grid-template-columns: minmax(0, 1fr) !important;

    width: min(calc(100% - 22px), 1260px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html body.home-page .home-strip .home-brand-tagline,
  html body[data-page="category"] .home-strip.inner-home-strip .home-brand-tagline,
  html body[data-page="review"] .home-strip.inner-home-strip .home-brand-tagline {
    display: none !important;
  }

  html body.home-page .home-strip .home-search,
  html body[data-page="category"] .home-strip.inner-home-strip .home-search,
  html body[data-page="review"] .home-strip.inner-home-strip .home-search,
  html body[data-page="compare"] .home-strip.inner-home-strip .home-search,
  html body[data-page="rankings"] .home-strip.inner-home-strip .home-search {
    width: 100% !important;
  }
}

@media (max-width: 650px) {
  html body.home-page .home-strip .home-left,
  html body[data-page="category"] .home-strip.inner-home-strip .home-left,
  html body[data-page="review"] .home-strip.inner-home-strip .home-left,
  html body.home-page .home-strip .home-brand-image-link,
  html body[data-page="category"] .home-strip.inner-home-strip .home-brand-image-link,
  html body[data-page="review"] .home-strip.inner-home-strip .home-brand-image-link,
  html body.home-page .home-strip .home-brand-image,
  html body[data-page="category"] .home-strip.inner-home-strip .home-brand-image,
  html body[data-page="review"] .home-strip.inner-home-strip .home-brand-image {
    height: 58px !important;
  }

  html body.home-page .home-strip .home-brand-image,
  html body[data-page="category"] .home-strip.inner-home-strip .home-brand-image,
  html body[data-page="review"] .home-strip.inner-home-strip .home-brand-image {
    max-width: 205px !important;
  }

  html body.home-page .home-strip .home-search,
  html body[data-page="category"] .home-strip.inner-home-strip .home-search,
  html body[data-page="review"] .home-strip.inner-home-strip .home-search,
  html body[data-page="compare"] .home-strip.inner-home-strip .home-search,
  html body[data-page="rankings"] .home-strip.inner-home-strip .home-search {
    grid-template-columns: minmax(0, 1fr) !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}


/* BEGIN EXACT HEADER PATTERN REMOVAL */
html body.home-page > main > .home-strip::before,
html body[data-page="category"] > .home-strip.inner-home-strip::before,
html body[data-page="review"] > .home-strip.inner-home-strip::before {
  background-image: none !important;
  background: none !important;
}
/* END EXACT HEADER PATTERN REMOVAL */

/* BEGIN SHARED HEADER BACKGROUND TRANSPARENCY */
/* Hide the bottom separator while preserving all established header geometry. */
html body.home-page > main > .home-strip,
html body:not(.home-page) > .home-strip.inner-home-strip {
  border-bottom-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Preserve the first homepage section's 1px geometry without painting a rule. */
html body.home-page > main > .home-strip + .home-combo-section {
  border-top-color: transparent !important;
}

html body.home-page > main > .home-strip::before,
html body.home-page > main > .home-strip::after,
html body:not(.home-page) > .home-strip.inner-home-strip::before,
html body:not(.home-page) > .home-strip.inner-home-strip::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* END SHARED HEADER BACKGROUND TRANSPARENCY */

/* BEGIN SHARED HEADER COMPARE CTA */
/* Canonical homepage brand-copy component, shared unchanged by every header.
   The two links render as compact stacked glass rows: dark translucent fill,
   faint border, small radius, and a left accent bar sourced from --cta-accent.
   --cta-accent defaults to the established homepage green and is repointed to
   the page's authoritative accent by the block below on category/review pages. */
html body .home-strip {
  --cta-accent: #38f58b;
  --cta-accent-rgb: 56, 245, 139;
}

html body .home-strip .home-brand-copy {
  display: flex;
  min-width: 0;
  max-width: 300px;
  flex-direction: column;
  align-items: flex-start;
}

html body .home-strip .home-compare-cta {
  display: inline-flex;
  box-sizing: border-box;
  min-height: 21px;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  margin-top: 4px;
  padding: 0 9px 0 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-left: 3px solid var(--cta-accent);
  border-radius: 6px;
  background: rgba(255,255,255,.03);
  color: #d9e7f4;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease;
}

/* Match the homepage stylesheet's specificity while changing spacing only. */
html body.home-page .home-strip .home-compare-cta {
  min-height: 21px;
  margin-top: 4px;
}

html body .home-strip .home-compare-cta:hover,
html body .home-strip .home-compare-cta:focus-visible {
  background: rgba(255,255,255,.075);
  border-top-color: rgba(var(--cta-accent-rgb), .4);
  border-right-color: rgba(var(--cta-accent-rgb), .4);
  border-bottom-color: rgba(var(--cta-accent-rgb), .4);
}

html body .home-strip .home-compare-cta:focus-visible {
  outline: 2px solid var(--cta-accent);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  html body .home-strip .home-compare-cta {
    min-height: 28px;
  }

  html body.home-page .home-strip .home-compare-cta {
    min-height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .home-strip .home-compare-cta {
    transition: none;
  }
}
/* END SHARED HEADER COMPARE CTA */

/* BEGIN DESKTOP HEADER MASCOT */
/* Absolute positioning preserves the established header grid. The complete
   balloon silhouette, including its broad tail, is drawn as one SVG-backed
   layer. Its tail tip tucks 5px behind the unchanged mascot. Breakpoint is
   960px: below that the balloon/mascot group starts overlapping the
   home-compare-cta nav links in .home-brand-copy. */
@media (min-width: 961px) {
  html body .home-strip .home-brand-copy::after,
  html body .home-strip .home-strip-grid::before,
  html body .home-strip .home-strip-grid::after {
    position: absolute;
    top: 50%;
    display: block;
    box-sizing: border-box;
    pointer-events: none;
    transform: translate(-6px, -50%);
  }

  html body .home-strip .home-brand-copy::after {
    content: "Want to surf?";
    display: flex;
    z-index: 3;
    right: 496px;
    width: 148px;
    height: 52px;
    padding: 0 23px 0 12px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 52'%3E%3Cpath d='M24 4C20 4 18 7 18 12L17 36C17 42 21 45 27 45L108 46C116 46 120 43 120 37L120 35L142 27L121 19L122 12C122 7 118 5 112 5Z' fill='%2303070d' opacity='.78' transform='translate(3 3)'/%3E%3Cpath d='M24 4C20 4 18 7 18 12L17 36C17 42 21 45 27 45L108 46C116 46 120 43 120 37L120 35L142 27L121 19L122 12C122 7 118 5 112 5Z' fill='%230b1420'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .01em;
    text-align: center;
    text-shadow: 0 1px 0 #000, 0 0 8px rgba(0,0,0,.28);
  }

  html body .home-strip .home-strip-grid::before {
    content: "";
    z-index: 4;
    right: 496px;
    width: 148px;
    height: 52px;
    background-color: var(--cta-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 52'%3E%3Cpath d='M24 4C20 4 18 7 18 12L17 36C17 42 21 45 27 45L108 46C116 46 120 43 120 37L120 35L142 27L121 19L122 12C122 7 118 5 112 5Z' fill='none' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M25 6C22 6 20 8 20 12L19 35C19 40 22 43 27 43L108 44C114 44 118 42 118 37L118 33L138 27L119 20L120 12C120 9 117 7 112 7Z' fill='none' stroke='%23fff' stroke-opacity='.72' stroke-width='.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 52'%3E%3Cpath d='M24 4C20 4 18 7 18 12L17 36C17 42 21 45 27 45L108 46C116 46 120 43 120 37L120 35L142 27L121 19L122 12C122 7 118 5 112 5Z' fill='none' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M25 6C22 6 20 8 20 12L19 35C19 40 22 43 27 43L108 44C114 44 118 42 118 37L118 33L138 27L119 20L120 12C120 9 117 7 112 7Z' fill='none' stroke='%23fff' stroke-opacity='.72' stroke-width='.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  }

  html body .home-strip .home-strip-grid::after {
    content: "";
    z-index: 5;
    right: 453px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: url("/assets/brand/aipornsurf-header-mascot-transparent.png") center / contain no-repeat;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,.42));
  }

  html body .home-strip .aps-site-submit-trigger {
    position: absolute;
    top: 50%;
    right: 453px;
    z-index: 6;
    display: block;
    box-sizing: border-box;
    width: 191px;
    height: 54px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 27px;
    background: transparent;
    color: transparent;
    cursor: pointer;
    transform: translate(-6px, -50%);
  }

  html body .home-strip .aps-site-submit-trigger:focus-visible {
    outline: 2px solid var(--cta-accent);
    outline-offset: 2px;
  }
}

@media (max-width: 960px) {
  html body .home-strip .home-brand-copy::after,
  html body .home-strip .home-strip-grid::before,
  html body .home-strip .home-strip-grid::after {
    content: none !important;
    display: none !important;
  }

  html body .home-strip .aps-site-submit-trigger {
    display: inline-flex;
    box-sizing: border-box;
    min-height: 28px;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    margin-top: 4px;
    padding: 0 9px 0 8px;
    border: 1px solid rgba(255,255,255,.09);
    border-left: 3px solid var(--cta-accent);
    border-radius: 6px;
    background: rgba(255,255,255,.03);
    color: #d9e7f4;
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
    cursor: pointer;
  }

  html body .home-strip .aps-site-submit-trigger:hover,
  html body .home-strip .aps-site-submit-trigger:focus-visible {
    background: rgba(255,255,255,.075);
    border-top-color: rgba(var(--cta-accent-rgb), .4);
    border-right-color: rgba(var(--cta-accent-rgb), .4);
    border-bottom-color: rgba(var(--cta-accent-rgb), .4);
  }

  html body .home-strip .aps-site-submit-trigger:focus-visible {
    outline: 2px solid var(--cta-accent);
    outline-offset: 2px;
  }
}

/* 901-960px: still the fixed-height desktop grid (not the stacked mobile
   layout, which stays gated at max-width:900px), so the compact trigger
   needs absolute placement to sit inside the row instead of overflowing
   it. Left offset clears the home-compare-cta links; width leaves room
   before the unchanged, right-aligned search box down to 901px. */
@media (min-width: 901px) and (max-width: 960px) {
  html body .home-strip .aps-site-submit-trigger {
    position: absolute;
    top: 50%;
    left: 300px;
    margin-top: 0;
    transform: translateY(-50%);
  }
}
/* END DESKTOP HEADER MASCOT */

/* BEGIN CATEGORY-ACCENT HEADER CTA HIGHLIGHT */
/* Category and review pages only: repoint --cta-accent (left bar, border and
   hover/focus highlight) to the page's authoritative category accent. Rest-state
   link text, tagline, logo, and search bar are untouched. Category pages source
   the accent from --unified-category-accent (set per body.*-category); review
   pages source it from --review-accent (set inline per body.full-review). */

html body[data-page="category"] .home-strip {
  --cta-accent: var(--unified-category-accent);
  --cta-accent-rgb: var(--unified-category-accent-rgb);
}
html body[data-page="review"] .home-strip {
  --cta-accent: var(--review-accent);
  --cta-accent-rgb: var(--review-accent-rgb);
}
/* END CATEGORY-ACCENT HEADER CTA HIGHLIGHT */

/* BEGIN SITE SUBMISSION MODAL */
html body.aps-submit-modal-open {
  overflow: hidden !important;
}

html body .aps-submit-overlay {
  --aps-submit-accent: var(
    --review-accent,
    var(--unified-category-accent, #38f58b)
  );
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  box-sizing: border-box;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(2, 5, 10, .82);
}

html body .aps-submit-overlay[hidden] {
  display: none;
}

html body .aps-submit-dialog {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 480px);
  padding: 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.045), transparent 36%),
    #0d131d;
  color: #eef4fb;
  box-shadow: 0 24px 70px rgba(0,0,0,.58);
}

html body .aps-submit-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  background: rgba(255,255,255,.04);
  color: #eaf2fb;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

html body .aps-submit-close:hover {
  background: rgba(255,255,255,.09);
}

html body .aps-submit-dialog h2 {
  margin: 0 44px 8px 0;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.15;
}

html body .aps-submit-intro {
  margin: 0 0 20px;
  color: #aebdca;
  font-size: .94rem;
  line-height: 1.5;
}

html body .aps-submit-form {
  display: grid;
  gap: 16px;
}

html body .aps-submit-field {
  display: grid;
  gap: 7px;
}

html body .aps-submit-field label {
  color: #e8f0f8;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.3;
}

html body .aps-submit-field input,
html body .aps-submit-field textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  outline: 0;
  background: #131c28;
  color: #f4f8fc;
  font: inherit;
  font-size: .94rem;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

html body .aps-submit-field textarea {
  min-height: 104px;
  resize: vertical;
}

html body .aps-submit-field input::placeholder,
html body .aps-submit-field textarea::placeholder {
  color: #728091;
  opacity: 1;
}

html body .aps-submit-field input:focus-visible,
html body .aps-submit-field textarea:focus-visible,
html body .aps-submit-close:focus-visible,
html body .aps-submit-button:focus-visible {
  outline: 2px solid var(--aps-submit-accent);
  outline-offset: 2px;
}

html body .aps-submit-button {
  min-height: 42px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid var(--aps-submit-accent);
  border-radius: 10px;
  background: var(--aps-submit-accent);
  color: #07130f;
  font: inherit;
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    0 7px 18px rgba(0,0,0,.2);
}

html body .aps-submit-button:hover {
  filter: brightness(1.06);
}

html body .aps-submit-button:disabled {
  cursor: wait;
  filter: saturate(.65);
  opacity: .72;
}

html body .aps-submit-status {
  min-height: 0;
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
}

html body .aps-submit-status:empty {
  display: none;
}

html body .aps-submit-status.is-success {
  color: #73efaa;
}

html body .aps-submit-status.is-error {
  color: #ff9b9b;
}

html body .aps-submit-honey,
html body .aps-submit-honey[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  html body .aps-submit-overlay {
    align-items: start;
    padding: 14px;
  }

  html body .aps-submit-dialog {
    margin: 10px 0;
    padding: 22px 18px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .aps-submit-button {
    transition: none;
  }
}
/* END SITE SUBMISSION MODAL */
