/* ========== 素青配色（三套排版共用） ========== */
.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;
}

.game-title-line,
.games-title-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.layout-masthead .game-title-line {
  justify-content: center;
}

.game-release-badge {
  display: inline-flex;
  min-width: 0;
  max-width: min(132px, 42vw);
  min-height: 27px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 4px 11px;
  overflow: hidden;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  background: #f1f3ff;
  color: #4338ca;
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-release-badge::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6366f1;
  content: "";
}

.game-release-badge > span,
.theme-download .dl-badge > span,
.layout-download-landing .file-badge > span,
.theme-sky .sky-badge > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.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 .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 minmax(0, 1fr);
  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 .hero-carousel {
  box-shadow: none;
}

.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-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  background: #f6f8f9;
  color: #667386;
  font-size: 11px;
}

.store-blocks .store-qq-perks span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.store-blocks .store-qq-perks span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8ecab0;
  content: "";
}

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

.store-blocks .store-channel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 11px 12px;
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: 14px;
  background: #fff;
}

.store-blocks .store-channel-row.is-qq {
  border-color: #d9e9fa;
  background: linear-gradient(90deg, #f8fbff, #fff 56%);
}

.store-blocks .store-channel-row.is-wechat {
  border-color: #d7ecdf;
  background: linear-gradient(90deg, #f7fdf9, #fff 56%);
}

.store-blocks .store-channel-row.is-wechat-service {
  border-color: #ccebd8;
  background: linear-gradient(90deg, #f3fcf6, #fff 56%);
}

.store-blocks .store-channel-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.store-blocks .store-channel-icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.store-blocks .is-qq .store-channel-icon {
  background: #eef6ff;
  color: #3b7fd4;
}

.store-blocks .is-wechat .store-channel-icon {
  background: #eaf8f1;
  color: #0f7c52;
}

.store-blocks .is-wechat-service .store-channel-icon {
  width: auto;
  min-width: 42px;
  padding: 0 7px;
  background: #e4f3ec;
  box-shadow: none;
  color: #176b50;
}

.store-blocks .store-channel-copy {
  min-width: 0;
}

.store-blocks .store-channel-copy b,
.store-blocks .store-channel-copy span {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.store-blocks .store-channel-copy b {
  margin-bottom: 4px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.store-blocks .store-channel-copy span {
  color: #7a8797;
  font-size: 11px;
  line-height: 1.4;
}

.store-blocks .store-channel-action {
  min-width: 86px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #169b68;
  border-radius: 10px;
  background: #169b68;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.store-blocks .store-channel-action.is-secondary {
  border-color: #bdd6ee;
  background: #fff;
  color: #3576b4;
}

.store-blocks .is-wechat-service .store-channel-action.is-secondary {
  border-color: #9ddbb9;
  background: #f7fdf9;
  color: #078c4a;
}

.store-blocks .store-channel-action:hover {
  border-color: #0f7c52;
  background: #0f7c52;
  color: #fff;
  transform: translateY(-1px);
}

.template-page.has-qr-modal {
  overflow: hidden;
}

.wechat-qr-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(4px);
  overscroll-behavior: contain;
}

.wechat-qr-modal[hidden] {
  display: none;
}

.wechat-qr-dialog {
  position: relative;
  width: min(100%, 360px);
  max-height: calc(100dvh - 32px);
  padding: 20px 18px 18px;
  overflow-y: auto;
  border: 1px solid rgba(34, 160, 107, 0.22);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.wechat-qr-head {
  position: relative;
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 38px;
}

.wechat-qr-head > strong {
  color: #1a2332;
  font-size: 20px;
  line-height: 1.3;
}

.wechat-qr-tip {
  margin: 7px auto 16px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.wechat-qr-image {
  display: flex;
  width: min(82vw, 300px);
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.wechat-qr-image > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(55dvh, 360px);
  object-fit: contain;
}

.wechat-qr-save {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  border: 1px solid #1f8f5f;
  border-radius: 11px;
  background: #22a06b;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.wechat-qr-save:hover {
  border-color: #1b8a5c;
  background: #1b8a5c;
}

.wechat-qr-save:active {
  border-color: #176f4b;
  background: #176f4b;
}

.wechat-qr-save[aria-busy="true"] {
  pointer-events: none;
  opacity: 0.65;
}

.wechat-qr-help {
  margin: 9px 0 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.4;
}

.wechat-qr-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  font-size: 26px;
  line-height: 1;
}

.wechat-qr-close:hover {
  background: #eef7f2;
  color: #18794e;
}

.template-page.has-download-register-modal,
.template-page.has-register-invite-modal {
  overflow: hidden;
}

.download-register-modal {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(4px);
  overscroll-behavior: contain;
}

.download-register-modal[hidden] {
  display: none;
}

.download-register-dialog {
  width: min(100%, 326px);
  max-height: calc(100dvh - 32px);
  padding: 23px 21px 20px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
  text-align: center;
  animation: download-register-in 220ms ease-out both;
}

.download-register-dialog.is-nudging {
  animation: download-register-nudge 260ms ease;
}

.download-register-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 13px;
  place-items: center;
  border-radius: 50%;
  background: #ecf8f2;
  color: #18794e;
}

.download-register-icon svg {
  width: 23px;
  height: 23px;
}

.download-register-dialog h2 {
  margin: 0;
  color: #1f2937;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

.download-register-message {
  margin: 10px 0 17px;
  padding: 11px 12px;
  border: 1px solid #f3d09d;
  border-radius: 11px;
  background: #fff8ec;
  color: #a85f00;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.download-register-message span {
  display: block;
}

.download-register-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.download-register-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #1f8f5f;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.download-register-action.is-primary {
  background: #1f8f5f;
  color: #fff;
}

.download-register-action.is-secondary {
  background: #fff;
  color: #18794e;
}

.download-register-action:hover {
  border-color: #176f4b;
  background: #176f4b;
  color: #fff;
}

.download-register-action:focus-visible {
  outline: 3px solid rgba(31, 143, 95, 0.24);
  outline-offset: 2px;
}

.download-register-countdown {
  margin: 10px 0 0;
  color: #7c8795;
  font-size: 11px;
  line-height: 1.55;
}

.download-register-countdown strong {
  color: #c26d00;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.register-invite-dialog {
  position: relative;
  max-width: 430px;
  padding-top: 28px;
}

.register-invite-icon {
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #eef4ff;
  color: #2563eb;
}

.register-invite-icon svg {
  width: 25px;
  height: 25px;
}

.register-invite-close {
  position: absolute;
  top: 11px;
  right: 11px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font: inherit;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.register-invite-close:hover {
  background: #e2e8f0;
  color: #334155;
}

.register-invite-close:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .2);
  outline-offset: 2px;
}

.register-invite-dialog .download-register-message {
  margin-top: 4px;
}

.register-invite-dialog .download-register-actions {
  grid-template-columns: 1fr;
}

.register-invite-dialog .download-register-action {
  font-weight: 500;
}

.register-invite-code {
  display: block;
  margin: 18px 0 22px;
  padding: 14px 18px;
  overflow-wrap: anywhere;
  border: 1px dashed rgba(37, 99, 235, .38);
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: clamp(20px, 5vw, 28px);
  letter-spacing: .06em;
  text-align: center;
}

.register-invite-code.is-labeled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: normal;
}

.register-invite-code.is-labeled span {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.register-invite-code.is-labeled strong {
  color: #1d4ed8;
  font-size: clamp(20px, 5vw, 28px);
  letter-spacing: .06em;
}

@keyframes download-register-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes download-register-nudge {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-5px); }
  70% { transform: translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .download-register-dialog,
  .download-register-dialog.is-nudging {
    animation: none;
  }
}

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

.store-blocks .store-version-body {
  position: relative;
  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-copy {
  position: relative;
  display: block;
}

.store-blocks .store-version-copy.is-collapsible:not(.is-expanded) {
  max-height: 3.4em;
  overflow: hidden;
}

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

.store-blocks .store-version-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin: 8px 0 0;
  padding: 1px 8px;
  border: 1px solid rgba(34, 160, 107, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #168a5b;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}

.store-blocks .store-version-toggle:hover,
.store-blocks .store-version-toggle:focus-visible {
  border-color: rgba(34, 160, 107, 0.55);
  background: #eef9f4;
  color: #126f4a;
}

.store-blocks .store-version-toggle[hidden] {
  display: none;
}

.store-blocks .store-version-toggle[aria-expanded="false"] {
  position: absolute;
  right: 14px;
  bottom: 11px;
  margin: 0;
  box-shadow: -10px 0 10px 3px #f7f9fb;
}

.store-blocks .store-version-toggle[aria-expanded="true"] {
  display: flex;
  width: max-content;
  margin-left: auto;
  box-shadow: none;
}

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

.is-game-closed .page-shell {
  padding-bottom: 86px;
}

.template-page .more-games-footer.is-closed-fixed {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, var(--shell-width));
  margin: 0 auto;
  padding: 12px 16px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(26, 35, 50, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -10px 28px rgba(26, 35, 50, 0.12);
  backdrop-filter: blur(12px);
}

.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 4px;
  padding: 4px 0;
  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;
}

.template-page .store-tag {
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 500;
}

.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-version > .store-welfare-title {
  font-size: 14px;
}

.store-blocks .store-ui-title {
  gap: 7px 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.store-blocks .store-ui-title::before {
  width: 4px;
  height: 14px;
}

.store-blocks .store-title-tip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: #b7791f;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}

.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-action-list {
  overflow: hidden;
  border: 1px solid #e2e7eb;
  border-radius: 15px;
  background: #fff;
}

.store-blocks .store-action-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 61px;
  padding: 9px 12px;
  border: 0;
  background: #fff;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.store-blocks .store-action-item + .store-action-item {
  border-top: 1px solid #edf0f3;
}

.store-blocks .store-action-item:hover {
  background: #fafcfc;
  transform: translateY(-1px);
}

.store-blocks .store-action-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background-color: #f1f4f6;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.store-blocks .is-register .store-action-icon {
  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 .is-download .store-action-icon {
  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 .is-intro .store-action-icon {
  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 .is-recharge .store-action-icon {
  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");
}

.store-blocks .is-faq .store-action-icon {
  background-color: #eef6ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232567eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 2-3 4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

.store-blocks .is-custom-1 .store-action-icon {
  background-color: #ede9fe;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.1.1l2-2A5 5 0 0 0 12 4l-1.1 1.1'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.1-.1l-2 2A5 5 0 0 0 12 20l1.1-1.1'/%3E%3C/svg%3E");
}

.store-blocks .is-custom-2 .store-action-icon {
  background-color: #ffe4e9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9z'/%3E%3C/svg%3E");
}

.store-blocks .is-custom-3 .store-action-icon {
  background-color: #cffafe;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230891b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15 9-2 4-4 2 2-4z'/%3E%3C/svg%3E");
}

.store-blocks .store-action-copy {
  min-width: 0;
}

.store-blocks .store-action-copy b,
.store-blocks .store-action-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-blocks .store-action-copy b {
  color: #354155;
  font-size: 13px;
  font-weight: 700;
}

.store-blocks .store-action-copy small {
  margin-top: 3px;
  color: #8994a2;
  font-size: 11px;
  font-weight: 400;
}

.store-blocks .is-register .store-action-copy b {
  color: #1d4ed8;
}

.store-blocks .is-register .store-action-copy small {
  color: #3b82f6;
}

.store-blocks .is-download .store-action-copy b {
  color: #15803d;
}

.store-blocks .is-download .store-action-copy small {
  color: #22a06b;
}

.store-blocks .is-recharge .store-action-copy b {
  color: #c2410c;
}

.store-blocks .is-recharge .store-action-copy small {
  color: #d97706;
}

.store-blocks .store-action-arrow {
  color: #a0a9b5;
  font-size: 17px;
}

.store-blocks .store-action-item.is-unavailable {
  filter: saturate(0.5);
  opacity: 0.72;
}

.store-blocks .store-action-item.is-register-offline:not([data-register-invite]) {
  cursor: default;
}

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

.layout-games .games-brand,
.layout-download-portal .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,
.layout-download-portal .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,
.layout-download-portal .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,
.layout-download-portal .games-brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.layout-games .games-brand-slogan,
.layout-download-portal .games-brand-slogan {
  margin: 0;
  min-width: 0;
  padding: 8px 11px;
  border: 1px solid rgba(34, 160, 107, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.75);
  color: #3c8b69;
  text-align: right;
  font-size: 11px;
  line-height: 1.4;
}

.layout-games .games-brand-slogan-text,
.layout-download-portal .games-brand-slogan-text {
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: normal;
  line-height: inherit;
}

.layout-games .games-brand-slogan-site,
.layout-download-portal .games-brand-slogan-site {
  display: block;
  margin-top: 2px;
  color: #0f7650;
  font-size: 16px;
}

.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-title-row {
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 6px;
}

.layout-games .games-info b {
  display: block;
  min-width: 0;
  flex: 0 1 auto;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.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;
}

.game-page-legal {
  padding: 18px 22px 24px;
  color: var(--muted);
  text-align: center;
}

.more-games-footer + .game-page-legal {
  padding-top: 4px;
}

.game-page-legal p {
  max-width: 36em;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.7;
}

.is-game-closed .game-page-legal {
  padding-bottom: 92px;
}

.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-sky .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-sky .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-sky .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-sky .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-sky .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-sky .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-reward-list {
  display: grid;
  gap: 9px;
}

.store-blocks .store-reward-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 78px;
  padding: 11px 12px;
  border: 1px solid #e2e8e5;
  border-radius: 15px;
  background: linear-gradient(135deg, #f8fcfa, #fff 58%);
}

.store-blocks .store-reward-card:nth-child(2n) {
  border-color: #dce6f2;
  background: linear-gradient(135deg, #f8fbff, #fff 58%);
}

.store-blocks .store-reward-card:nth-child(3n) {
  border-color: #e3def1;
  background: linear-gradient(135deg, #fbf9ff, #fff 58%);
}

.store-blocks .store-reward-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background-color: #fff0ef;
  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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v8H4v-8'/%3E%3Cpath d='M2 7h20v5H2z'/%3E%3Cpath d='M12 7v13'/%3E%3Cpath d='M12 7H7.5a2.5 2.5 0 1 1 2.5-2.5C10 6.2 12 7 12 7Z'/%3E%3Cpath d='M12 7h4.5A2.5 2.5 0 1 0 14 4.5C14 6.2 12 7 12 7Z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 23px 23px;
}

.store-blocks .store-reward-copy {
  min-width: 0;
}

.store-blocks .store-reward-copy b {
  display: block;
}

.store-blocks .store-reward-copy b {
  margin-bottom: 4px;
  color: #354155;
  font-size: 13px;
  font-weight: 700;
}

.store-blocks .store-reward-description {
  position: relative;
  min-width: 0;
}

.store-blocks .store-reward-description-copy {
  display: block;
  overflow: hidden;
  max-height: 3em;
  color: #7f8a98;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.store-blocks .store-reward-description-copy.is-collapsible:not(.is-expanded) {
  padding-right: 42px;
}

.store-blocks .store-reward-description-copy.is-expanded {
  max-height: none;
  overflow: visible;
}

.store-blocks .store-reward-description .store-reward-toggle[aria-expanded="false"] {
  right: 0;
  bottom: 0;
  min-height: 19px;
  padding: 0 6px;
  background: #fff;
  font-size: 10px;
  box-shadow: -8px 0 8px 2px #fff;
}

.store-blocks .store-reward-description .store-reward-toggle[aria-expanded="true"] {
  min-height: 19px;
  margin-top: 5px;
  padding: 0 6px;
  font-size: 10px;
}

.store-blocks .store-reward-action {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.store-blocks .store-reward-code {
  overflow: hidden;
  max-width: 100px;
  color: #8994a2;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-blocks .store-reward-copy-button {
  min-width: 68px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #20a66a;
  border-radius: 10px;
  background: #fff;
  color: #168653;
  font-size: 12px;
  font-weight: 700;
}

.store-blocks .store-reward-copy-button:hover {
  background: #effaf4;
}

.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 .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 {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 92px;
  margin-bottom: 16px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid #dcebe3;
  border-radius: 17px;
  background:
    radial-gradient(circle at 94% 7%, rgba(61, 179, 123, 0.15), transparent 32%),
    linear-gradient(135deg, #f5fbf7, #fff 64%);
  color: inherit;
}

.layout-float .float-brand::after {
  position: absolute;
  width: 70px;
  height: 70px;
  right: -28px;
  bottom: -38px;
  border: 12px solid rgba(59, 170, 117, 0.06);
  border-radius: 50%;
  content: "";
}

.layout-float .float-brand img {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  border-radius: 17px;
  object-fit: cover;
  background: #e8f7ef;
  box-shadow: 0 9px 20px rgba(27, 48, 62, 0.18);
}

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

.layout-float .float-brand-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.layout-float .float-brand strong {
  display: -webkit-box;
  overflow: hidden;
  min-width: 0;
  flex: 1;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.layout-float .float-brand .game-release-badge {
  min-height: 25px;
  padding: 3px 8px;
  font-size: 10px;
}

.layout-float .float-brand-main > .store-tags {
  justify-content: flex-start;
}

.store-blocks .store-reward-card.is-no-copy {
  grid-template-columns: 44px minmax(0, 1fr);
}

@media (max-width: 460px) {
  .store-blocks .store-channel-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    padding: 9px;
  }

  .store-blocks .store-channel-main {
    align-items: flex-start;
  }

  .store-blocks .store-channel-icon {
    width: 34px;
    height: 34px;
  }

  .store-blocks .store-channel-action {
    width: auto;
    min-width: 74px;
    padding: 0 9px;
    justify-self: end;
  }

  .store-blocks .store-reward-card {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  .store-blocks .store-reward-card.is-no-copy {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .store-blocks .store-reward-icon {
    width: 40px;
    height: 40px;
  }

  .store-blocks .store-reward-code {
    display: none;
  }
}

.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); }

/* ========== Download site (portal + landing) ========== */
.theme-download {
  --ink: #243447;
  --muted: #6b7c8f;
  --line: rgba(74, 122, 168, 0.16);
  --paper: #f7fbff;
  --panel: #ffffff;
  --sky: #4aa3ff;
  --sky-deep: #2f86e8;
  --sky-soft: #eaf4ff;
  --mint: #3ec9a7;
  --mint-deep: #22b08e;
  --yyb-deep: #2f86e8;
  --canvas: #edf4fb;
  --font-display: "Bahnschrift", "Segoe UI Variable Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font: 400 15px/1.55 var(--font-body);
  background:
    linear-gradient(180deg, rgba(74, 163, 255, 0.16), transparent 260px),
    radial-gradient(circle at 90% 6%, rgba(62, 201, 167, 0.14), transparent 30%),
    var(--canvas);
  min-height: 100%;
}

.theme-download .page-shell {
  min-height: 100dvh;
  background: linear-gradient(180deg, #eef6ff 0%, #f8fcff 180px, var(--paper) 100%);
}

.theme-download a { color: inherit; text-decoration: none; }
.theme-download button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.layout-download-portal main {
  padding: 14px 14px 28px;
  display: grid;
  gap: 14px;
}

.theme-download .dl-section-head {
  margin-bottom: 10px;
  padding: 0 2px;
}
.theme-download .dl-section-head h2 {
  margin: 0;
  font: 700 15px/1.2 var(--font-display);
}

.theme-download .dl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: download-rise 0.45s ease 0.04s both;
}
.theme-download .dl-filters button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.theme-download .dl-filters button[aria-pressed="true"] {
  border-color: rgba(74, 163, 255, 0.35);
  background: var(--sky-soft);
  color: var(--sky-deep);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(74, 163, 255, 0.12);
}

.theme-download .dl-list {
  display: grid;
  gap: 10px;
  animation: download-rise 0.5s ease 0.08s both;
}
.theme-download .dl-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.theme-download .dl-row:hover {
  border-color: rgba(74, 163, 255, 0.32);
  box-shadow: 0 8px 20px rgba(74, 163, 255, 0.1);
}
.theme-download .dl-row:active { transform: scale(0.992); }

.theme-download .dl-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 20px/1 var(--font-display);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, #79c0ff, #4aa3ff);
}
.theme-download .dl-icon.is-tone-1 { background: linear-gradient(145deg, #8fd0ff, #5aa8f0); }
.theme-download .dl-icon.is-tone-2 { background: linear-gradient(145deg, #7fe0c4, #3ec9a7); }
.theme-download .dl-icon.is-tone-3 { background: linear-gradient(145deg, #9fd8ff, #62b4ef); }
.theme-download .dl-icon.is-tone-4 { background: linear-gradient(145deg, #86d4b8, #3bb89a); }
.theme-download .dl-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-download .dl-info { min-width: 0; }
.theme-download .dl-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.theme-download .dl-title b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 15.5px/1.25 var(--font-display);
}
.theme-download .dl-badge {
  display: inline-flex;
  min-width: 0;
  max-width: min(124px, 38vw);
  align-items: center;
  min-height: 25px;
  gap: 6px;
  flex: 0 0 auto;
  padding: 4px 9px;
  overflow: hidden;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  background: #f1f3ff;
  color: #4338ca;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.theme-download .dl-badge::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6366f1;
  content: "";
}
.theme-download .dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.theme-download .dl-meta span { white-space: nowrap; }
.theme-download .dl-action {
  display: grid;
  place-items: center;
  min-width: 64px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--sky-deep);
  font-size: 12px;
  font-weight: 750;
}

.theme-download .dl-empty {
  padding: 28px 16px;
  border: 1px dashed rgba(74, 163, 255, 0.28);
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
}
.theme-download .dl-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.theme-download .dl-legal {
  margin-top: 4px;
  padding: 0 16px 20px;
  color: #8a97a6;
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}
.theme-download .dl-legal p { margin: 0; }

.layout-download-portal .store-float-nav {
  position: fixed;
  right: max(10px, calc(50% - 302px));
  bottom: 28px;
  z-index: 40;
  display: grid;
  gap: 14px;
}
.layout-download-portal .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;
  cursor: pointer;
}
.layout-download-portal .store-float-label { display: block; white-space: nowrap; }
.layout-download-portal .store-float-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background-color: #2f86e8;
  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(47, 134, 232, 0.28);
}
.layout-download-portal .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");
}

/* Download landing */
.layout-download-landing .file-head {
  padding: 20px 18px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f3f9ff);
  animation: download-rise 0.4s ease both;
}
.layout-download-landing .file-brand {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
}
.layout-download-landing .file-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(145deg, #79c0ff, #4aa3ff 55%, #3ec9a7);
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  font: 700 30px/1 var(--font-display);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 10px 22px rgba(74, 163, 255, 0.28);
}
.layout-download-landing .file-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layout-download-landing .file-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.layout-download-landing .file-title-row h1 {
  margin: 0;
  font: 700 24px/1.15 var(--font-display);
}
.layout-download-landing .file-badge {
  display: inline-flex;
  min-width: 0;
  max-width: min(132px, 42vw);
  align-items: center;
  min-height: 27px;
  gap: 7px;
  padding: 4px 11px;
  overflow: hidden;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  background: #f1f3ff;
  color: #4338ca;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.layout-download-landing .file-badge::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6366f1;
  content: "";
}
.layout-download-landing .file-sub {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.layout-download-landing .file-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.layout-download-landing .file-specs div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}
.layout-download-landing .file-specs span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.layout-download-landing .file-specs b {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 750;
}
.layout-download-landing .file-download { margin-top: 14px; }
.layout-download-landing .file-download a,
.layout-download-landing .file-download button.is-primary {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  background: linear-gradient(180deg, #67b6ff, var(--sky-deep));
  color: #fff;
  font-size: 16px;
  font-weight: 780;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(74, 163, 255, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.layout-download-landing .file-download a:hover { filter: brightness(1.04); }
.layout-download-landing .file-download a:active { transform: scale(0.985); }
.layout-download-landing .file-download button.is-unavailable {
  opacity: 0.72;
  cursor: not-allowed;
  background: linear-gradient(180deg, #9bb4cc, #7a93ab);
  box-shadow: none;
}

.layout-download-landing main {
  padding: 14px 14px 20px;
  display: grid;
  gap: 12px;
}
.layout-download-landing .block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  animation: download-rise 0.45s ease both;
}
.layout-download-landing .block:nth-child(2) { animation-delay: 0.05s; }
.layout-download-landing .block:nth-child(3) { animation-delay: 0.1s; }
.layout-download-landing .block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.layout-download-landing .block-head h2 {
  margin: 0;
  font: 700 15px/1.2 var(--font-display);
}

.layout-download-landing .shot {
  width: 100%;
  aspect-ratio: 1248 / 520;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 42%),
    linear-gradient(160deg, #9fd0ff, #6bb4ff 55%, #4aa3ff);
}
.layout-download-landing .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout-download-landing .intro-block .block-head { margin-bottom: 10px; }
.layout-download-landing .intro-copy {
  margin: 0;
  color: #4a5d70;
  font-size: 14.5px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  text-align: justify;
}
.layout-download-landing .intro-copy strong {
  color: var(--sky-deep);
  font-size: 1.05em;
  font-weight: 780;
}

.layout-download-landing .flow {
  position: relative;
  display: grid;
  gap: 0;
  padding: 4px 0 2px;
}
.layout-download-landing .flow::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, rgba(74, 163, 255, 0.55), rgba(62, 201, 167, 0.28));
  border-radius: 999px;
}
.layout-download-landing .flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}
.layout-download-landing .flow-index {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #79c0ff, var(--yyb-deep));
  color: #fff;
  font: 750 15px/1 var(--font-display);
  box-shadow: 0 8px 16px rgba(74, 163, 255, 0.24);
  z-index: 1;
}
.layout-download-landing .flow-step:nth-child(2) .flow-index {
  background: linear-gradient(160deg, #6ed4ef, #3aa8d8);
  box-shadow: 0 8px 16px rgba(58, 168, 216, 0.22);
}
.layout-download-landing .flow-step:nth-child(3) .flow-index {
  background: linear-gradient(160deg, #6fe0c0, var(--mint-deep));
  box-shadow: 0 8px 16px rgba(62, 201, 167, 0.22);
}
.layout-download-landing .flow-copy {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f5faff);
}
.layout-download-landing .flow-copy b {
  display: block;
  font-size: 14px;
  font-weight: 750;
}
.layout-download-landing .flow-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.layout-download-landing .more-bar {
  padding: 0 14px 14px;
}
.layout-download-landing .more-bar a {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(74, 163, 255, 0.22);
  background: #fff;
  color: var(--sky-deep);
  font-weight: 700;
}

@keyframes download-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .layout-download-landing .file-head {
    padding: 18px 14px 16px;
  }
  .layout-download-portal .store-float-nav {
    right: 10px;
  }
}

/* ========== Sky promo template (蓝天风格) ========== */
.theme-sky {
  --ink: #243447;
  --muted: #6b7c8f;
  --line: rgba(74, 122, 168, 0.16);
  --paper: #f7fbff;
  --panel: #ffffff;
  --sky: #4aa3ff;
  --sky-deep: #2f86e8;
  --sky-soft: #eaf4ff;
  --mint: #3ec9a7;
  --mint-deep: #22b08e;
  --mint-soft: #eafaf4;
  --canvas: #edf4fb;
  --font-display: "Bahnschrift", "Segoe UI Variable Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font: 400 15px/1.55 var(--font-body);
  background:
    linear-gradient(180deg, rgba(74, 163, 255, 0.16), transparent 260px),
    radial-gradient(circle at 90% 6%, rgba(62, 201, 167, 0.14), transparent 30%),
    var(--canvas);
  min-height: 100%;
}

.theme-sky .page-shell {
  min-height: 100dvh;
  background: linear-gradient(180deg, #eef6ff 0%, #f8fcff 180px, var(--paper) 100%);
  position: relative;
}

.theme-sky a { color: inherit; text-decoration: none; }
.theme-sky button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.theme-sky .sky-head {
  padding: 20px 18px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f3f9ff);
  animation: sky-rise 0.4s ease both;
}

.theme-sky .sky-brand {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
}

.theme-sky .sky-brand-main,
.theme-sky .sky-title-row,
.theme-sky .sky-tag-row {
  min-width: 0;
  max-width: 100%;
}

.theme-sky .sky-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #79c0ff, #4aa3ff 55%, #3ec9a7);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 10px 22px rgba(74, 163, 255, 0.28);
}

.theme-sky .sky-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-sky .sky-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-sky .sky-title-row h1 {
  margin: 0;
  font: 700 24px/1.15 var(--font-display);
}

.theme-sky .sky-badge {
  display: inline-flex;
  min-width: 0;
  max-width: min(140px, 44vw);
  min-height: 28px;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  overflow: hidden;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  background: #f1f3ff;
  color: #4338ca;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-sky .sky-badge::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6366f1;
  content: "";
}

.theme-sky .sky-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  max-height: calc(22px * 2 + 6px);
  overflow: hidden;
}

.theme-sky .sky-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

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

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

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

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

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

.theme-sky main {
  padding: 14px 14px 20px;
  display: grid;
  gap: 12px;
}

.theme-sky .sky-block {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  animation: sky-rise 0.45s ease both;
}

.theme-sky .sky-block.is-shot {
  padding: 0;
  overflow: hidden;
}

.theme-sky .sky-block-head {
  display: flex;
  min-width: 0;
  max-width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.theme-sky .sky-block-head h2 {
  margin: 0;
  font: 700 13.5px/1.2 var(--font-display);
}

.theme-sky .sky-block-head span {
  min-width: 0;
  max-width: 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.theme-sky .sky-block-head.is-inline {
  justify-content: flex-start;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-sky .sky-reward-tip {
  margin: 0;
  color: var(--sky-deep);
  font-size: 12px;
  font-weight: 400;
}

.theme-sky .sky-welfare-text {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(74, 163, 255, 0.22);
  color: #1f3b57;
  font-size: 13px;
  line-height: 1.7;
  white-space: normal;
}

.theme-sky .sky-shot {
  position: relative;
  width: 100%;
  aspect-ratio: 1248 / 520;
  border-radius: 0;
  border: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 42%),
    linear-gradient(160deg, #9fd0ff, #6bb4ff 55%, #4aa3ff);
}

.theme-sky .sky-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-sky .sky-shot .carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.theme-sky .sky-shot .carousel-dots button.is-active {
  width: 18px;
  border-radius: 999px;
  background: #fff;
}

.theme-sky .sky-version-body {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4a5d70;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.theme-sky .store-blocks .store-version { margin: 0; }

.theme-sky .store-blocks,
.theme-sky .store-blocks .store-action-list,
.theme-sky .store-blocks .store-action-item {
  min-width: 0;
  max-width: 100%;
}

.theme-sky .sky-version-body .store-version-copy {
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.theme-sky .sky-version-body .store-version-copy.is-collapsible:not(.is-expanded) {
  max-height: 5.1em;
  overflow: hidden;
}

.theme-sky .sky-version-body .store-version-toggle {
  border-color: rgba(47, 134, 232, 0.28);
  color: var(--sky-deep);
}

.theme-sky .sky-version-body .store-version-toggle:hover,
.theme-sky .sky-version-body .store-version-toggle:focus-visible {
  border-color: rgba(47, 134, 232, 0.55);
  background: var(--sky-soft);
  color: #1f6fbf;
}

.theme-sky .sky-version-body .store-version-toggle[aria-expanded="false"] {
  right: 0;
  bottom: 0;
  padding-left: 14px;
  box-shadow: -18px 0 14px 6px var(--panel);
}

.theme-sky .sky-perk-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
  min-width: 0;
  margin-bottom: 12px;
  overflow: hidden;
}

.theme-sky .sky-perk-row span {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.theme-sky .sky-perk-row span.is-tone-0 {
  background: var(--sky-soft);
  color: var(--sky-deep);
}

.theme-sky .sky-perk-row span.is-tone-1 {
  background: var(--mint-soft);
  color: var(--mint-deep);
}

.theme-sky .sky-perk-row span.is-tone-2 {
  background: #fff3e0;
  color: #c47a1a;
}

.theme-sky .sky-perk-row span.is-tone-3 {
  background: #fdecef;
  color: #c2415f;
}

.theme-sky .sky-perk-row span.is-tone-4 {
  background: #f1eefc;
  color: #6d4fc4;
}

.theme-sky .store-blocks .store-channel-action { font-weight: 500; }

.theme-sky .store-blocks .store-reward-description-copy {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.theme-sky .store-blocks .store-reward-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.theme-sky .store-blocks .store-reward-title-row b {
  margin-bottom: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-sky .store-blocks .store-reward-copy-hint {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.theme-sky .store-blocks .store-reward-card.is-sky-copy {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

.theme-sky .store-blocks .store-reward-card.is-sky-copy:hover {
  border-color: rgba(74, 163, 255, 0.32);
  box-shadow: 0 8px 18px rgba(74, 163, 255, 0.1);
}

.theme-sky .store-blocks .store-reward-card.is-sky-copy:active { transform: scale(0.992); }
.theme-sky .store-blocks .store-reward-card.is-no-copy { cursor: default; }
.theme-sky .store-blocks .store-reward-card[hidden] { display: none !important; }

.theme-sky .store-blocks .store-cdk-expand {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid rgba(74, 163, 255, 0.28);
  border-radius: 12px;
  background: #fff;
  color: var(--sky-deep);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.theme-sky .store-blocks .store-cdk-expand:hover {
  border-color: rgba(74, 163, 255, 0.45);
  background: #f7fbff;
}

.theme-sky .store-blocks .store-cdk-expand[hidden] { display: none !important; }

.theme-sky #news.sky-block {
  border-color: #e2e6ec;
  background: #fff;
}

.theme-sky .sky-news-list {
  display: grid;
  gap: 8px;
}

.theme-sky .sky-news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  background: #f7f8fa;
  color: inherit;
  text-decoration: none;
}

.theme-sky .sky-news-item:hover {
  border-color: #d5dae3;
  background: #f0f2f5;
}

.theme-sky .sky-news-item b {
  min-width: 0;
  overflow: hidden;
  color: #2a3a4d;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-sky .sky-news-item time {
  color: #8a97a6;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}

.theme-sky .sky-more-bar { padding: 0 14px 14px; }

.theme-sky .sky-more-bar a,
.theme-sky .sky-more-bar button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(74, 163, 255, 0.22);
  background: #fff;
  color: var(--sky-deep);
  font-weight: 700;
}

.theme-sky .games-legal {
  margin: 0 18px 20px;
  color: #8a97a6;
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

@keyframes sky-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .theme-sky .sky-head { padding: 18px 14px 16px; }
}

@media (max-width: 460px) {
  .game-release-badge,
  .theme-sky .sky-badge {
    max-width: 44vw;
    height: auto;
    flex: 0 0 auto;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
  }

  .game-release-badge > span,
  .theme-sky .sky-badge > span {
    overflow: hidden;
    overflow-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .template-page .store-tag,
  .theme-sky .sky-tag {
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
  }

  .theme-sky .sky-title-row {
    flex-wrap: nowrap;
  }

  .theme-sky .sky-title-row h1 {
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
    overflow: hidden;
    font-size: clamp(17px, 6vw, 24px);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .layout-games .games-info b {
    font-size: clamp(12px, 3.8vw, 14px);
  }

  .layout-games .store-tag {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .theme-sky .sky-tag {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .store-blocks .store-action-item {
    min-height: 68px;
  }

  .store-blocks .store-action-copy b,
  .store-blocks .store-action-copy small {
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .store-blocks .store-action-copy small {
    line-height: 1.45;
  }

  .theme-sky .sky-block-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .theme-sky .sky-block-head > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .theme-sky .sky-block-head.is-inline > span {
    flex-basis: 100%;
  }

  .theme-sky .store-blocks .store-reward-title-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .theme-sky .store-blocks .store-reward-title-row b {
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .theme-sky .store-blocks .store-reward-copy-hint {
    flex-basis: 100%;
    white-space: normal;
  }
}

@media (max-width: 340px) {
  .store-blocks .store-channel-row {
    grid-template-columns: 1fr;
  }

  .store-blocks .store-channel-action {
    width: 100%;
    justify-self: stretch;
  }
}

.sitemap-entry {
  margin-top: 4px;
  font-size: 12px;
}

.sitemap-entry a {
  color: inherit;
  opacity: 0.72;
  text-decoration: none;
}

.sitemap-entry a:hover,
.sitemap-entry a:focus-visible {
  opacity: 1;
  text-decoration: underline;
}
