.is-home .overview-grid,
.is-home .quick-grid,
.is-home #actions,
.is-home #status,
.is-home #logs,
.is-home .toast-wrap {
  display: none !important;
}

/* 隐藏旧版 Landing 样式，让 index.html 的新内联样式生效 */
.landing-grid {
  display: none;
}

.hero {
  display: none;
}

.landing-footer-card {
  display: none;
}

.home-footer {
  display: none;
}



.mobile-menu-btn {
  display: none
}

.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, .34);
  backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  padding: 24px
}

.guide-modal.hidden {
  display: none
}

.guide-panel {
  width: min(1080px, 100%);
  border-radius: 32px;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid #e6ebf5;
  box-shadow: 0 32px 90px rgba(30, 58, 138, .16);
  position: relative
}

.guide-panel-large {
  max-width: 1080px;
  max-height: 88vh;
  display: block;
  overflow-y: auto;
  overflow-x: hidden
}

.guide-panel-large::-webkit-scrollbar {
  width: 8px
}

.guide-panel-large::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px
}

.guide-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  color: #fff;
  font-size: 26px;
  background: linear-gradient(135deg, #312e81, #2563eb);
  box-shadow: 0 10px 24px rgba(49, 46, 129, .22);
  z-index: 20;
  pointer-events: auto
}

.players-panel {
  max-width: 1100px;
  max-height: 88vh;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent
}

.players-panel::-webkit-scrollbar {
  width: 8px
}

.players-panel::-webkit-scrollbar-track {
  background: transparent
}

.players-panel::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px
}

.players-head {
  padding-right: 56px;
  margin-bottom: 18px
}

.players-head h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 38px;
  font-weight: 900
}

.players-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px
}

.player-card {
  padding: 0 16px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e7ecf5;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
  text-align: left;
  overflow: hidden
}

.player-flag-strip {
  display: flex;
  height: 6px;
  margin: 0 -16px 16px
}

.player-flag-strip i {
  flex: 1
}

.player-avatar {
  width: 88px;
  height: 88px;
  margin: 0 0 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, #3c07c2, #5d2cf0);
  display: grid;
  place-items: center;
  position: relative;
  color: #fff;
  overflow: hidden
}

.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none
}

.player-avatar.loaded img {
  display: block
}

.player-avatar.loaded span {
  display: none
}

.player-avatar span {
  font-size: 30px;
  font-weight: 900;
  line-height: 1
}

.player-avatar em {
  position: absolute;
  right: -6px;
  bottom: -6px;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbe5f3;
  color: #3c07c2;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .08)
}

.player-card strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  margin-bottom: 8px
}

.player-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px
}

.player-meta span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f8fbff;
  border: 1px solid #e7ecf5;
  color: #475569;
  font-size: 11px;
  line-height: 1.2
}

.player-card p {
  margin: 0;
  min-height: 58px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.7
}

.player-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px
}

.player-tags b {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 12px
}

.guide-hero-card {
  padding: 28px 76px 28px 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, #eef4ff 0%, #f5f3ff 58%, #eef6ff 100%);
  border: 1px solid #dbe5f3;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9)
}

.guide-hero-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #312e81, #3b82f6, #8b5cf6)
}

.guide-hero-card::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -56px;
  width: 260px;
  height: 220px;
  background: radial-gradient(circle, rgba(59, 130, 246, .16), transparent 68%)
}

.guide-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbe5f3;
  color: #312e81;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px
}

.guide-panel h3 {
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -1px
}

.guide-slogan {
  margin: 14px 0 12px;
  font-size: 19px;
  color: #312e81;
  font-weight: 900
}

.guide-intro {
  margin: 0 0 18px;
  color: #475569;
  font-size: 14px;
  line-height: 1.85;
  max-width: 820px
}

.guide-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.guide-metric {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dbe5f3;
  box-shadow: 0 8px 20px rgba(30, 41, 59, .04)
}

