/* Local no-login adjustments for the 1DD-style static mirror. */
a[href*="/index/user/index"],
.person,
.login,
.login-button-new,
.loginDialog,
.login-dialog,
[class*="login"],
[id*="login"] {
  display: none !important;
}

#Floatingbar {
  display: none !important;
}

.mid-autumn {
  display: none !important;
}

.lqzx,
.hdb,
.btn_backtop {
  display: none !important;
}

#header .tab-box a.dis-flex.router-link-exact-active {
  min-width: 530px;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

#header .tab-box a.dis-flex.router-link-exact-active .logo {
  display: block !important;
  width: 76px !important;
  height: 76px !important;
  flex: 0 0 76px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(245, 196, 72, 0.35),
    0 6px 18px rgba(130, 64, 4, 0.22);
}

#header .tab-box a.dis-flex.router-link-exact-active::after {
  content: "\4E8C\9A74\516C\76CA\7FA4\670D-\81F4\6211\4EEC\66FE\7ECF\5931\53BB\7684\9752\6625\FF01";
  display: inline-block;
  color: #5a2b07;
  font-family: "Microsoft YaHei", "SimHei", serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
  background: linear-gradient(180deg, #fff1a2 0%, #d9951d 45%, #7c3506 72%, #f4d064 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 220, 0.95),
    1px 1px 0 rgba(55, 20, 2, 0.85),
    2px 2px 0 rgba(55, 20, 2, 0.64),
    0 0 8px rgba(218, 149, 31, 0.45);
}

#GameList1,
.foot .container .f-14.pointer.dis-flex.flex-y-center.flex-x-center {
  display: none !important;
}

.foot[data-v-7e7088c1],
.foot {
  min-width: 0 !important;
  height: auto !important;
  min-height: 118px !important;
  margin-top: 28px !important;
  padding: 24px 16px 22px !important;
  border: 0 !important;
  border-top: 1px solid rgba(236, 177, 72, 0.62) !important;
  color: #d8c8b2 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(169, 65, 22, 0.24), transparent 32%),
    radial-gradient(circle at 78% 100%, rgba(220, 146, 40, 0.15), transparent 28%),
    linear-gradient(180deg, #3c2118 0%, #251913 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 226, 152, 0.18);
  font-size: 14px !important;
}

.foot::before {
  content: "";
  display: block;
  width: min(1180px, calc(100% - 24px));
  height: 1px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, transparent, rgba(245, 194, 87, 0.72), transparent);
}

.foot .nav-box,
.foot .nav-box[data-v-7e7088c1] {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.foot .content,
.foot .table-container,
.foot .tab {
  min-width: 0 !important;
}

.foot .nav-box .content {
  width: min(100%, 1180px) !important;
  margin: 0 auto !important;
}

.foot .nav-box .tab {
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px 0;
}

.foot .nav-box .tab-item-style[data-v-7e7088c1],
.foot .nav-box .tab-item-style {
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #ead9c3 !important;
}

.foot .nav-box a[data-v-7e7088c1],
.foot .nav-box a {
  color: #ead9c3 !important;
  transition: color 0.16s ease;
}

.foot .nav-box a:hover {
  color: #ffd36a !important;
}

.foot .container.t-c.border-box,
.foot .container {
  width: min(100%, 1180px) !important;
  min-width: 0 !important;
  margin: 12px auto 0 !important;
  padding: 0 !important;
}

.foot .tips[data-v-7e7088c1],
.foot .tips {
  max-width: 920px;
  margin: 10px auto 0 !important;
  color: rgba(239, 224, 205, 0.82) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  text-align: center;
  white-space: normal !important;
}

#banner {
  position: relative;
  overflow: hidden;
  height: 540px !important;
  background: #2a0f08;
}

#banner .conbox,
#banner .Slide_,
#banner .loopa-v-box {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

#banner .Slide_:not(:first-child),
#banner video {
  display: none !important;
}

#banner .local-dragon-hero,
#banner .local-dragon-hero::before,
#banner .local-dragon-hero::after,
#banner .local-dragon-hero .dragon-slide {
  position: absolute;
  inset: 0;
}

#banner .local-dragon-hero {
  z-index: 0;
  overflow: hidden;
}

#banner .local-dragon-hero .dragon-slide {
  opacity: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
  animation:
    dragonSlideFade 18s ease-in-out infinite,
    dragonHeroDrift 9s ease-in-out infinite alternate;
}

#banner .local-dragon-hero .dragon-slide:nth-child(1) {
  background-image: url("assets/dragon-hero.png");
  animation-delay: 0s, 0s;
}

