html {
  background: #07131b;
}

body {
  background:
    linear-gradient(90deg, rgba(5,13,19,.95), rgba(5,13,19,.68) 48%, rgba(5,13,19,.78)),
    linear-gradient(180deg, rgba(5,13,19,.08), rgba(5,13,19,.88)),
    url('/damao-assets/ai-eyra-bg-desktop.webp') center right / cover fixed no-repeat,
    #07131b !important;
}

.shell,
.page {
  width: min(1120px, calc(100% - 40px)) !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
}

header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  min-height: 78px !important;
  padding: 18px 0 !important;
  position: relative !important;
  top: auto !important;
  z-index: 5 !important;
  backdrop-filter: none !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  color: #f8fbff !important;
  font-size: 0 !important;
  font-weight: 880 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.brand:before {
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(218,246,255,.2) !important;
  box-shadow: 0 0 30px rgba(103,232,249,.12) !important;
}

.brand:after {
  content: "Aieyra";
  display: inline-block;
  color: #f8fbff;
  font-size: 15px;
  line-height: 1;
}

nav,
.nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(16px, 2.2vw, 24px) !important;
  width: auto !important;
  min-width: 0 !important;
  color: rgba(248,251,255,.76) !important;
  font-size: 13px !important;
  font-weight: 820 !important;
  white-space: nowrap !important;
}

nav a,
.nav a,
.btn {
  position: relative !important;
  width: auto !important;
  min-height: auto !important;
  padding: 0 0 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(248,251,255,.76) !important;
  line-height: 1.2 !important;
  transition: color .18s ease, transform .18s ease, opacity .18s ease !important;
}

nav a:after,
.nav a:after,
.btn:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(248,251,255,.86), rgba(103,232,249,.38));
  opacity: 0;
  transform: scaleX(.5);
  transform-origin: center;
  transition: opacity .18s ease, transform .18s ease;
}

nav a:hover,
.nav a:hover,
.btn:hover,
nav a.is-active,
.nav a.is-active,
.btn.is-active {
  color: #fff !important;
  transform: translateY(-1px) !important;
}

nav a:hover:after,
.nav a:hover:after,
.btn:hover:after,
nav a.is-active:after,
.nav a.is-active:after,
.btn.is-active:after {
  opacity: .86;
  transform: scaleX(1);
}

main {
  min-width: 0;
}

.public-home main {
  align-content: start !important;
  gap: clamp(46px, 7vh, 82px) !important;
  padding: clamp(68px, 10.5vh, 118px) 0 42px !important;
}

.public-home .hero {
  gap: clamp(36px, 5.4vh, 62px) !important;
}

.public-home h1 {
  font-size: clamp(76px, 11vw, 154px) !important;
  line-height: .82 !important;
  font-weight: 960 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 18px 58px rgba(0,0,0,.42) !important;
}

.public-home .title-wrap:after {
  bottom: -18px !important;
  opacity: .56 !important;
}

.actions {
  gap: 12px !important;
  margin-top: 18px !important;
}

.action,
button.primary,
button:not(.wechat-close) {
  min-width: 116px !important;
  min-height: 42px !important;
  border: 1px solid rgba(218,246,255,.18) !important;
  border-radius: 8px !important;
  background: rgba(5,13,19,.2) !important;
  color: rgba(248,251,255,.88) !important;
  padding: 0 17px !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px) !important;
}

.action.primary,
button.primary {
  background: rgba(248,251,255,.92) !important;
  color: #07131b !important;
  border-color: rgba(248,251,255,.72) !important;
}

