/* ========== 素青配色（三套排版共用） ========== */
.theme-clean {
  --outer-bg: #dce3ea;
  --page-bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --text: #1a2332;
  --muted: #64748b;
  --line: rgba(26, 35, 50, 0.1);
  --primary: #22a06b;
  --primary-strong: #1b7f55;
  --primary-ink: #ffffff;
  --primary-rgb: 34, 160, 107;
  --accent: #22a06b;
  --accent-rgb: 34, 160, 107;
  --radius-sm: 8px;
  --radius-md: 12px;
  --font-display: "Segoe UI Variable Display", "Bahnschrift", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  --font-body: "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

.theme-clean .sticky-download,
.theme-clean .hub-link,
.theme-clean .action-primary,
.theme-clean .game-action {
  background: var(--primary);
  box-shadow: 0 10px 22px rgba(34, 160, 107, 0.22);
  font-weight: 750;
}

.theme-clean .download-hero,
.theme-clean .action-card,
.theme-clean .install-section,
.theme-clean .faq-section,
.theme-clean .more-games-callout,
.theme-clean .announcement,
.theme-clean .process-note {
  border-color: rgba(26, 35, 50, 0.08);
}

.theme-clean .process-note {
  background: #f4f8f6;
}


/* ========== B · 刊头式 ========== */
.layout-masthead {
  --font-display: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

.layout-masthead .page-shell {
  background: #f7f8f6;
}

.layout-masthead .masthead {
  padding: 28px 20px 20px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid rgba(26, 35, 50, 0.08);
}

.layout-masthead .masthead-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 1px solid rgba(34, 160, 107, 0.28);
  border-radius: 18px;
  background: #e8f7ef;
}

.layout-masthead .masthead-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout-masthead .masthead h1 {
  margin: 10px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 42px);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.15;
}

.layout-masthead .store-tags.is-masthead {
  justify-content: center;
  margin: 0 0 2px;
}

.layout-masthead .masthead-sub {
  max-width: 28ch;
  margin: 12px auto 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
}

.layout-masthead .masthead-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 35, 50, 0.08);
}

.layout-masthead .masthead-nav a {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.layout-masthead .masthead-nav a:hover {
  color: var(--primary);
}

.layout-masthead .hero-carousel {
  width: calc(100% - 32px);
  margin: 16px auto 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(26, 35, 50, 0.1);
}

.layout-masthead .landing-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
}

.layout-masthead .carousel-track {
  height: clamp(180px, 42vw, 230px);
}

.layout-masthead .hero-caption {
  bottom: 26px;
  font-family: var(--font-body);
  font-weight: 650;
}

.layout-masthead .hero-caption {
  display: none;
}

.layout-masthead .benefit-board {
  margin: 0;
}