.guide-metric span {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-bottom: 8px
}

.guide-metric strong {
  font-size: 32px;
  color: #1e3a8a
}

.guide-content {
  overflow: visible;
  padding-right: 0;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px
}

.guide-section {
  padding: 22px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e6ebf5;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04)
}

.guide-section h4 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
  font-size: 18px;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 8px
}

.guide-section h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #3b82f6
}

.guide-feature-grid,
.guide-seed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.guide-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.guide-step-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

.guide-feature-card,
.guide-rule-card,
.guide-seed-card,
.guide-step {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid #e6ebf5;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .03)
}

.guide-feature-card h4,
.guide-rule-card strong,
.guide-seed-card strong {
  color: #0f172a
}

.guide-feature-card p,
.guide-rule-card p,
.guide-seed-card p,
.guide-seed-card span,
.guide-step span {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.75
}

.guide-step {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.guide-step b {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #312e81, #2563eb);
  color: #fff;
  font-size: 12px;
  flex: none;
  box-shadow: 0 8px 16px rgba(49, 46, 129, .16)
}

.guide-panel>.btn.btn-block {
  display: block;
  margin-top: 18px;
  background: linear-gradient(90deg, #3c07c2, #5d2cf0);
  border: none;
  border-radius: 18px;
  padding: 16px 24px;
  font-size: 16px;
  box-shadow: 0 16px 30px rgba(99, 102, 241, .24)
}

.landing-footer-card {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 17, 38, 0.98), rgba(15, 14, 31, 0.98));
  border: 1px solid rgba(144, 115, 255, 0.18);
  box-shadow: 0 16px 50px rgba(53, 16, 102, 0.35);
}

.landing-footer-card h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.landing-footer-card p {
  margin: 0;
  color: #b7aed4;
  line-height: 1.8;
}

.landing-footer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  .landing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .landing-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .landing-seed-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-rule-layout {
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }

  .landing-footer-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.home-footer-disclaimer {
  max-width: 600px;
  text-align: center;
}