#banner .local-dragon-hero .dragon-slide:nth-child(2) {
  background-image: url("assets/dragon-hero-2.png");
  animation-delay: 6s, -2s;
}

#banner .local-dragon-hero .dragon-slide:nth-child(3) {
  background-image: url("assets/dragon-hero-3.png");
  animation-delay: 12s, -4s;
}

#banner .local-dragon-hero::before {
  content: "";
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(25, 4, 0, 0.02) 0%, rgba(64, 12, 4, 0.08) 56%, rgba(35, 3, 0, 0.5) 100%);
}

#banner .local-dragon-hero::after {
  content: "";
  z-index: 4;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 78%, rgba(255, 111, 24, 0.74) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 66%, rgba(255, 180, 72, 0.62) 0 1px, transparent 3px),
    radial-gradient(circle at 61% 72%, rgba(255, 119, 35, 0.68) 0 2px, transparent 4px),
    radial-gradient(circle at 84% 58%, rgba(255, 211, 115, 0.54) 0 1px, transparent 3px),
    linear-gradient(90deg, rgba(95, 8, 0, 0.22), transparent 28%, transparent 72%, rgba(95, 8, 0, 0.2));
  background-size: 360px 220px, 420px 260px, 520px 300px, 460px 260px, 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.72;
  animation: emberFloat 7s linear infinite;
}

#banner::before,
#banner::after {
  content: none !important;
}

@keyframes dragonSlideFade {
  0%,
  28% {
    opacity: 1;
  }

  34%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes dragonHeroDrift {
  0% {
    background-position: 46% 48%;
    transform: scale(1.03);
    filter: saturate(1.04) brightness(1);
  }

  100% {
    background-position: 54% 52%;
    transform: scale(1.09);
    filter: saturate(1.16) brightness(1.06);
  }
}

@keyframes emberFloat {
  0% {
    background-position: 0 0, 120px 40px, 40px 90px, 260px 20px, 0 0;
  }

  100% {
    background-position: 220px -260px, -160px -220px, 260px -280px, -120px -210px, 0 0;
  }
}

.image-box-activity .head {
  justify-content: center;
}

.local-feature-strip {
  display: block !important;
  position: relative;
  z-index: 2;
  margin: -112px auto 14px;
  padding: 0 0 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease;
}

.local-feature-strip.is-ready {
  opacity: 1;
  visibility: visible;
}

.local-feature-strip .content {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.local-feature-strip .head {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  justify-content: flex-start;
}

.local-feature-strip .local-feature-card {
  display: block;
  text-decoration: none;
}

.local-feature-strip .activity {
  height: 296px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.local-feature-strip .local-feature-card:hover .activity {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(70, 36, 12, 0.18);
}

.local-feature-strip .activity .item {
  position: relative;
  height: 100%;
}

.local-feature-strip .feature-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255, 231, 173, 0.86);
  border-radius: 2px;
  color: #fff4d2;
  background: linear-gradient(180deg, rgba(144, 49, 24, 0.96), rgba(96, 28, 18, 0.96));
  box-shadow: 0 2px 7px rgba(36, 10, 3, 0.32);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.local-feature-strip .feature-badge:empty {
  display: none;
}

.local-feature-strip .activity .item img {
  display: block;
  width: 100%;
  height: 196px;
  object-fit: cover;
}

.local-feature-strip .activity .intro {
  padding: 22px 28px 0;
}

.local-feature-strip .activity .intro .title {
  display: block;
  overflow: hidden;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.local-feature-strip .activity .intro .line {
  width: 40px;
  height: 2px;
  margin: 12px 0 8px;
  background: #ff8a00;
}

.local-feature-strip .activity .intro .subtitle {
  overflow: hidden;
  color: #777;
  font-size: 14px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.local-feature-strip .activity .intro .subtitle:empty::after {
  content: "";
}

.activity .intro .subtitle:empty::after {
  content: "\65E0\9700\4F1A\5458\767B\5F55\FF0C\70B9\51FB\5373\53EF\8FDB\5165";
}

.has-local-modal {
  overflow: hidden;
}

.local-page-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
}

.local-page-modal.is-open {
  display: block;
}

.local-page-modal__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.local-page-modal__panel {
  position: relative;
  width: min(1060px, calc(100% - 16px));
  max-height: calc(100vh - 8px);
  margin: 4px auto;
  overflow: auto;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
  padding: 26px 38px 36px;
}

.local-page-modal__close {
  position: absolute;
  top: 18px;
  right: 24px;
  float: right;
  min-height: 24px;
  padding: 0;
  border: 0;
  color: #999;
  background: transparent;
  font-size: 0;
  cursor: pointer;
}

.local-page-modal__close::before {
  content: "\00d7";
  font-size: 26px;
  line-height: 1;
}

.local-page-modal__title {
  margin: 4px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  position: relative;
}

.local-page-modal__title::after {
  content: none;
}

.local-page-modal__content {
  max-width: 962px;
  margin: 0 auto;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  padding: 36px 30px;
  box-shadow: none;
}

.newbie-read-list {
  display: grid;
  gap: 22px;
  padding: 6px 0;
}

.newbie-read-list p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  white-space: nowrap;
}

.newbie-read-list p::before,
.newbie-read-list p::after {
  content: "\2022 \2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014";
  color: #555;
}

.newbie-read-list p::after {
  content: "\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014 \2022";
}

.newbie-read-list span {
  padding: 0 8px;
}

.local-page-modal__content section {
  margin-bottom: 30px;
}

.local-page-modal__content h2 {
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  color: #333;
  font-size: 18px;
}

.local-page-modal__content p {
  margin: 10px 0;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

.local-notices-grid {
  display: grid;
  gap: 20px;
}

.local-notice-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.local-notice-info {
  min-width: 0;
}

.local-notice-info h3 {
  margin: 0 0 10px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
}

.local-notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #666;
  font-size: 14px;
}

.local-notice-arrow {
  color: #94a3b8;
  font-size: 34px;
  line-height: 1;
}

.managed-game-list {
  min-height: 120px;
}

.managed-empty {
  padding: 42px 0;
  color: #777;
  text-align: center;
  font-size: 16px;
}

#GameList2 .games,
#RetroGameList .games {
  position: relative;
}

#GameList2 .spe_safe_icon,
#RetroGameList .spe_safe_icon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  min-width: 96px;
  max-width: calc(100% - 20px);
  box-sizing: border-box;
  padding: 5px 10px;
  border: 1px solid rgba(255, 226, 130, 0.9);
  border-radius: 3px;
  color: #fff7d2;
  background: linear-gradient(180deg, rgba(178, 31, 18, 0.96), rgba(100, 10, 6, 0.96));
  box-shadow: 0 2px 8px rgba(80, 15, 2, 0.35);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

#GameList2 .spe_safe_icon.is-open,
#RetroGameList .spe_safe_icon.is-open {
  color: #fff;
  border-color: rgba(255, 244, 176, 0.95);
  background: linear-gradient(180deg, rgba(234, 88, 12, 0.98), rgba(156, 36, 8, 0.98));
}