.action:hover,
button.primary:hover,
button:not(.wechat-close):hover {
  border-color: rgba(103,232,249,.46) !important;
  background: rgba(248,251,255,.1) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

.action.primary:hover,
button.primary:hover {
  background: #fff !important;
  color: #07131b !important;
}

.public-home .live-panel {
  width: min(980px, 100%) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  overflow: visible !important;
}

.public-home .live-panel:before {
  display: none !important;
}

.public-home .live-head,
.public-home .live-foot {
  padding: 0 !important;
  justify-content: center !important;
  gap: 16px !important;
  color: rgba(180,199,210,.72) !important;
  font-size: 12px !important;
}

.public-home .live-title {
  color: rgba(248,251,255,.88) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.public-home .live-refresh {
  color: rgba(180,199,210,.7) !important;
}

.public-home .live-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: clamp(14px, 2.5vw, 30px) !important;
  margin: 24px 0 16px !important;
  border: 0 !important;
}

.public-home .live-card {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
}

.public-home .live-label {
  color: rgba(180,199,210,.72) !important;
  font-size: 11px !important;
  font-weight: 820 !important;
}

.public-home .live-value {
  margin-top: 8px !important;
  color: #f8fbff !important;
  font-size: clamp(19px, 2.25vw, 28px) !important;
  font-weight: 930 !important;
  line-height: 1 !important;
  text-shadow: 0 0 20px rgba(103,232,249,.12) !important;
}

.public-home .live-sub {
  margin-top: 8px !important;
  color: rgba(180,199,210,.56) !important;
  font-size: 11px !important;
}

.public-home footer {
  text-align: center !important;
  color: rgba(180,199,210,.58) !important;
}

.public-login main,
.public-security main {
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(42px, 8vh, 88px) 0 56px !important;
}

.public-login .auth,
.public-security .statement {
  width: min(520px, 100%) !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.public-login h1,
.public-security h1 {
  margin: 0 auto clamp(26px, 4vh, 38px) !important;
  color: #fff !important;
  font-size: clamp(44px, 6.2vw, 76px) !important;
  font-weight: 950 !important;
  line-height: .92 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow: 0 16px 54px rgba(0,0,0,.4) !important;
}

.public-login h1 span,
.public-security h1 span {
  display: inline !important;
}

.public-login .form,
.public-security .letter {
  width: min(430px, 100%) !important;
  margin: 0 auto !important;
  border: 1px solid rgba(218,246,255,.14) !important;
  border-radius: 8px !important;
  background: rgba(5,13,19,.32) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.18) !important;
  backdrop-filter: blur(16px) !important;
}

.public-login .form {
  padding: 24px !important;
}

.public-login label {
  color: rgba(220,236,243,.86) !important;
  font-size: 13px !important;
}

.public-login input {
  border-color: rgba(218,246,255,.15) !important;
  background: rgba(5,13,19,.54) !important;
}

.public-login .fine {
  color: rgba(180,199,210,.62) !important;
}

.public-security main {
  grid-template-columns: minmax(0, 780px) !important;
}

.public-security .statement {
  position: relative !important;
  gap: clamp(24px, 4vh, 38px) !important;
}

.public-security .kicker {
  display: inline-flex !important;
  margin: 0 auto !important;
  width: auto !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: rgba(180,199,210,.72) !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: 0 0 18px rgba(103,232,249,.18) !important;
}

.public-security .kicker:before {
  width: 7px !important;
  height: 7px !important;
}

.public-security .letter {
  position: relative !important;
  max-width: 680px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: rgba(226,240,247,.88) !important;
  font-size: clamp(17px, 1.45vw, 21px) !important;
  line-height: 1.95 !important;
  text-align: center !important;
  text-shadow: 0 0 24px rgba(103,232,249,.13) !important;
}

.public-security .letter p {
  margin: 0 !important;
  text-indent: 0 !important;
  background: linear-gradient(90deg, rgba(226,240,247,.68), #fff 40%, rgba(142,240,176,.88) 54%, rgba(226,240,247,.72)) !important;
  background-size: 220% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  animation: securityTextSheen 8s ease-in-out infinite !important;
}

.public-security .closing {
  position: relative !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  color: rgba(248,251,255,.94) !important;
  font-size: clamp(17px, 1.7vw, 22px) !important;
  text-shadow: 0 0 28px rgba(142,240,176,.2) !important;
}

.public-security .closing:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,.5), rgba(142,240,176,.5), transparent);
  animation: securityLinePulse 5.6s ease-in-out infinite;
}