.layout-masthead .benefit-badge {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.layout-masthead .benefit-badge::before {
  display: none;
}

.layout-masthead .code-row {
  border-radius: 8px;
  background: #f3f6f2;
  border: 1px solid rgba(34, 160, 107, 0.15);
}

.layout-masthead .code-row code {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
}

.layout-masthead .code-row button {
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
}

.layout-masthead .reward-strip {
  gap: 0;
  border-top: 1px solid rgba(26, 35, 50, 0.08);
}

.layout-masthead .reward-item {
  padding: 14px 4px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(26, 35, 50, 0.08);
  background: transparent;
  text-align: left;
}

.layout-masthead .reward-item b {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
}

.layout-masthead .legal-footer {
  background: transparent;
  text-align: center;
}

/* ========== C · 商店卡 ========== */
.layout-store {
  --font-display: "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.layout-store .page-shell {
  background: #fff;
}

.layout-store .store-head {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 16px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(26, 35, 50, 0.06);
}

.layout-store .store-icon {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 18px;
  background: #e8f7ef;
  box-shadow: 0 1px 0 rgba(26, 35, 50, 0.06);
}

.layout-store .store-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout-store .store-meta h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.layout-store .store-meta p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.layout-store .store-meta .store-tags {
  margin-top: 8px;
}

.layout-store .store-get-group {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.layout-store .store-get {
  display: inline-flex;
  min-width: 64px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.layout-store .store-get-down {
  background: #2f7fd4;
}

.layout-store .hero-carousel {
  box-shadow: none;
}

.layout-store .carousel-track {
  height: clamp(230px, 56vw, 300px);
}

.layout-store .hero-caption {
  display: none;
}

.layout-store .benefit-board,
.layout-masthead .benefit-board {
  margin: 0;
  padding: 14px 16px 18px;
  border: 0;
  background: #fff;
}

.store-blocks .store-qq-block {
  margin-bottom: 22px;
}

.store-blocks .store-qq-card {
  padding: 12px 12px 13px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfefc 0%, #ffffff 100%);
  border: 1px solid #c8e6d5;
  box-shadow: 0 1px 2px rgba(34, 160, 107, 0.04);
}

.store-blocks .store-qq-panel {
  width: 100%;
}

.store-blocks .store-qq-tags {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 12px;
}

.store-blocks .store-qq-tags span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: clamp(10px, 2.6vw, 11px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.store-blocks .store-qq-tags span:nth-child(1) {
  background: #eef6ff;
  border-color: #d7e8fa;
  color: #3b7cb8;
}

.store-blocks .store-qq-tags span:nth-child(2) {
  background: #eefaf3;
  border-color: #d5eee0;
  color: #3d8f66;
}

.store-blocks .store-qq-tags span:nth-child(3) {
  background: #fff6eb;
  border-color: #f0e0c8;
  color: #b07a35;
}

.store-blocks .store-qq-tags span:nth-child(4) {
  background: #eef9fb;
  border-color: #d3eef3;
  color: #3d8a96;
}

.store-blocks .store-qq-tags span:nth-child(5) {
  background: #f3f6f8;
  border-color: #dde5eb;
  color: #5a6b7a;
}

.store-blocks .store-qq-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: clamp(8px, 2.5vw, 14px);
}

.store-blocks .store-qq-info {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
  min-width: 0;
}

.store-blocks .store-qq-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 clamp(10px, 2.5vw, 14px);
  border-radius: 9px;
  background: #eaf6ef;
  color: #1f8f5f;
  font-size: clamp(11px, 2.8vw, 12px);
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.store-blocks .store-qq-num {
  flex: 0 1 auto;
  min-width: 0;
  color: #1a2332;
  font-family: var(--font-display);
  font-size: clamp(16px, 4.2vw, 20px);
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.store-blocks .store-qq-copy {
  flex: 0 0 auto;
  min-width: clamp(76px, 22vw, 96px);
  min-height: 34px;
  padding: 0 clamp(10px, 2.5vw, 16px);
  border: 1px solid #2da56f;
  border-radius: 9px;
  background: transparent;
  color: #1f8f5f;
  font-size: clamp(12px, 3vw, 13px);
  font-weight: 500;
}

.store-blocks .store-qq-copy:hover {
  background: #22a06b;
  border-color: #22a06b;
  color: #fff;
}

.store-blocks .store-qq-copy:active {
  background: #1b7f55;
  border-color: #1b7f55;
}

.store-blocks .store-version {
  margin-bottom: 22px;
}

.store-blocks .store-version-body {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f9fb;
  border: 1px solid rgba(26, 35, 50, 0.06);
  color: #4a5a68;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}

.store-blocks .store-version-body span {
  font: inherit;
}

.more-games-footer {
  margin: 0;
  padding: 8px 16px 28px;
  text-align: center;
}

.more-games-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(34, 160, 107, 0.28);
  border-radius: 999px;
  background: #f4fbf7;
  color: #1f8f5f;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.more-games-link:hover {
  background: #22a06b;
  border-color: #22a06b;
  color: #fff;
}

.layout-float .more-games-footer {
  margin: 0 14px 20px;
  padding: 4px 0 22px;
  background: transparent;
}

.store-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.store-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}

.store-tag.is-tone-0 {
  background: #e8f7ef;
  border-color: #b7e2c8;
  color: #1f8f5f;
}

.store-tag.is-tone-1 {
  background: #eef3ff;
  border-color: #c7d5f8;
  color: #3b6fd4;
}

.store-tag.is-tone-2 {
  background: #fff4e8;
  border-color: #f3d2a8;
  color: #c27803;
}

.store-tag.is-tone-3 {
  background: #fdecef;
  border-color: #f3c2cd;
  color: #c2415f;
}

.store-tag.is-tone-4 {
  background: #f1eefc;
  border-color: #d4caf5;
  color: #6d4fc4;
}

.store-blocks .store-guide,
.store-blocks .store-welfare,
.store-blocks .store-register {
  margin-bottom: 22px;
}

.store-blocks .store-welfare {
  scroll-margin-top: 16px;
}

.store-blocks .store-register {
  margin-bottom: 28px;
  scroll-margin-top: 16px;
}

.store-blocks .store-welfare-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(26, 35, 50, 0.06);
  color: #2b3442;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.store-blocks .store-welfare-title::before {
  display: block;
  width: 3px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #4db887, #2f9a68);
  content: "";
}

.store-blocks .store-title-tip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff6e8;
  color: #b7791f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.store-blocks .store-welfare-copy {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #2da56f;
  border-radius: 8px;
  background: #fff;
  color: #1f8f5f;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.store-blocks .store-welfare-copy:hover {
  background: #22a06b;
  border-color: #22a06b;
  color: #fff;
}

.store-blocks .store-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-blocks .store-guide-steps a,
.store-blocks .store-guide-steps button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  padding: 10px 8px;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.store-blocks .store-guide-steps i {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.store-blocks .store-guide-steps .is-reg a {
  background: #eef6ff;
}

.store-blocks .store-guide-steps .is-reg i {
  background: #4b8fd4;
}

.store-blocks .store-guide-steps .is-down a {
  background: #eefaf3;
}

.store-blocks .store-guide-steps .is-down i {
  background: #3d9a6c;
}

.store-blocks .store-guide-steps .is-group button {
  background: #fff6eb;
}

.store-blocks .store-guide-steps .is-group i {
  background: #c48a3a;
}

.store-blocks .store-register-list {
  display: grid;
  gap: 10px;
}

.store-blocks .store-register .store-pill-btn {
  background: #fff;
  box-shadow: 0 2px 5px rgba(26, 35, 50, 0.04);
  font-weight: 600;
}

.store-blocks .store-register .store-pill-btn.is-btn-reg {
  color: #4a7ab8;
  box-shadow:
    inset 0 0 0 1px #b8d4f5,
    0 2px 4px rgba(59, 130, 246, 0.06);
}

.store-blocks .store-register .store-pill-btn.is-btn-down {
  color: #3d8f66;
  box-shadow:
    inset 0 0 0 1px #b8e8d0,
    0 2px 4px rgba(52, 211, 153, 0.06);
}

.store-blocks .store-register .store-pill-btn.is-btn-recharge-intro {
  color: #6366b8;
  box-shadow:
    inset 0 0 0 1px #c8ccf5,
    0 2px 4px rgba(129, 140, 248, 0.06);
}

.store-blocks .store-register .store-pill-btn.is-btn-recharge {
  color: #b07a35;
  box-shadow:
    inset 0 0 0 1px #f0d49a,
    0 2px 4px rgba(245, 158, 11, 0.06);
}

.store-blocks .store-register .store-pill-btn.is-btn-reg:hover {
  color: #3b6ea8;
  background: #f8fbff;
  box-shadow:
    inset 0 0 0 1px #93c5fd,
    0 3px 8px rgba(59, 130, 246, 0.08);
}

.store-blocks .store-register .store-pill-btn.is-btn-down:hover {
  color: #2f8058;
  background: #f7fcfa;
  box-shadow:
    inset 0 0 0 1px #86efac,
    0 3px 8px rgba(52, 211, 153, 0.08);
}

.store-blocks .store-register .store-pill-btn.is-btn-recharge-intro:hover {
  color: #5558a8;
  background: #f9f9ff;
  box-shadow:
    inset 0 0 0 1px #a5b4fc,
    0 3px 8px rgba(129, 140, 248, 0.08);
}

.store-blocks .store-register .store-pill-btn.is-btn-recharge:hover {
  color: #9a6830;
  background: #fffdf7;
  box-shadow:
    inset 0 0 0 1px #fbbf24,
    0 3px 8px rgba(245, 158, 11, 0.08);
}

.store-blocks .store-pill-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f3faf6 100%);
  box-shadow:
    inset 0 0 0 1px rgba(34, 160, 107, 0.14),
    0 2px 6px rgba(26, 35, 50, 0.05);
  color: #1a2332;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.store-blocks .store-pill-btn:hover {
  background: linear-gradient(180deg, #f7fcf9 0%, #eaf7f0 100%);
  box-shadow:
    inset 0 0 0 1px rgba(34, 160, 107, 0.28),
    0 4px 10px rgba(31, 143, 95, 0.1);
}

.store-blocks .store-pill-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.store-blocks .store-pill-text {
  flex: 1;
  text-align: center;
}

.store-blocks .store-pill-icon-reg {
  background-color: #e8f1fe;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6'/%3E%3Cpath d='M22 11h-6'/%3E%3C/svg%3E");
}

.store-blocks .store-pill-icon-down {
  background-color: #eaf6ef;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8f5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 11 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
}

.store-blocks .store-pill-icon-gift {
  background-color: #fde8e8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e35d5d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='13' rx='2'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 1 1 0-5C10 3 12 8 12 8s2-5 4.5-5a2.5 2.5 0 1 1 0 5'/%3E%3C/svg%3E");
}

.store-blocks .store-pill-icon-faq {
  background-color: #eef3ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b7be5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h9a2 2 0 0 1 2 2v11l-4-2-4 2-4-2-4 2V8a2 2 0 0 1 2-2z'/%3E%3Cpath d='M9 10h6'/%3E%3Cpath d='M9 14h4'/%3E%3C/svg%3E");
}

.store-blocks .store-pill-icon-pay {
  background-color: #fff4e8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M6 15h2'/%3E%3C/svg%3E");
}

/* ========== 更多游戏页 ========== */
.layout-games .page-shell {
  background: #fff;
}

.layout-games .games-brand {
  position: relative;
  overflow: hidden;
  padding: 16px;
  background:
    radial-gradient(circle at 92% 18%, rgba(47, 127, 212, 0.16), transparent 34%),
    radial-gradient(circle at 12% 80%, rgba(34, 160, 107, 0.14), transparent 36%),
    linear-gradient(135deg, #eefaf3 0%, #f7fbff 48%, #eef7f2 100%);
  border-bottom: 1px solid rgba(34, 160, 107, 0.14);
}

.layout-games .games-brand-mark {
  position: absolute;
  right: -18px;
  top: -22px;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(34, 160, 107, 0.22), rgba(47, 127, 212, 0.16));
  transform: rotate(18deg);
  pointer-events: none;
}

.layout-games .games-brand-mark::after {
  position: absolute;
  left: 22px;
  bottom: -34px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(194, 120, 3, 0.16);
  content: "";
  transform: rotate(-12deg);
}

.layout-games .games-brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.layout-games .games-brand-logo {
  display: block;
  width: 288px;
  max-width: min(288px, 60vw);
  max-height: none;
  object-fit: contain;
  flex: 0 0 auto;
}

.layout-games .games-brand-slogan {
  display: grid;
  justify-items: end;
  gap: 4px;
  margin: 0;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(34, 160, 107, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.layout-games .games-brand-slogan-text {
  color: #3d8f6a;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.layout-games .games-brand-slogan-site {
  color: #1f8f5f;
  font-family: "Bahnschrift", "Segoe UI", "PingFang SC", sans-serif;
  font-size: clamp(15px, 4.2vw, 18px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  background: linear-gradient(180deg, transparent 64%, rgba(34, 160, 107, 0.22) 64%);
}

.layout-games .games-board {
  margin: 0;
  padding: 14px 16px 22px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.layout-games .games-filter-block {
  margin-bottom: 22px;
}

.layout-games .games-filter-card {
  padding: 12px;
  border: 1px solid #c8e6d5;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfefc 0%, #ffffff 100%);
  box-shadow: 0 1px 2px rgba(34, 160, 107, 0.04);
}

.layout-games .games-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.layout-games .games-filter-tags button {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #d7e8de;
  border-radius: 999px;
  background: #f4faf6;
  color: #4a6570;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.layout-games .games-filter-tags button.is-active,
.layout-games .games-filter-tags button[aria-pressed="true"] {
  border-color: #22a06b;
  background: #22a06b;
  color: #fff;
}

.layout-games .games-list {
  display: grid;
  gap: 10px;
}

.layout-games .games-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: 14px;
  background: #f7f9fb;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 120ms linear, border-color 120ms linear;
}

/* 仅支持真实悬停的设备（鼠标/触控板）才启用 hover */
@media (hover: hover) and (pointer: fine) {
  .layout-games .games-item:hover {
    border-color: rgba(34, 160, 107, 0.28);
    background: #eaf7f0;
  }

  .layout-games .games-item:hover .games-enter {
    background: #22a06b;
    border-color: #22a06b;
    color: #fff;
  }
}

/* 手机触摸按下时的即时反馈 */
.layout-games .games-item:active {
  border-color: rgba(34, 160, 107, 0.28);
  background: #eaf7f0;
}

.layout-games .games-item:active .games-enter {
  background: #22a06b;
  border-color: #22a06b;
  color: #fff;
}

.layout-games .games-cover {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #e8f7ef;
}

.layout-games .games-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout-games .games-cover em {
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.layout-games .games-cover.is-tone-0 {
  background: #e8f7ef;
  color: #1f8f5f;
}

.layout-games .games-cover.is-tone-1 {
  background: #eef3ff;
  color: #3b6fd4;
}

.layout-games .games-cover.is-tone-2 {
  background: #fff4e8;
  color: #c27803;
}

.layout-games .games-cover.is-tone-3 {
  background: #fdecef;
  color: #c2415f;
}

.layout-games .games-info {
  min-width: 0;
}

.layout-games .games-info b {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.layout-games .games-info .store-tags {
  margin-bottom: 0;
}

.layout-games .games-enter {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #2da56f;
  border-radius: 8px;
  background: #fff;
  color: #1f8f5f;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}

.layout-games .games-legal {
  margin: 0;
  padding: 8px 20px 28px;
  text-align: center;
}

.layout-games .games-legal p {
  margin: 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.6;
}

.layout-games .games-empty {
  padding: 22px 14px;
  border: 1px dashed rgba(26, 35, 50, 0.14);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.layout-games .games-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
}

.layout-games .games-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.layout-store .store-float-nav,
.layout-masthead .store-float-nav,
.layout-float .store-float-nav,
.layout-games .store-float-nav {
  position: fixed;
  right: max(10px, calc(50% - 302px));
  bottom: 28px;
  z-index: 40;
  display: grid;
  gap: 14px;
}

.layout-store .store-float-item,
.layout-masthead .store-float-item,
.layout-float .store-float-item,
.layout-games .store-float-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4a5565;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.layout-store .store-float-label,
.layout-masthead .store-float-label,
.layout-float .store-float-label,
.layout-games .store-float-label {
  display: block;
  white-space: nowrap;
}

.layout-store .store-float-icon,
.layout-masthead .store-float-icon,
.layout-float .store-float-icon,
.layout-games .store-float-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background-color: #1f8f5f;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(31, 143, 95, 0.28);
}

.layout-store .store-float-icon-cs,
.layout-masthead .store-float-icon-cs,
.layout-float .store-float-icon-cs,
.layout-games .store-float-icon-cs {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8.5 8.5 0 0 1-11.8 7.8L4 21l1.3-4.2A8.5 8.5 0 1 1 21 12z'/%3E%3Cpath d='M8.5 12h.01'/%3E%3Cpath d='M12 12h.01'/%3E%3Cpath d='M15.5 12h.01'/%3E%3C/svg%3E");
}

.layout-store .store-float-item:hover .store-float-icon,
.layout-masthead .store-float-item:hover .store-float-icon,
.layout-float .store-float-item:hover .store-float-icon,
.layout-games .store-float-item:hover .store-float-icon {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.store-blocks .store-welfare-grid {
  display: grid;
  gap: 10px;
}

.store-blocks .store-welfare-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: 14px;
  background: #f7f9fb;
}

.store-blocks .store-welfare-card em {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: rgba(34, 160, 107, 0.12);
  color: var(--primary);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.store-blocks .store-welfare-card b {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.store-blocks .store-welfare-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.layout-store .legal-footer {
  display: none;
}

/* ========== D · 浮层卡 ========== */
.layout-float {
  --font-display: "Segoe UI Variable Display", "Bahnschrift", "PingFang SC", sans-serif;
}

.layout-float .page-shell {
  background: #e8eef4;
}

.layout-float .hero-carousel {
  position: relative;
  z-index: 1;
}

.layout-float .carousel-track {
  height: clamp(260px, 62vw, 340px);
}

.layout-float .hero-caption {
  display: none;
}

.layout-float .float-sheet {
  position: relative;
  z-index: 2;
  margin: -48px 14px 16px;
  padding: 18px 16px 10px;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -8px 30px rgba(26, 35, 50, 0.12);
}

.layout-float .float-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26, 35, 50, 0.08);
  color: inherit;
}

.layout-float .float-brand img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 14px;
  object-fit: cover;
  background: #e8f7ef;
}

.layout-float .float-brand-main {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.layout-float .float-brand-top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.layout-float .float-brand strong {
  display: block;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.layout-float .float-brand-top .store-tags {
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.layout-float .float-brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.store-blocks .store-welfare-card.is-no-copy {
  grid-template-columns: auto 1fr;
}

.layout-float .benefit-board {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

/* Hub previews */
.preview-b { background: linear-gradient(180deg, #fff 0 35%, #e8f7ef 35% 55%, #cfe3d8 55%); }
.preview-c { background: linear-gradient(90deg, #e8f7ef 0 28%, #fff 28%); }
.preview-d { background: linear-gradient(180deg, #94a3b8 0 50%, #fff 50%); }

.theme-hub {
  --outer-bg: #dce3ea;
  --page-bg: #f4f7fb;
  --primary: #22a06b;
  --primary-rgb: 34, 160, 107;
  --text: #1a2332;
  --muted: #64748b;
  --font-display: "Segoe UI Variable Display", "Bahnschrift", "PingFang SC", sans-serif;
}

.theme-hub .brand-copy strong { color: var(--text); }
.theme-hub .hub-link { background: var(--primary); }
