/* 首屏静态骨架（与原 HomeEntrySkeleton 一致），由 index.html 引用 */
@keyframes home-skel-sheen {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.home-entry-skeleton .skel-block {
  border-radius: 4px;
  background-color: #16161c;
  background-image: linear-gradient(
    92deg,
    transparent 0%,
    transparent 36%,
    rgba(255, 255, 255, 0.055) 50%,
    transparent 64%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  animation: home-skel-sheen 2.1s linear infinite;
}

.home-entry-skeleton {
  position: fixed;
  inset: 0;
  z-index: 10050;
  box-sizing: border-box;
  padding: 0 0 32px;
  margin: 0;
  overflow: hidden;
  background: #000000;
  color: transparent;
}

.skel-header {
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.9);
}

.skel-header-inner {
  box-sizing: border-box;
  max-width: 1520px;
  min-height: 88px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.skel-logo {
  flex: 0 0 auto;
  width: 200px;
  height: 46px;
  border-radius: 6px;
}

.skel-nav-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
}

.skel-nav-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  gap: 7px;
}

.skel-nav-cn {
  width: 52px;
  height: 16px;
  border-radius: 3px;
}

.skel-nav-en {
  width: 40px;
  height: 11px;
  border-radius: 2px;
}

.skel-nav-extra {
  flex: 0 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  padding-bottom: 2px;
}

.skel-extra-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 52px;
}

.skel-extra-icon {
  width: 26px;
  height: 26px;
  border-radius: 4px;
}

.skel-extra-label {
  width: 44px;
  height: 9px;
  border-radius: 2px;
}

.skel-auth {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.skel-auth-btn {
  width: 88px;
  height: 34px;
  border-radius: 17px;
}

.skel-banner {
  width: 100%;
  height: min(58vh, 700px);
  min-height: 280px;
  margin: 0;
  border-radius: 0;
}

.skel-notice-wrap {
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
}

.skel-notice {
  height: 48px;
  margin-top: 0;
  border-radius: 4px;
}

.skel-intro {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  flex-wrap: nowrap;
}

.skel-intro-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 280px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.skel-circle {
  flex-shrink: 0;
  width: 124px;
  height: 124px;
  border-radius: 50%;
}

.skel-intro-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-top: 2px;
}

.skel-line {
  border-radius: 3px;
}

.skel-line-title {
  height: 18px;
  width: 88%;
  max-width: 120px;
}

.skel-line-desc {
  height: 12px;
  width: 100%;
  max-width: 160px;
}

.skel-game-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  box-sizing: border-box;
}

.skel-game-head {
  display: block;
  height: 40px;
  width: 562px;
  max-width: 100%;
  margin: 0 auto 20px;
  border-radius: 4px;
}

.skel-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 8px;
  margin-bottom: 20px;
}

.skel-tab {
  width: 168px;
  height: 56px;
  border-radius: 4px;
}

.skel-game-panel {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.skel-game-left {
  flex: 1.1;
  min-height: 280px;
  max-width: 560px;
  border-radius: 6px;
}

.skel-game-right {
  flex: 1;
  min-height: 280px;
  max-width: 480px;
  border-radius: 6px;
}

@media (max-width: 1400px) {
  .skel-nav-extra {
    display: none;
  }
}

@media (max-width: 1200px) {
  .skel-nav-main .skel-nav-item:nth-child(n + 7) {
    display: none;
  }
  .skel-banner {
    height: min(50vh, 520px);
  }
}

@media (max-width: 992px) {
  .skel-nav-main {
    display: none;
  }
  .skel-header-inner {
    justify-content: space-between;
  }
  .skel-intro {
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .skel-intro-card {
    flex: 1 1 45%;
    max-width: none;
  }
  .skel-circle {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 900px) {
  .skel-game-panel {
    flex-direction: column;
    align-items: stretch;
  }
  .skel-game-left,
  .skel-game-right {
    max-width: none;
  }
}
