
:root {
  --box-padding: 10px;
  --site-topbar-offset: 72px;
}
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,.5);
  z-index: 9999;
}

body.site-auth-modal-open {
  overflow: hidden;
}

.site-auth-modal[hidden] {
  display: none !important;
}

.site-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.site-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: none;
}

.site-auth-modal__dialog {
  position: relative;
  width: min(384px, calc(100vw - 40px));
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
}

.site-auth-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(228, 228, 231, 0.92);
    border-radius: 999px;
    background: rgba(231, 231, 231, 0.96);
    color: #3f3f46;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    z-index: 2;

}

.site-auth-modal__close svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.site-auth-modal__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-auth-modal__frame {
  display: block;
  width: 100%;
  height: min(760px, calc(100vh - 48px));
  border: 0;
  border-radius: 24px;
  background: transparent;
}

#top {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  background: rgba(253, 253, 253, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(243, 244, 246);
  z-index: 10000;
}
#top .content {
  margin: 0 auto;
  max-width: 1152px;
}
.site-topbar__inner {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}
.site-topbar__logo {
  width: 39px;
  height: 39px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}
.site-topbar__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.site-topbar__title {
  color: rgb(17, 24, 39);
  font-size: 18px;
  line-height: 1.2;
}
.site-topbar__subtitle {
  color: rgb(156, 163, 175);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.site-topbar__menu-toggle {
  display: none;
  appearance: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: rgb(17, 24, 39);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.site-topbar__menu-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.site-topbar__menu-icon span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-topbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-topbar__nav a {
  color: rgb(107, 114, 128);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.site-topbar__nav a:hover,
.site-topbar__nav a:focus-visible {
  color: rgb(17, 24, 39);
}
.site-topbar__nav a.site-topbar__nav-highlight {
  color: #1d4ed8;
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.site-topbar__nav a.site-topbar__nav-highlight::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: insights-nav-pulse 2s infinite;
}
.site-topbar__nav a.site-topbar__nav-highlight:hover,
.site-topbar__nav a.site-topbar__nav-highlight:focus-visible {
  color: #1e3a8a;
}
@keyframes insights-nav-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .site-topbar__nav a.site-topbar__nav-highlight::before { animation: none; }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.support-fab{
  position: fixed;
  right: 65px;
  bottom: 16px;
  z-index: 9999;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #2563eb;
  text-decoration: none;
  /* font-weight: 700; */
  /* font-size: 16px; */
}

html { scroll-padding-top: var(--site-topbar-offset); }
html, body { height: 100%; }
.Wrapper {
    /* padding-top: var(--site-topbar-offset); */
    flex: 1 0 auto;

}

@media (max-width: 540px){
  :root { --site-topbar-offset: 68px; }
}

@media (max-width: 768px) {
  .site-auth-modal {
    display: none !important;
  }
}

.support-fab:focus-visible{ outline: 3px solid rgba(59, 130, 246, .35); outline-offset: 3px; }

.support-fab__bubble{
  width: 72px;
  height: 72px;
  /* border-radius: 999px; */
  /* background: transparent; */
  /* box-shadow: 0 14px 30px rgba(59, 130, 246, .28); */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: -79px;
  position: absolute;
  right: 0;
  left: auto;
}

.support-fab__img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.support-fab__badge{
  position: absolute;
  left: -75px;
  top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgb(0 0 0 / 44%);
  color: #007031;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  pointer-events: none;
  white-space: nowrap;
}
.support-fab__icon{ color: #ffffff; flex: 0 0 auto; }
.support-fab__text{ display: none; }

.support-fab-tip{
  position: fixed;
  right: 108px;
  bottom: 68px;
  z-index: 9998;
  max-width: 248px;
  padding: 10px 34px 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .16);
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 12px 26px rgba(2, 6, 23, .14);
  opacity: 0;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.support-fab-tip.is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.support-fab-tip__text{
  margin: 0;
}
.support-fab-tip__close{
  position: absolute;
  top: 2px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.support-fab-tip__close:hover{
  background: #f1f5f9;
  color: #334155;
}
.support-fab-tip__arrow{
  position: absolute;
  right: -6px;
  bottom: 20px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(15, 23, 42, .16);
  border-right: 1px solid rgba(15, 23, 42, .16);
  background: #ffffff;
  transform: rotate(45deg);
}


@media (max-width: 540px){
  .support-fab{
    right: 12px;
    bottom: 12px;
  }
  .support-fab__bubble{ width: 56px; height: 56px; }
  .support-fab-tip{
    right: 74px;
    bottom: 16px;
    max-width: 202px;
    padding: 10px 30px 10px 10px;
  }
  .support-fab-tip__arrow{
    bottom: 16px;
  }

}

.home-referral-banner__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.home-referral-banner__desc {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.home-referral-banner__cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  color: #2563eb;
  font-weight: 300;
}

.home-referral-banner__cta:hover,
.home-referral-banner__cta:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 960px) {
  .home-referral-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-referral-banner__cta {
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .home-referral-banner {
    gap: 16px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .home-referral-banner__title {
    font-size: 20px;
  }



  .footer-tag {
    font-size: 13px;
  }

  .footer-bottom__links {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom__social {
    width: 100%;
  }
  .aff-link{
    padding: var(--box-padding);
  }
}

@keyframes aipinpin-spin { to { transform: rotate(360deg); } }
.is-loading {
  position: relative;
  pointer-events: none; 
  opacity: .8;
}
.is-loading::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: aipinpin-spin .8s linear infinite;
}

.ipinpin-logo{
    width: 40px;
    height: 40px;
    border-radius: 0%;
    object-fit: cover;
}

.site-messages{
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-message{
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
}
.site-message--success{
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #065f46;
}
.site-message--error{
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.site-toast-stack{
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  width: min(420px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.site-toast-stack .site-toast{
  margin: 0;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity .18s ease, transform .18s ease;
}

.site-toast-stack .site-toast.is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 640px) {
  .site-toast-stack{
    top: 12px;
    width: calc(100vw - 20px);
  }
}


@media (max-width: 768px) {
  .site-topbar__inner {
    position: relative;
    padding: 12px 16px;
    gap: 12px;
  }

  .site-topbar__brand {
    gap: 10px;
  }

  .site-topbar__logo {
    width: 34px;
    height: 34px;
  }

  .site-topbar__title {
    font-size: 16px;
  }

  .site-topbar__subtitle {
    font-size: 10px;
  }

  .site-topbar__menu-toggle {
    display: inline-flex;
  }

  .site-topbar.is-menu-open .site-topbar__menu-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-topbar.is-menu-open .site-topbar__menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .site-topbar.is-menu-open .site-topbar__menu-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-topbar__nav {
    position: absolute;
    top: calc(100% + 4px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgb(229, 231, 235);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px);
    z-index: 80;
  }

  .site-topbar.is-menu-open .site-topbar__nav {
    display: flex;
  }

  .site-topbar__nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
  }

  .site-topbar__nav a:hover,
  .site-topbar__nav a:focus-visible {
    background: rgb(249, 250, 251);
  }
}

#rv-stream {scroll-margin-top: 80px;max-width: 100%;margin: 0 auto;background-color: #f7f7f7;}


.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-title-info {
    font-size: xx-small;
    font-weight: normal;
}

.logo-title {
    font-size: 16px;
    font-weight: normal;
    font-family: system-ui;

}


.footer-link-column__list {
  list-style: none;  
  padding-left: 0;    
  margin: 0;          
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.footer-main.content {
    display: flex;
    flex-direction: row;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-main__right {
    display: flex;
    flex-direction: row;
    
    flex: 1 1 1;
    justify-content: space-between;
    flex: 1 1 0;         
    min-width: 0;          
    text-align: center;
}

.footer-tags.content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

a.footer-tag.link {width: 121px;}

.footer-link-column {display: flex;flex-direction: column;align-items: flex-start;gap: 10px;}


a.logo {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.logo {
    display: flex;
    gap: 10px;
    flex-direction: row;
}


.social-box {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer {
  /* background: #ffffff; */
  /* border-top: 1px solid #ececec; */
  max-width: 1200px;
  margin: 0 auto;
}

.footer-inner {
  /* max-width: 1200px; */
  /* margin: 0 auto; */
  padding: 15px;
  display: flex;
  grid-template-columns: minmax(260px, 320px) 1fr;
  /* gap: 48px; */
  /* align-items: start; */
  /* flex-direction: column; */
  /* color: bisque; */
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #1f2937;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 2px 3px rgba(0,0,0,.1);
}

.footer-logo__title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.footer-logo__subtitle {
  display: block;
  font-size: 13px;
  color: #6b7280;
}

.footer-brand__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

.footer-brand__social {
  font-size: xx-small;
  display: flex;
  flex-direction: row;
  gap: 10px;
  color: #848484;
}

.footer-social-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 13px;
  color: #0f172a;
}

.footer-social-item img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;                 
}

.footer-links__group {
  display: contents;
}

.footer a.link {
  display: inline-block;
}



.footer-links__group h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.footer-links__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer a.link {
  font-size: 12px;
  color: #9e9e9e;
  text-decoration: none;
  /* font-weight: bold; */
}

.footer a.link:hover {
  color: #111827;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}



.footer-bottom {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 960px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  #top {
    padding: var(--box-padding);
  }
  
  .home-category-nav{
    padding: var(--box-padding);
  }
  .home-section--products{
    padding: var(--box-padding);
  }
  .home-section--trust{
    padding: var(--box-padding);
  }
}


section.home-referral-banner.content {
    display: flex;
    
    
    gap: 24px;
    margin: 0px auto;
    
    
    box-sizing: border-box;
    
    background: white;
    color: #f9fafb;
    box-shadow: 0 2px 3px rgba(0,0,0,.1);
    
}

span.home-referral-banner__badge {
    color: #000000;
}

body,
button,
input,
select,
textarea {
    font-family: system-ui, sans-serif;
}

body {
    background: #ededed;
    margin: 0px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

#Bottom {
  flex: 0 0 auto;
  /* margin-top: auto; */
  /* max-width: 1200px; */
  /* margin: 0 auto; */
  width: 100%;
  background: white;
}


a.socail-link,
span.socail-link {
    text-decoration: none;
    color: #000000;
    display: block;
    text-align: left;
}

.aff-link {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}
.footer-compliance {
  box-sizing: border-box;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 15px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #888;
}

.footer-compliance__group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-compliance a,
.footer-compliance__company {
  color: #888;
  text-decoration: none;
}

.footer-compliance a:hover {
  text-decoration: underline;
}

.footer-compliance__pipe {
  color: #888;
  user-select: none;
}


.nav-link-login {
    background: #dddddd;
    padding: 6px 12px;
    color: #000000;
    border-radius: 999px;
    width: fit-content;
    max-width: 100%;
    margin: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.13) 44%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: rgba(15, 23, 42, 0.08) 0px 12px 28px, rgba(255, 255, 255, 0.42) 0px 1px 0px inset;
    backdrop-filter: blur(24px) saturate(175%);
    -webkit-backdrop-filter: blur(24px) saturate(175%);
    box-sizing: border-box;
}
.nav-link-orders{
  color: #2563eb;
  background: #f5f5f5;
  padding: 2px 12px;
  border-radius: 999px;
  text-decoration: none;
}

.nav-link-support{
  color:#000000
}

.nav-link-logout{
  color:#000000
}

/* iOS Safari 会在聚焦小于 16px 的输入控件时自动缩放页面。 */
@media (max-width: 820px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  textarea,
  select,
  [contenteditable="true"] {
    font-size: 16px !important;
  }
}