.home-footer-disclaimer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .container {
    width: min(100%, calc(100% - 20px))
  }

  main.container {
    padding: 0 2px !important
  }

  .site-header {
    padding: 10px 0 !important
  }

  .site-header .container.nav {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center !important;
    gap: 12px
  }

  .brand {
    justify-content: flex-start;
    align-items: center
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    width: 38px;
    height: 38px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .04);
    margin-left: 0;
    grid-column: 2;
    grid-row: 1
  }

  .mobile-menu-btn span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #1e3a8a;
    transition: .2s
  }

  .mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg)
  }

  .mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0
  }

  .mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg)
  }

  .home-nav-group {
    grid-column: 1 / -1;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important
  }

  .nav-links {
    display: none !important
  }

  .mobile-nav-panel {
    display: none !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 8px;
    border: 1px solid #e7ecf5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06)
  }

  .mobile-nav-panel.is-open {
    display: flex !important
  }

  .mobile-nav-panel a {
    display: block;
    padding: 12px 14px !important;
    border-radius: 12px;
    border-bottom: none !important;
    font-size: 15px !important
  }

  .mobile-nav-panel a+a {
    margin-top: 4px
  }

  .nav-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important
  }

  .nav-actions .btn,
  .nav-actions a {
    justify-content: center;
    width: 100%;
    padding: 12px 12px !important;
    font-size: 14px !important;
    border-radius: 12px !important
  }

  .brand-logo-img {
    width: 36px !important;
    height: 36px !important
  }

  .brand-text {
    font-size: 21px !important;
    margin-left: 8px !important
  }

  .home-hero {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 24px 16px 16px !important;
    min-height: auto !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05)
  }

  .home-hero-copy {
    max-width: none !important;
    padding-left: 0 !important
  }

  .home-hero h1 {
    font-size: 32px !important;
    letter-spacing: -.8px !important;
    line-height: 1.15 !important;
    margin-bottom: 14px !important
  }

  .home-hero p {
    font-size: 14px !important;
    line-height: 1.65 !important;
    gap: 7px !important;
    flex-wrap: wrap;
    margin-bottom: 24px !important
  }

  .home-hero-actions {
    width: 100%;
    flex-direction: column !important;
    gap: 10px !important
  }

  .home-hero-actions .btn,
  .home-hero-actions a,
  .home-hero-actions button {
    width: 100%;
    justify-content: center;
    padding: 14px 16px !important;
    font-size: 15px !important;
    border-radius: 12px !important
  }

  .home-hero-visual {
    position: static !important;
    width: calc(100% + 8px) !important;
    justify-content: center !important;
    margin: 10px -4px 0 !important
  }

  .home-hero-visual img {
    height: auto !important;
    width: 100% !important;
    max-width: 520px !important;
    transform: none !important;
    opacity: 1 !important
  }

  .home-feature-wrap {
    margin-top: 10px !important
  }

  .home-feature-bar {
    padding: 14px !important;
    gap: 12px !important;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 18px !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .05) !important
  }

  .home-feature-bar::-webkit-scrollbar {
    display: none
  }

  .home-feature-bar>div[style*="width: 1px"] {
    display: none !important
  }

  .home-feature-bar>div[style*="flex: 1"] {
    min-width: 235px;
    padding: 14px;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    background: #fff
  }

  .home-flow-card {
    padding: 16px !important;
    border-radius: 18px !important
  }

  .home-flow-card h3 {
    margin-bottom: 14px !important
  }

  .home-flow-row {
    gap: 10px;
    overflow-x: auto;
    justify-content: flex-start !important;
    scrollbar-width: none;
    padding-bottom: 2px
  }

  .home-flow-row::-webkit-scrollbar {
    display: none
  }

  .home-flow-row>div[style*="font-size: 18px"] {
    display: none !important
  }

  .home-flow-row>div[style*="display: flex; align-items: center;"] {
    min-width: 165px;
    padding: 10px 12px;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #fff
  }

  .home-bottom-grid {
    flex-direction: column !important;
    gap: 16px !important
  }

  .home-bottom-grid>div {
    width: 100% !important;
    border-radius: 18px !important
  }

  .home-bottom-grid>div:nth-child(1) {
    padding: 16px !important
  }

  .home-bottom-grid>div:nth-child(1)>div:nth-child(2) {
    overflow-x: auto
  }

  .home-bottom-grid>div:nth-child(1)>div:nth-child(2)>div[style*="padding:18px"] {
    min-width: 108px;
    padding: 16px 8px 14px !important
  }

  .home-bottom-grid>div:nth-child(2) {
    padding: 18px !important
  }

  .home-bottom-grid>div:nth-child(2)>div:nth-child(2) {
    flex-direction: column !important;
    gap: 10px !important
  }

  .home-bottom-grid>div:nth-child(2)>div:nth-child(2)>div {
    padding: 14px 12px !important
  }

  .home-bottom-grid>div:nth-child(3) {
    padding: 18px !important
  }

  .home-bottom-grid>div:nth-child(3)>div:nth-child(2) {
    flex-direction: column !important;
    gap: 12px !important
  }

  .home-bottom-grid>div:nth-child(3)>div:nth-child(2)>div:first-child {
    width: 100% !important;
    max-width: 180px;
    margin: 0 auto
  }

  .home-bottom-grid>div:nth-child(3)>div:nth-child(2)>div:last-child {
    width: 100% !important;
    padding: 18px 14px !important
  }

  footer[style*="justify-content: space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 22px 0 !important
  }

  footer[style*="justify-content: space-between"]>div {
    width: 100% !important;
    flex-wrap: wrap
  }

  footer[style*="justify-content: space-between"]>div:last-child {
    gap: 10px !important;
    font-size: 13px !important
  }

  .guide-modal {
    padding: 0;
    place-items: end stretch
  }

  .guide-panel,
  .players-panel,
  .faq-panel,
  .home-info-panel {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 10px);
    max-height: calc(100vh - 10px);
    border-radius: 22px 22px 0 0;
    padding: 18px 16px 20px !important;
    overflow-y: auto;
    box-shadow: 0 -18px 50px rgba(15, 23, 42, .12)
  }

  .guide-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 24px
  }

  .guide-panel h3 {
    font-size: 28px;
    line-height: 1.14;
    padding-right: 44px
  }

  .guide-hero-card {
    padding: 20px 16px 18px;
    border-radius: 18px
  }

  .guide-hero-card::after {
    right: -90px;
    top: -70px;
    width: 180px;
    height: 160px;
    opacity: .7
  }

  .guide-badge {
    margin-bottom: 12px
  }

  .guide-slogan {
    margin: 12px 0 10px;
    font-size: 16px
  }

  .guide-intro {
    font-size: 13px;
    line-height: 1.7
  }

  .guide-metrics,
  .guide-step-list,
  .guide-feature-grid,
  .guide-rule-grid {
    grid-template-columns: 1fr !important
  }

  .guide-content {
    gap: 12px;
    margin-top: 14px
  }

  .guide-section {
    padding: 16px;
    border-radius: 18px
  }

  .guide-section h4 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 10px
  }

  .guide-feature-card,
  .guide-rule-card,
  .guide-seed-card,
  .guide-step,
  .guide-metric {
    border-radius: 16px;
    padding: 15px 14px
  }

  .guide-step b {
    width: 32px;
    height: 32px
  }

  .guide-panel>.btn.btn-block {
    position: sticky;
    bottom: 0;
    margin-top: 14px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(99, 102, 241, .18)
  }

  .players-grid {
    grid-template-columns: 1fr
  }

  .players-head {
    margin-bottom: 14px;
    padding-right: 44px
  }

  .players-head h3 {
    font-size: 26px !important
  }

  .player-card {
    padding: 0 14px 16px;
    border-radius: 18px
  }

  .player-avatar {
    width: 78px;
    height: 78px;
    border-radius: 20px
  }

  .player-card p {
    min-height: auto
  }

  .landing-card {
    padding: 18px;
    border-radius: 18px;
  }

  .landing-card h3 {
    font-size: 22px;
    gap: 10px;
    margin-bottom: 16px;
  }

  .landing-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .players-grid {
    grid-template-columns: 1fr;
  }

  .landing-seed-cards {
    grid-template-columns: 1fr;
  }

  .landing-feature-item img {
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
  }

  .seed-card-head {
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .seed-card-head img {
    width: 54px;
    height: 54px;
  }

  .seed-card-head strong {
    font-size: 20px;
  }

  .seed-attr {
    font-size: 12px;
  }

  .landing-rule-left img {
    max-width: 150px;
  }

  .rule-dividend-card {
    padding: 18px 12px;
  }

  .landing-footer-card {
    padding: 18px;
  }

  .landing-footer-card h3 {
    font-size: 24px;
  }

  .landing-footer-actions {
    width: 100%;
    flex-direction: column;
  }

  .landing-footer-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .home-footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .home-footer-brand {
    justify-content: center;
  }

  .home-footer-socials {
    justify-content: center;
  }

  .home-footer-disclaimer {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-actions {
    grid-template-columns: 1fr !important
  }

  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px
  }

  .guide-panel,
  .players-panel,
  .faq-panel,
  .home-info-panel {
    min-height: 100vh;
    max-height: 100vh;
    border-radius: 18px 18px 0 0;
    padding: 16px 14px 18px !important
  }

  .guide-panel h3,
  .players-head h3,
  .faq-panel h3 {
    font-size: 24px !important
  }

  .guide-metric strong {
    font-size: 26px
  }

  .guide-close {
    width: 36px;
    height: 36px;
    font-size: 22px
  }
}