#GameList2 .spe_safe_icon.is-graduated,
#RetroGameList .spe_safe_icon.is-graduated {
  color: #fff;
  border-color: rgba(220, 226, 235, 0.95);
  background: linear-gradient(180deg, rgba(92, 101, 118, 0.98), rgba(48, 54, 66, 0.98));
}

#RetroGameList {
  margin-top: 18px;
}

.vip-service-float {
  position: fixed;
  left: -50px;
  top: calc(75% - 540px);
  z-index: 1000;
  display: block;
  width: 280px;
  text-decoration: none;
  transform-origin: left bottom;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.vip-service-float:hover {
  filter: brightness(1.05);
  transform: translateY(-3px);
}

.vip-service-float img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

@media (max-width: 768px) {
  #header .tab {
    overflow-x: auto;
    white-space: nowrap;
  }

  .vip-service-float {
    left: -18px;
    top: auto;
    bottom: 90px;
    width: 190px;
  }

  #banner {
    height: 420px !important;
  }

  #banner .local-dragon-hero .dragon-slide {
    background-position: 50% center;
  }

  .local-feature-strip {
    margin: -64px auto 10px;
  }

  .local-feature-strip .content {
    width: calc(100% - 20px);
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .local-feature-strip .head {
    grid-template-columns: repeat(4, 220px);
  }

  .local-feature-strip .activity {
    height: 244px;
  }

  .local-feature-strip .activity .item img {
    height: 150px;
  }

  .local-feature-strip .activity .intro {
    padding: 18px 18px 0;
  }

  .local-page-modal__panel {
    width: calc(100% - 18px);
    max-height: calc(100vh - 28px);
    margin: 14px auto;
    padding: 18px;
  }

  .local-page-modal__content {
    padding: 20px 12px;
  }

  .newbie-read-list p {
    white-space: normal;
  }

  .newbie-read-list p::before,
  .newbie-read-list p::after {
    content: "";
  }
}
