/* converted from pages/index/index.wxss */
/* miniprogram/pages/index/index.wxss */

body {
  background: linear-gradient(180deg, #d8e9ff 0%, #eef6ff 36%, #f7fbff 100%);
}

.PageRoot {
  height: 100vh;
  position: relative;
  background: linear-gradient(180deg, #d8e9ff 0%, #eef6ff 36%, #f7fbff 100%);
}

.PageScroll {
  height: 100vh;
  box-sizing: border-box;
  padding-bottom: 8px;
}

.Hero {
  position: relative;
  height: 150px;
  background-color: #78a6ff;
  overflow: hidden;
}

.HeroBg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.HeroMask {
  display: none;
}

.HeroFx {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.HeroFx--strong {
  width: 46%;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 16, 0.44) 0%,
    rgba(2, 6, 16, 0.40) 20%,
    rgba(2, 6, 16, 0.34) 42%,
    rgba(2, 6, 16, 0.22) 72%,
    rgba(2, 6, 16, 0) 100%
  );
}

.HeroFx--mid {
  width: 70%;
  background: linear-gradient(
    90deg,
    rgba(6, 14, 32, 0.28) 0%,
    rgba(6, 14, 32, 0.23) 24%,
    rgba(6, 14, 32, 0.16) 46%,
    rgba(6, 14, 32, 0.085) 72%,
    rgba(6, 14, 32, 0) 100%
  );
}

.HeroFx--light {
  width: 84%;
  background: linear-gradient(
    90deg,
    rgba(10, 20, 44, 0.10) 0%,
    rgba(10, 20, 44, 0.075) 28%,
    rgba(10, 20, 44, 0.045) 52%,
    rgba(10, 20, 44, 0.015) 74%,
    rgba(10, 20, 44, 0) 100%
  );
}

.HeroShade {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.08) 22%,
    rgba(0, 0, 0, 0.05) 48%,
    rgba(0, 0, 0, 0.018) 70%,
    rgba(0, 0, 0, 0) 84%
  );
}

.HeroContent {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 0 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.HeroTitle {
  display: block;
  margin-top: 6px;
  margin-left: 6px;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.HeroSubtitle {
  display: block;
  margin-top: 0;
  margin-left: 6px;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 3px 9px rgba(0, 0, 0, 0.16);
}

.DirectoryPanel {
  margin: 9px 9px 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 21px rgba(38, 58, 100, 0.08);
  overflow: hidden;
  min-height: calc(100vh - 150px - 18px);
}

.TabBar {
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 13px;
  background: transparent;
}

.TabScroll {
  white-space: nowrap;
}

.TabList {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.TabItem {
  margin-right: 22px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.TabText {
  font-size: 16px;
  color: #8b97ad;
  font-weight: 600;
}

.TabText--active {
  color: #1f2f53;
  font-weight: 700;
}

.TabLine {
  height: 3px;
  border-radius: 499.5px;
  margin-top: 6px;
  background: transparent;
}

.TabLine--active {
  background: linear-gradient(90deg, #60a5fa 0%, #7dd3fc 100%);
}

.TabEmpty {
  height: 44px;
}

.CardList {
  padding: 5px 12px 13px;
  box-sizing: border-box;
}

.SwipeCardWrap {
  position: relative;
  height: 82.5px;
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
}

.SwipeCardWrap:last-child {
  margin-bottom: 16.5px;
}

.SwipeActionRail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  overflow: hidden;
}

.SwipeActionBtn {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-sizing: border-box;
}

.SwipeActionBtn--green {
  background: linear-gradient(180deg, #43b66a 0%, #2f9b57 100%);
}

.SwipeActionBtn--blue {
  background: linear-gradient(180deg, #4c8dff 0%, #3878f6 100%);
}

.SwipeActionBtn--orange {
  background: linear-gradient(180deg, #f5a04f 0%, #ef8741 100%);
}

.SwipeActionBtn--red {
  background: linear-gradient(180deg, #f06f63 0%, #e1554c 100%);
}

.SwipeActionText {
  text-align: center;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.SwipeCardFront {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  transition: transform 0.18s ease;
  will-change: transform;
}

.Card {
  position: relative;
  height: 82.5px;
  border-radius: 14px;
  overflow: hidden;
  background: #dbe6f5;
  box-shadow: 0 7px 17px rgba(38, 58, 100, 0.08);
}

.CardBg,
.CardFallback,
.CardMask,
.CardFx,
.CardShade {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.CardBg {
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.CardFallback {
  z-index: 0;
}

.CardMask {
  z-index: 1;
}

.CardFx {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.CardFx--strong {
  width: 46%;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 16, 0.42) 0%,
    rgba(2, 6, 16, 0.38) 20%,
    rgba(2, 6, 16, 0.31) 42%,
    rgba(2, 6, 16, 0.20) 72%,
    rgba(2, 6, 16, 0) 100%
  );
}

.CardFx--mid {
  width: 70%;
  background: linear-gradient(
    90deg,
    rgba(6, 14, 32, 0.26) 0%,
    rgba(6, 14, 32, 0.21) 24%,
    rgba(6, 14, 32, 0.15) 46%,
    rgba(6, 14, 32, 0.08) 72%,
    rgba(6, 14, 32, 0) 100%
  );
}

.CardFx--light {
  width: 84%;
  background: linear-gradient(
    90deg,
    rgba(10, 20, 44, 0.085) 0%,
    rgba(10, 20, 44, 0.065) 28%,
    rgba(10, 20, 44, 0.040) 52%,
    rgba(10, 20, 44, 0.014) 74%,
    rgba(10, 20, 44, 0) 100%
  );
}

.CardShade {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.08) 22%,
    rgba(0, 0, 0, 0.05) 48%,
    rgba(0, 0, 0, 0.018) 70%,
    rgba(0, 0, 0, 0) 84%
  );
}

.CardContent {
  position: relative;
  z-index: 2;
  height: 100%;
  box-sizing: border-box;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.CardTitle {
  font-size: 18px;
  line-height: 1.25;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 3px 9px rgba(0, 0, 0, 0.16);
}

.CardSubtitle {
  margin-top: 5px;
  max-width: 76%;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.93);
}

.SpecialCardWrap {
  margin-bottom: 12px;
}

.SpecialCardBorder {
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #7c3aed 0%, #38bdf8 32%, #22c55e 68%, #f59e0b 100%);
  box-shadow: 0 8px 19px rgba(89, 84, 201, 0.18);
}

.SpecialCard {
  margin-bottom: 0;
  background: #0d1b3b;
}

.SpecialCardGlow {
  display: none;
}

.SpecialCardContent {
  justify-content: center;
}

.StateWrap {
  padding: 40px 20px;
  text-align: center;
}

.StateText {
  font-size: 14px;
  color: #6d7992;
}

.StateText--error {
  color: #d93b3b;
}

.AiFloatBtn {
  position: fixed;
  z-index: 30;
}

.AiFloatInner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 13px rgba(56, 72, 104, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d8dee9;
}

.AiLogoImg {
  width: 64%;
  height: 64%;
  display: block;
}

.IcpFooter {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    height: 36px;
    line-height: 24px;
    text-align: center;
    font-size: 10px;
    color: #6d7992;
    background-color: rgba(247, 251, 255, 0.96);
  }