.public-security h1 {
  position: relative !important;
  background: linear-gradient(92deg, #fff 0%, rgba(225,247,255,.92) 42%, rgba(142,240,176,.94) 56%, #fff 72%) !important;
  background-size: 210% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 16px 42px rgba(0,0,0,.35)) !important;
  animation: securityTitleSheen 7s ease-in-out infinite !important;
}

.public-security h1:after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248,251,255,.58), rgba(103,232,249,.34), transparent);
  opacity: .72;
}

@keyframes securityTitleSheen {
  0%, 100% { background-position: 0% 50%; }
  48%, 62% { background-position: 100% 50%; }
}

@keyframes securityTextSheen {
  0%, 100% { background-position: 0% 50%; }
  45%, 60% { background-position: 100% 50%; }
}

@keyframes securityLinePulse {
  0%, 100% { opacity: .32; transform: scaleX(.72); }
  50% { opacity: .9; transform: scaleX(1); }
}

.wechat-dialog {
  width: min(390px, 100%) !important;
  background: rgba(5,13,19,.92) !important;
  border-color: rgba(218,246,255,.16) !important;
}

.wechat-qr {
  aspect-ratio: auto !important;
  max-height: min(70vh, 560px) !important;
  object-fit: contain !important;
}

@media (max-width: 820px) {
  body {
    background:
      linear-gradient(180deg, rgba(5,13,19,.95), rgba(5,13,19,.74) 47%, rgba(5,13,19,.94)),
      url('/damao-assets/ai-eyra-bg-mobile.webp') center top / cover fixed no-repeat,
      #07131b !important;
  }

  .shell,
  .page {
    width: min(100% - 24px, 1120px) !important;
  }

  header {
    min-height: 62px !important;
    padding: 10px 0 12px !important;
    gap: 10px !important;
  }

  .brand {
    gap: 8px !important;
  }

  .brand:before {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
  }

  .brand:after {
    font-size: 14px !important;
  }

  nav,
  .nav {
    gap: 14px !important;
    font-size: 13px !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
  }

  .public-home main {
    padding: clamp(64px, 9.5vh, 86px) 0 30px !important;
    gap: 42px !important;
  }

  .public-home h1 {
    font-size: clamp(54px, 16.5vw, 88px) !important;
    line-height: .86 !important;
    white-space: normal !important;
    -webkit-text-stroke-width: 1.4px !important;
  }

  .public-home h1:before,
  .public-home h1:after {
    -webkit-text-stroke-width: 1.4px !important;
  }

  .actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .action,
  button.primary,
  button:not(.wechat-close) {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }

  .public-home .live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 22px !important;
    margin: 22px 0 14px !important;
  }

  .public-home .live-head,
  .public-home .live-foot {
    justify-content: center !important;
    text-align: center !important;
  }

  .public-home .live-card:nth-child(-n+4),
  .public-home .live-card:nth-child(2n) {
    border: 0 !important;
  }

  .public-login main,
  .public-security main {
    padding: clamp(44px, 7.6vh, 72px) 0 38px !important;
  }

  .public-login h1,
  .public-security h1 {
    font-size: clamp(40px, 12.5vw, 62px) !important;
    line-height: .92 !important;
  }

  .public-login h1 span,
  .public-security h1 span {
    display: inline !important;
  }

  .public-login .form {
    padding: 20px 16px !important;
  }

  .public-security .letter {
    padding: 0 4px !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
  }

  .wechat-dialog {
    width: min(348px, 100%) !important;
    padding: 14px !important;
  }

  .wechat-qr {
    max-height: 58vh !important;
  }
}

@media (max-width: 380px) {
  .brand:after {
    display: none;
  }

  nav,
  .nav {
    gap: 11px !important;
    font-size: 12px !important;
  }

  .public-home h1 {
    font-size: clamp(48px, 16vw, 72px) !important;
  }
}
