body[data-theme="21"] {
  --gm-ink: #172b3b;
  --gm-text: #354f63;
  --gm-muted: #748898;
  --gm-soft: #eef3f7;
  --gm-line: #dfe7ed;
  --gm-surface: #fff;
  --gm-primary: #287db8;
  --gm-primary-dark: #1e679d;
  --gm-green: #26815f;
  --gm-warm: #ae7118;
  background: #f2f5f7;
  color: var(--gm-ink);
}

body[data-theme="21"]:before { opacity: .06; }
body[data-theme="21"] .mall-shell {
  width: min(100%, 1220px);
  min-height: 100dvh;
  padding: 20px 24px 44px;
}
body[data-theme="21"] .mall-sitebar {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  min-height: 55px;
  margin-bottom: 24px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e0e7ec;
}
body[data-theme="21"] .mall-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
body[data-theme="21"] .mall-brand-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d9e2e9;
  border-radius: 10px;
  background: #fff;
  color: var(--gm-primary);
  font-size: 13px;
  font-weight: 900;
}
body[data-theme="21"] .mall-site-icon { display: block; width: 100%; height: 100%; object-fit: cover; }
body[data-theme="21"] .mall-brand-copy { display: grid; gap: 3px; min-width: 0; }
body[data-theme="21"] .mall-brand-copy strong { overflow: hidden; color: var(--gm-ink); font-size: 15px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
body[data-theme="21"] .mall-brand-copy small { overflow: hidden; color: var(--gm-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
body[data-theme="21"] .mall-sitebar-tag { padding: 7px 10px; border: 1px solid var(--gm-line); border-radius: 999px; background: #fff; color: #60778a; font-size: 11px; font-weight: 750; white-space: nowrap; }
body[data-theme="21"] .mall-page { width: 100%; max-width: 1120px; margin: 0 auto; }
body[data-theme="21"] .mall-home-intro,
body[data-theme="21"] .mall-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 18px; }
body[data-theme="21"] .mall-eyebrow { margin: 0 0 5px; color: var(--gm-primary); font-size: 11px; font-weight: 850; }
body[data-theme="21"] .mall-home-intro h1,
body[data-theme="21"] .mall-page-heading h1 { margin: 0; color: var(--gm-ink); font-size: 25px; font-weight: 900; line-height: 1.25; }
body[data-theme="21"] .mall-home-description,
body[data-theme="21"] .mall-page-heading > p:last-child { margin: 6px 0 0; color: var(--gm-muted); font-size: 12px; line-height: 1.55; }
body[data-theme="21"] .mall-app-count { padding: 7px 10px; border: 1px solid var(--gm-line); border-radius: 8px; background: #fff; color: #5c7283; font-size: 11px; font-weight: 750; white-space: nowrap; }
body[data-theme="21"] .mall-search {
  position: relative;
  top: auto;
  height: 44px;
  margin: 0 0 15px;
  border-color: var(--gm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}
body[data-theme="21"] .mall-search-mark,
body[data-theme="21"] .mall-search-mark:after { border-color: #8193a0; background-color: #8193a0; }
body[data-theme="21"] .mall-search-mark { border-color: #8193a0; background: transparent; }
body[data-theme="21"] .mall-search input { color: var(--gm-ink); font-size: 13px; }
body[data-theme="21"] .mall-category-strip { margin: 0 0 17px; overflow: visible; }
body[data-theme="21"] .mall-category-list { gap: 7px; padding: 1px 0 4px; }
body[data-theme="21"] .mall-category-button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--gm-line);
  border-radius: 7px;
  background: #fff;
  color: #5c7181;
  font-size: 11px;
  font-weight: 750;
}
body[data-theme="21"] .mall-category-button.active { border-color: #2d7eb4; background: #2d7eb4; color: #fff; }
body[data-theme="21"] .mall-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
body[data-theme="21"] .mall-card {
  min-width: 0;
  min-height: 116px;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-items: start;
  align-content: center;
  gap: 5px 10px;
  padding: 13px 12px;
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(27, 53, 73, .035);
  text-align: left;
}
body[data-theme="21"] .mall-card-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  align-self: center;
  border: 1px solid rgba(23, 43, 59, .08);
  border-radius: 10px;
  background: #e7f0f5;
  color: #3f789a;
}
body[data-theme="21"] .mall-card-copy { min-width: 0; width: 100%; align-self: end; }
body[data-theme="21"] .mall-card-title { color: var(--gm-ink); font-size: 12px; font-weight: 850; text-align: left; }
body[data-theme="21"] .mall-card-version { margin-top: 4px; overflow: hidden; color: var(--gm-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
body[data-theme="21"] .mall-install-btn {
  grid-column: 2;
  width: auto;
  min-width: 58px;
  height: 25px;
  justify-self: start;
  padding: 0 10px;
  border: 1px solid #d9e7ef;
  border-radius: 6px;
  background: #f4f8fa;
  color: #326b8c;
  box-shadow: none;
  font-size: 10px;
  font-weight: 800;
}
body[data-theme="21"] .mall-install-btn:hover { border-color: #94bfd5; background: #edf6fa; }
body[data-theme="21"] .mall-empty { grid-column: 1 / -1; padding: 58px 16px; border: 1px dashed #d8e2e9; border-radius: 8px; background: #fff; color: var(--gm-muted); font-size: 13px; }
body[data-theme="21"] .mall-panel,
body[data-theme="21"] .game-device-panel,
body[data-theme="21"] .game-member-panel,
body[data-theme="21"] .game-detail-hero,
body[data-theme="21"] .game-detail-section {
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: var(--gm-surface);
  box-shadow: 0 2px 8px rgba(27, 53, 73, .035);
}
body[data-theme="21"] .mall-panel { padding: 17px; }
body[data-theme="21"] .mall-panel h3 { margin: 0 0 14px; color: var(--gm-ink); font-size: 14px; font-weight: 850; }
body[data-theme="21"] .mall-bottom-nav {
  position: static;
  width: auto;
  height: 40px;
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid #dce4ea;
  border-radius: 9px;
  background: #fff;
}
body[data-theme="21"] .mall-bottom-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 86px;
  padding: 0 10px;
  border-radius: 6px;
  color: #64798a;
  font-size: 11px;
  font-weight: 750;
}
body[data-theme="21"] .mall-bottom-nav button i { font-size: 14px; }
body[data-theme="21"] .mall-bottom-nav button.active { background: #eaf2f7; color: #256f9f; }
body[data-theme="21"] .mall-bottom-nav button:focus-visible,
body[data-theme="21"] .mall-job-refresh:focus-visible,
body[data-theme="21"] .game-device-action:focus-visible,
body[data-theme="21"] .game-activate-button:focus-visible,
body[data-theme="21"] .game-detail-install:focus-visible,
body[data-theme="21"] .game-detail-attachments-button:focus-visible {
  outline: 2px solid #287db8;
  outline-offset: 2px;
}
body[data-theme="21"] .mall-page-heading { display: block; margin-bottom: 16px; }
body[data-theme="21"] .mall-page-heading > p:last-child { max-width: 480px; }
body[data-theme="21"] .mall-job-panel { margin: 0; }
body[data-theme="21"] .mall-job-refresh { width: 32px; height: 32px; border-radius: 7px; color: var(--gm-primary); }
body[data-theme="21"] .mall-job-list { gap: 7px; }
body[data-theme="21"] .mall-job-item { gap: 10px; padding: 11px; border-color: #e4eaf0; border-radius: 7px; box-shadow: none; }
body[data-theme="21"] .mall-job-title { color: var(--gm-ink); font-size: 12px; }
body[data-theme="21"] .mall-job-status { border-radius: 5px; font-size: 10px; }
body[data-theme="21"] .mall-job-meta,
body[data-theme="21"] .mall-job-message { font-size: 10px; }
body[data-theme="21"] .mall-job-action { min-height: 30px; border-radius: 6px; font-size: 10px; }
body[data-theme="21"] .mall-tutorial-page { max-width: 900px; }
body[data-theme="21"] .mall-tutorial-page > .mall-panel { padding: 0; border: 0; background: transparent; box-shadow: none; }
body[data-theme="21"] .mall-tutorial-list { gap: 0; border-top: 1px solid var(--gm-line); }
body[data-theme="21"] .mall-tutorial-item { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 16px; padding: 15px 3px; border: 0; border-bottom: 1px solid var(--gm-line); border-radius: 0; background: transparent; }
body[data-theme="21"] .mall-tutorial-item strong { color: var(--gm-ink); font-size: 13px; }
body[data-theme="21"] .mall-tutorial-item time { color: #8a9aa6; font-size: 10px; }
body[data-theme="21"] .mall-tutorial-item span { color: #637989; font-size: 11px; line-height: 1.6; }
body[data-theme="21"] .mall-tutorial-detail { padding: 20px; }
body[data-theme="21"] .mall-tutorial-detail h1 { color: var(--gm-ink); font-size: 23px; }
body[data-theme="21"] .mall-tutorial-date,
body[data-theme="21"] .mall-tutorial-summary { color: var(--gm-muted); font-size: 11px; }
body[data-theme="21"] .mall-tutorial-body { color: #30485a; font-size: 13px; }
body[data-theme="21"] .mall-tutorial-back,
body[data-theme="21"] .mall-tutorial-share,
body[data-theme="21"] .mall-tutorial-pagination button { border-color: var(--gm-line); border-radius: 6px; color: #476479; font-size: 11px; }
body[data-theme="21"] .mall-tutorial-empty { border: 1px dashed var(--gm-line); border-radius: 8px; background: #fff; }
body[data-theme="21"] .game-profile { max-width: 760px; gap: 12px; padding-top: 0; }
body[data-theme="21"] .game-profile-hero { min-height: 108px; border-color: #d8e3ea; border-radius: 8px; background: #e8f0f5; }
body[data-theme="21"] .game-profile-crown { border-color: #dbe5eb; border-radius: 8px; color: var(--gm-primary); }
body[data-theme="21"] .game-profile-eyebrow { color: #5f788b; }
body[data-theme="21"] .game-profile-title { color: #203c51; font-size: 19px; }
body[data-theme="21"] .game-profile-state { border-radius: 5px; }
body[data-theme="21"] .game-device-panel,
body[data-theme="21"] .game-member-panel { padding: 15px; }
body[data-theme="21"] .game-device-heading { color: #496578; }
body[data-theme="21"] .game-device-icon { border-radius: 7px; color: var(--gm-primary); }
body[data-theme="21"] .game-device-refresh { border-radius: 6px; color: var(--gm-primary-dark); }
body[data-theme="21"] .game-device-action,
body[data-theme="21"] .game-activate-button,
body[data-theme="21"] .game-detail-install,
body[data-theme="21"] .mall-primary-btn {
  border-radius: 7px;
  background: var(--gm-primary);
  box-shadow: none;
  color: #fff;
}
body[data-theme="21"] .game-device-action:hover,
body[data-theme="21"] .game-activate-button:hover,
body[data-theme="21"] .game-detail-install:hover,
body[data-theme="21"] .mall-primary-btn:hover { background: var(--gm-primary-dark); }
body[data-theme="21"] .game-membership { color: var(--gm-ink); }
body[data-theme="21"] .game-membership-state { border-radius: 5px; background: #eaf5ef; color: var(--gm-green); }
body[data-theme="21"] .game-certificate-download { border-radius: 7px; background: #f2f6f8; color: var(--gm-primary); }
body[data-theme="21"] .mall-notice:empty,
body[data-theme="21"] .theme-bottom-html:empty { display: none; }
body[data-theme="21"] .mall-notice { padding: 10px 12px; border: 1px solid #e1e8ed; border-radius: 7px; background: #fff; color: #687d8b; font-size: 11px; box-shadow: none; }
body[data-theme="21"] .theme-bottom-html { padding: 0 4px 8px; color: var(--gm-muted); font-size: 10px; }
body[data-theme="21"] .game-app-detail { grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); align-items: start; gap: 12px 18px; padding-top: 0; }
body[data-theme="21"] .game-detail-back { grid-column: 1 / -1; min-height: 28px; color: #5e7789; font-size: 11px; }
body[data-theme="21"] .game-detail-banner { grid-column: 1 / -1; max-height: 290px; border-color: var(--gm-line); border-radius: 8px; box-shadow: none; }
body[data-theme="21"] .game-detail-hero { min-height: 92px; gap: 12px; padding: 13px; }
body[data-theme="21"] .game-detail-icon { width: 58px; height: 58px; flex-basis: 58px; border-radius: 9px; }
body[data-theme="21"] .game-detail-name { color: var(--gm-ink); font-size: 17px; }
body[data-theme="21"] .game-detail-meta { color: var(--gm-muted); font-size: 10px; }
body[data-theme="21"] .game-detail-install { min-height: 46px; }
body[data-theme="21"] .game-detail-section { padding: 14px; }
body[data-theme="21"] .game-detail-section h2 { color: var(--gm-ink); font-size: 13px; }
body[data-theme="21"] .game-detail-description { color: #627889; font-size: 11px; line-height: 1.75; }
body[data-theme="21"] .game-detail-attachment-summary strong { color: var(--gm-ink); font-size: 12px; }
body[data-theme="21"] .game-detail-attachment-count { color: var(--gm-muted); font-size: 10px; }
body[data-theme="21"] .game-detail-attachments-button { min-height: 34px; border-radius: 6px; background: #edf3f6; color: #326d91; font-size: 10px; }
body[data-theme="21"] .mall-modal-backdrop { background: rgba(19, 35, 47, .4); backdrop-filter: blur(3px); }
body[data-theme="21"] .mall-install-modal,
body[data-theme="21"] .mall-attachment-modal { border: 1px solid #e0e6eb; border-radius: 9px; box-shadow: 0 18px 55px rgba(14, 33, 49, .2); }
body[data-theme="21"] .mall-modal-title { color: var(--gm-ink); font-size: 15px; }
body[data-theme="21"] .mall-modal-close { border-radius: 6px; background: #f0f4f6; color: #607585; }
body[data-theme="21"] .mall-field label { color: #526a7b; font-size: 11px; }
body[data-theme="21"] .mall-field input { height: 40px; border-color: #dbe4ea; border-radius: 6px; font-size: 12px; }
body[data-theme="21"] .mall-udid-btn { height: 40px; border-radius: 6px; background: #edf3f6; color: #326e92; }
body[data-theme="21"] .mall-primary-btn { height: 42px; font-size: 12px; }
body[data-theme="21"] .mall-description-body { border-color: #e1e8ed; border-radius: 6px; background: #f7f9fa; color: #536c7c; font-size: 12px; }
body[data-theme="21"] .mall-attachment-modal { padding: 16px; }
body[data-theme="21"] .mall-attachment-platform { color: var(--gm-ink); font-size: 12px; }
body[data-theme="21"] .mall-attachment-url { color: var(--gm-muted); font-size: 10px; }
body[data-theme="21"] .mall-attachment-actions button,
body[data-theme="21"] .mall-attachment-actions a { min-height: 31px; border-radius: 6px; font-size: 10px; }

@media (max-width: 760px) {
  body[data-theme="21"] .mall-shell { width: min(100%, 560px); padding: 13px 14px calc(94px + env(safe-area-inset-bottom)); }
  body[data-theme="21"] .mall-sitebar { min-height: 42px; margin-bottom: 17px; }
  body[data-theme="21"] .mall-brand-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 8px; }
  body[data-theme="21"] .mall-brand-copy strong { font-size: 13px; }
  body[data-theme="21"] .mall-brand-copy small { font-size: 10px; }
  body[data-theme="21"] .mall-sitebar-tag { padding: 6px 8px; font-size: 9px; }
  body[data-theme="21"] .mall-home-intro,
  body[data-theme="21"] .mall-page-heading { margin-bottom: 13px; }
  body[data-theme="21"] .mall-home-intro h1,
  body[data-theme="21"] .mall-page-heading h1 { font-size: 21px; }
  body[data-theme="21"] .mall-home-description,
  body[data-theme="21"] .mall-page-heading > p:last-child { font-size: 10px; }
  body[data-theme="21"] .mall-search { height: 42px; margin-bottom: 12px; padding: 0 13px; }
  body[data-theme="21"] .mall-search input { font-size: 12px; }
  body[data-theme="21"] .mall-category-strip { margin-bottom: 13px; overflow: hidden; }
  body[data-theme="21"] .mall-category-list { width: 100%; gap: 6px; overflow-x: auto; }
  body[data-theme="21"] .mall-category-button { min-height: 30px; padding: 0 9px; font-size: 10px; }
  body[data-theme="21"] .mall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  body[data-theme="21"] .mall-card { min-height: 104px; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 7px; padding: 10px 8px; }
  body[data-theme="21"] .mall-card-icon { width: 36px; height: 36px; border-radius: 8px; }
  body[data-theme="21"] .mall-card-title { font-size: 11px; }
  body[data-theme="21"] .mall-card-version { margin-top: 3px; font-size: 10px; }
  body[data-theme="21"] .mall-install-btn { min-width: 50px; height: 23px; padding: 0 8px; font-size: 9px; }
  body[data-theme="21"] .mall-bottom-nav {
    position: fixed;
    z-index: 50;
    top: auto;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 50%;
    width: min(100% - 28px, 430px);
    height: 58px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    padding: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 6px 22px rgba(27, 53, 73, .12);
    transform: translateX(-50%);
    backdrop-filter: blur(12px);
  }
  body[data-theme="21"] .mall-bottom-nav button { min-width: 0; display: grid; align-content: center; gap: 3px; padding: 1px; border-radius: 6px; font-size: 9px; }
  body[data-theme="21"] .mall-bottom-nav button i { font-size: 14px; }
  body[data-theme="21"] .mall-panel { padding: 13px; }
  body[data-theme="21"] .mall-panel h3 { margin-bottom: 11px; font-size: 12px; }
  body[data-theme="21"] .mall-job-item { padding: 9px; }
  body[data-theme="21"] .mall-job-actions { gap: 5px; }
  body[data-theme="21"] .mall-job-action { min-height: 28px; padding: 0 8px; font-size: 9px; }
  body[data-theme="21"] .mall-tutorial-detail { padding: 14px; }
  body[data-theme="21"] .mall-tutorial-detail h1 { font-size: 19px; }
  body[data-theme="21"] .mall-tutorial-item { gap: 4px 8px; padding: 13px 1px; }
  body[data-theme="21"] .mall-tutorial-item strong { font-size: 11px; }
  body[data-theme="21"] .mall-tutorial-item time { font-size: 9px; }
  body[data-theme="21"] .mall-tutorial-item span { font-size: 10px; }
  body[data-theme="21"] .game-profile { gap: 10px; }
  body[data-theme="21"] .game-profile-hero { min-height: 96px; gap: 10px; padding: 14px; }
  body[data-theme="21"] .game-profile-crown { width: 40px; height: 40px; flex-basis: 40px; font-size: 19px; }
  body[data-theme="21"] .game-profile-title { font-size: 15px; }
  body[data-theme="21"] .game-device-panel,
  body[data-theme="21"] .game-member-panel { padding: 12px; }
  body[data-theme="21"] .game-device-udid { font-size: 10px; }
  body[data-theme="21"] .game-activate-button { min-height: 44px; font-size: 13px; }
  body[data-theme="21"] .game-app-detail { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body[data-theme="21"] .game-detail-banner { max-height: 205px; }
  body[data-theme="21"] .game-detail-hero { min-height: 78px; padding: 11px; }
  body[data-theme="21"] .game-detail-icon { width: 50px; height: 50px; flex-basis: 50px; }
  body[data-theme="21"] .game-detail-name { font-size: 15px; }
  body[data-theme="21"] .game-detail-section { padding: 12px; }
  body[data-theme="21"] .mall-modal-backdrop { padding: 16px; }
  body[data-theme="21"] .mall-install-modal { width: min(390px, 100%); padding: 15px; }
}

@media (max-width: 360px) {
  body[data-theme="21"] .mall-shell { padding-right: 10px; padding-left: 10px; }
  body[data-theme="21"] .mall-grid { gap: 6px; }
  body[data-theme="21"] .mall-card { grid-template-columns: 32px minmax(0, 1fr); padding: 8px 6px; }
  body[data-theme="21"] .mall-card-icon { width: 32px; height: 32px; }
  body[data-theme="21"] .mall-sitebar-tag { display: none; }
  body[data-theme="21"] .game-profile-hero { grid-template-columns: 36px minmax(0, 1fr) auto; }
  body[data-theme="21"] .game-profile-crown { width: 35px; height: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-theme="21"] *,
  body[data-theme="21"] *::before,
  body[data-theme="21"] *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Theme 21 redesign: game-library editorial system. */
body[data-theme="21"] {
  --gm-ink: #f2f3ec;
  --gm-text: #b8c0b9;
  --gm-muted: #89938d;
  --gm-soft: #171b19;
  --gm-line: #303733;
  --gm-surface: #1b201d;
  --gm-primary: #d5ff43;
  --gm-primary-dark: #b8e52a;
  --gm-green: #d5ff43;
  background: #101311;
  color: var(--gm-ink);
  color-scheme: dark;
}
body[data-theme="21"]:before { opacity: 0; }
body[data-theme="21"] .mall-shell {
  width: min(100%, 1440px);
  padding: 24px 42px 56px;
}
body[data-theme="21"] .mall-sitebar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  margin-bottom: 34px;
  padding-bottom: 16px;
  border-color: #2a302c;
}
body[data-theme="21"] .mall-brand-icon {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border: 1px solid #444b43;
  border-radius: 3px;
  background: #1d231f;
  color: var(--gm-primary);
}
body[data-theme="21"] .mall-brand-copy strong { color: #f2f3ec; font-size: 14px; }
body[data-theme="21"] .mall-brand-copy small { color: #929b94; }
body[data-theme="21"] .mall-sitebar-tag {
  border-color: #39413a;
  border-radius: 3px;
  background: #1a1f1c;
  color: #d4ded5;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
}
body[data-theme="21"] .mall-bottom-nav {
  position: static;
  left: auto;
  width: auto;
  height: 40px;
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body[data-theme="21"] .mall-bottom-nav button {
  position: relative;
  min-width: 78px;
  padding: 0 2px;
  border-radius: 0;
  color: #929b94;
  font-size: 11px;
  transition: color .16s ease;
}
body[data-theme="21"] .mall-bottom-nav button.active {
  background: transparent;
  color: var(--gm-primary);
}
body[data-theme="21"] .mall-bottom-nav button.active:after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gm-primary);
  content: "";
}
body[data-theme="21"] .mall-bottom-nav button i { display: none; }
body[data-theme="21"] .mall-page { max-width: 1160px; }
body[data-theme="21"] .game-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
  background: #191e1b;
}
body[data-theme="21"] .game-hero-copy {
  z-index: 1;
  align-self: end;
  padding: 32px 36px;
}
body[data-theme="21"] .game-kicker {
  margin: 0 0 14px;
  color: var(--gm-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
}
body[data-theme="21"] .game-hero-copy h1 {
  max-width: 430px;
  margin: 0;
  color: #f2f3ec;
  font-size: 39px;
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}
body[data-theme="21"] .game-hero-actions { margin-top: 16px; }
body[data-theme="21"] .game-hero-button {
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 2px;
  background: var(--gm-primary);
  color: #11150f;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
body[data-theme="21"] .game-feature-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
body[data-theme="21"] .game-feature-art:after {
  position: absolute;
  inset: 0;
  background: linear-gradient(75deg, #101311 0%, rgba(16,19,17,.8) 24%, transparent 62%);
  content: "";
  pointer-events: none;
}
body[data-theme="21"] .game-feature-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
body[data-theme="21"] .game-catalog-head { margin: 28px 0 14px; }
body[data-theme="21"] .game-catalog-head :is(h1, h2) { margin: 0; color: #f1f3ed; font-size: 23px; font-weight: 900; }
body[data-theme="21"] .game-search {
  position: static;
  grid-template-columns: 18px minmax(0, 1fr);
  height: 44px;
  margin-bottom: 15px;
  padding: 0 13px;
  border-color: #343b36;
  border-radius: 2px;
  background: #181d1a;
}
body[data-theme="21"] .game-search input { color: #f1f3ed; font-size: 12px; }
body[data-theme="21"] .game-search input::placeholder { color: #818b83; }
body[data-theme="21"] .game-search .mall-search-mark { border-color: #98a39a; }
body[data-theme="21"] .game-search .mall-search-mark:after { background: #98a39a; }
body[data-theme="21"] .mall-category-strip { margin: 0 0 17px; overflow: hidden; }
body[data-theme="21"] .mall-category-list { gap: 7px; padding: 1px 0 4px; }
body[data-theme="21"] .mall-category-button {
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid #343b36;
  border-radius: 2px;
  background: #181d1a;
  color: #a5aea6;
  font-size: 10px;
}
body[data-theme="21"] .mall-category-button.active { border-color: var(--gm-primary); background: var(--gm-primary); color: #141812; }
body[data-theme="21"] .mall-grid.game-app-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body[data-theme="21"] .mall-card.game-app-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto auto;
  align-content: start;
  justify-items: stretch;
  gap: 9px;
  min-height: 250px;
  padding: 0 13px 13px;
  overflow: hidden;
  border: 1px solid #323a34;
  border-radius: 2px;
  background: #1a1f1c;
  box-shadow: none;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
body[data-theme="21"] .mall-card.game-app-card:hover { transform: translateY(-3px); border-color: #6d7b64; background: #202722; }
body[data-theme="21"] .game-app-card > .game-card-media {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: calc(100% + 26px);
  height: 150px;
  margin: 0 -13px;
  align-self: stretch;
  border: 0;
  border-radius: 0;
  background: #27332b;
  color: #d5ff43;
  font-size: 24px;
}
body[data-theme="21"] .game-card-media img {
  position: absolute;
  inset: 0;
  width: 64px;
  height: 64px;
  margin: auto;
  border-radius: 8px;
  background: #27332b;
  object-fit: contain;
}
body[data-theme="21"] .game-card-media.has-banner img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
body[data-theme="21"] .game-card-media img:not([hidden]) + span { visibility: hidden; }
body[data-theme="21"] .game-app-card .mall-card-copy { align-self: auto; }
body[data-theme="21"] .game-app-card .mall-card-title { color: #f0f2ec; font-size: 13px; font-weight: 850; text-align: left; }
body[data-theme="21"] .game-app-card .mall-card-version { margin-top: 4px; color: #929c94; font-size: 10px; }
body[data-theme="21"] .game-app-card .mall-install-btn {
  grid-column: 1;
  width: 100%;
  height: 32px;
  min-width: 0;
  justify-self: stretch;
  border: 1px solid #47513f;
  border-radius: 2px;
  background: #252d24;
  color: var(--gm-primary);
  font-size: 10px;
}
body[data-theme="21"] .game-app-card .mall-install-btn:hover { border-color: var(--gm-primary); background: #303a2a; }
body[data-theme="21"] .mall-empty { border-color: #3b433e; border-radius: 2px; background: #191e1b; color: #a4ada5; }
body[data-theme="21"] .mall-panel,
body[data-theme="21"] .game-device-panel,
body[data-theme="21"] .game-member-panel,
body[data-theme="21"] .game-detail-hero,
body[data-theme="21"] .game-detail-section {
  border: 1px solid #343b36;
  border-radius: 2px;
  background: #191e1b;
  box-shadow: none;
  color: #f0f2ec;
}
body[data-theme="21"] .mall-panel { padding: 19px; }
body[data-theme="21"] .mall-panel h3 { color: #edf0e9; }
body[data-theme="21"] .mall-page-heading { margin-bottom: 20px; }
body[data-theme="21"] .mall-page-heading h1 { color: #f0f2ec; font-size: 30px; }
body[data-theme="21"] .mall-page-heading > p:last-child { color: #9ba59d; }
body[data-theme="21"] .mall-field label { color: #a9b2aa; }
body[data-theme="21"] .mall-field input { border-color: #3a423c; border-radius: 2px; background: #111512; color: #f0f2ec; }
body[data-theme="21"] .mall-field input::placeholder { color: #778179; }
body[data-theme="21"] .mall-udid-btn { border-radius: 2px; background: #272f29; color: var(--gm-primary); }
body[data-theme="21"] .mall-primary-btn { border-radius: 2px; background: var(--gm-primary); color: #11150f; }
body[data-theme="21"] .mall-primary-btn:hover { background: var(--gm-primary-dark); }
body[data-theme="21"] .mall-profile .status-box { border-color: #333b35; border-radius: 2px; background: #141815; color: #d7ddd6; }
body[data-theme="21"] .mall-job-refresh { border-color: #39413a; border-radius: 2px; background: #202622; color: var(--gm-primary); }
body[data-theme="21"] .mall-job-item { border-color: #343b36; border-radius: 2px; background: #151a17; }
body[data-theme="21"] .mall-job-title { color: #edf0e9; }
body[data-theme="21"] .mall-job-status { border-radius: 2px; }
body[data-theme="21"] .mall-job-status.pending,
body[data-theme="21"] .mall-job-status.running { background: #26342c; color: #c4ed64; }
body[data-theme="21"] .mall-job-status.success { background: #293424; color: #d5ff43; }
body[data-theme="21"] .mall-job-status.failed,
body[data-theme="21"] .mall-job-status.expired { background: #392725; color: #f5a49b; }
body[data-theme="21"] .mall-job-meta,
body[data-theme="21"] .mall-job-message { color: #9da79f; }
body[data-theme="21"] .mall-job-action { border-color: #3a433c; border-radius: 2px; background: #1b211d; color: #c1cbc2; }
body[data-theme="21"] .mall-job-action.primary { border-color: var(--gm-primary); background: var(--gm-primary); color: #151910; }
body[data-theme="21"] .mall-tutorial-page { max-width: 1160px; }
body[data-theme="21"] .mall-tutorial-page > .mall-panel { border: 0; background: transparent; }
body[data-theme="21"] .mall-tutorial-list { border-color: #343b36; }
body[data-theme="21"] .mall-tutorial-item { border-color: #343b36; color: #f0f2ec; }
body[data-theme="21"] .mall-tutorial-item strong { color: #eff2eb; font-size: 14px; }
body[data-theme="21"] .mall-tutorial-item time { color: #8f9991; }
body[data-theme="21"] .mall-tutorial-item span { color: #a5aea6; }
body[data-theme="21"] .mall-tutorial-item:hover strong { color: var(--gm-primary); }
body[data-theme="21"] .mall-tutorial-detail { border-color: #343b36; border-radius: 2px; background: #191e1b; }
body[data-theme="21"] .mall-tutorial-detail h1 { color: #f2f3ec; }
body[data-theme="21"] .mall-tutorial-date,
body[data-theme="21"] .mall-tutorial-summary { color: #929d95; }
body[data-theme="21"] .mall-tutorial-summary { border-left-color: var(--gm-primary); background: #202722; white-space: pre-line; }
body[data-theme="21"] .mall-tutorial-body { color: #c5cdc5; }
body[data-theme="21"] .mall-tutorial-back,
body[data-theme="21"] .mall-tutorial-share,
body[data-theme="21"] .mall-tutorial-pagination button { border-color: #3b443d; border-radius: 2px; background: #202622; color: #c2ccc3; }
body[data-theme="21"] .game-profile { max-width: 820px; gap: 13px; }
body[data-theme="21"] .game-device-panel,
body[data-theme="21"] .game-member-panel { padding: 18px; }
body[data-theme="21"] .game-device-heading { color: #b8c2b9; }
body[data-theme="21"] .game-device-type { color: var(--gm-primary); }
body[data-theme="21"] .game-device-icon { border-color: #3a443c; border-radius: 2px; background: #222a24; color: var(--gm-primary); }
body[data-theme="21"] .game-device-udid { color: #eef2e9; }
body[data-theme="21"] .game-device-refresh { border-color: #3a443c; border-radius: 2px; background: #202722; color: var(--gm-primary); }
body[data-theme="21"] .game-device-action,
body[data-theme="21"] .game-activate-button,
body[data-theme="21"] .game-detail-install { border-radius: 2px; background: var(--gm-primary); color: #11150f; box-shadow: none; }
body[data-theme="21"] .game-device-action:hover,
body[data-theme="21"] .game-activate-button:hover,
body[data-theme="21"] .game-detail-install:hover { background: var(--gm-primary-dark); }
body[data-theme="21"] .game-membership { color: #f0f2ec; }
body[data-theme="21"] .game-profile-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 118px;
  padding: 21px;
  overflow: hidden;
  border: 1px solid #363f37;
  border-radius: 2px;
  background: #1b211d;
}
body[data-theme="21"] .game-profile-hero:after {
  position: absolute;
  right: -28px;
  bottom: -80px;
  width: 250px;
  height: 200px;
  border: 1px solid #343d34;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
body[data-theme="21"] .game-profile-crown {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid #475343;
  border-radius: 2px;
  background: #242d24;
  color: var(--gm-primary);
  font: 900 24px ui-monospace, SFMono-Regular, Menlo, monospace;
}
body[data-theme="21"] .game-profile-eyebrow { color: var(--gm-primary); font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
body[data-theme="21"] .game-profile-hero {
  min-height: 96px;
  padding: 18px 20px;
  border-left: 3px solid var(--gm-primary);
  background: #1b211d;
}
body[data-theme="21"] .game-profile-hero:after { content: none; }
body[data-theme="21"] .game-profile-title { margin: 0; color: #f1f3ed; font-size: 16px; }
body[data-theme="21"] .game-profile-state { margin-left: auto; border-radius: 2px; background: #303a27; color: #b9c6a5; font-size: 10px; }
body[data-theme="21"] .game-profile-state.is-active { background: var(--gm-primary); color: #12160f; }
body[data-theme="21"] .game-membership-state { border-radius: 2px; background: #303a27; color: var(--gm-primary); }
body[data-theme="21"] .game-certificate-row { border-color: #343b36; color: #a5afa7; }
body[data-theme="21"] .game-certificate-state { color: #f0f2ec; }
body[data-theme="21"] .game-certificate-download { border-color: #404a40; border-radius: 2px; background: #232c24; color: var(--gm-primary); }
body[data-theme="21"] .game-app-detail { grid-template-columns: minmax(0, 1fr); gap: 13px; padding-top: 0; }
body[data-theme="21"] .game-detail-back {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #3a433c;
  border-radius: 2px;
  background: #1b211d;
  color: #c1cbc2;
  font-size: 11px;
}
body[data-theme="21"] .game-detail-header { overflow: hidden; border: 1px solid #343b36; background: #191e1b; }
body[data-theme="21"] .game-detail-banner {
  height: 260px;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: #202923;
  box-shadow: none;
}
body[data-theme="21"] .game-detail-banner[hidden] { display: none; }
body[data-theme="21"] .game-detail-hero { min-height: 96px; padding: 17px; border: 0; border-radius: 0; }
body[data-theme="21"] .game-detail-icon { width: 44px; height: 44px; flex-basis: 44px; border-radius: 3px; }
body[data-theme="21"] .game-detail-name { color: #f1f3ed; font-size: 20px; }
body[data-theme="21"] .game-detail-meta { color: #9aa59c; }
body[data-theme="21"] .game-detail-install { min-height: 48px; }
body[data-theme="21"] .game-detail-section { padding: 17px; }
body[data-theme="21"] .game-detail-section h2 { color: #f0f2ec; font-size: 14px; }
body[data-theme="21"] .game-detail-description { color: #b7c0b8; font-size: 12px; }
body[data-theme="21"] .game-detail-attachment-summary h2 { margin-bottom: 4px; }
body[data-theme="21"] .game-detail-attachment-count { color: #929d95; }
body[data-theme="21"] .game-detail-attachments-button { min-height: 31px; border: 1px solid #3a433c; border-radius: 2px; background: #1b211d; color: #c1cbc2; }
body[data-theme="21"] .mall-modal-backdrop { background: rgba(5,8,6,.78); backdrop-filter: blur(5px); }
body[data-theme="21"] .mall-install-modal,
body[data-theme="21"] .mall-attachment-modal {
  border: 1px solid #424c43;
  border-radius: 3px;
  background: #191e1b;
  color: #f0f2ec;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
body[data-theme="21"] .mall-modal-title { color: #f0f2ec; }
body[data-theme="21"] .mall-modal-close { border-radius: 2px; background: #282f2a; color: #ced6ce; }
body[data-theme="21"] .game-activation-modal > .mall-primary-btn { margin-top: 16px; }
body[data-theme="21"] .mall-description-label { color: #c2cbc2; }
body[data-theme="21"] .mall-description-body { border-color: #363e38; border-radius: 2px; background: #131714; color: #bec7bf; }
body[data-theme="21"] .mall-attachment-item { border-color: #343b36; }
body[data-theme="21"] .mall-attachment-platform { color: #eff2eb; }
body[data-theme="21"] .mall-attachment-url { color: #a3ada5; }
body[data-theme="21"] .mall-attachment-actions button { border-color: #3f493f; border-radius: 2px; background: #202722; color: #c4cec5; }
body[data-theme="21"] .mall-attachment-actions a { border-color: var(--gm-primary); border-radius: 2px; background: var(--gm-primary); color: #151910; }
body[data-theme="21"] .mall-notice { border-color: #373f39; border-radius: 2px; background: #191e1b; color: #acb6ad; }
body[data-theme="21"] .theme-bottom-html { color: #879289; }

/* Theme 21 keeps the signing wait state, while giving it the game's dark utility-panel treatment. */
body[data-theme="21"] .front-loading-backdrop {
  background: rgba(10, 14, 11, .84);
  backdrop-filter: blur(5px);
}
body[data-theme="21"] .front-loading {
  min-width: 208px;
  border: 1px solid #414c41;
  border-radius: 3px;
  background: #191e1b;
  color: #f0f2ec;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  padding: 22px 24px 20px;
}
body[data-theme="21"] .front-loading:before {
  display: block;
  width: 28px;
  height: 2px;
  margin: -22px auto 18px;
  background: var(--gm-primary);
  content: "";
}
body[data-theme="21"] .front-loading-spinner {
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  border: 3px solid #354034;
  border-top-color: var(--gm-primary);
  border-right-color: #8ba84d;
  animation: game-mall-loading-spin .72s linear infinite;
}
body[data-theme="21"] .front-loading-message {
  color: #c7d0c6;
  font-size: 12px;
  line-height: 1.5;
}
@keyframes game-mall-loading-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  body[data-theme="21"] .mall-shell { padding-right: 24px; padding-left: 24px; }
  body[data-theme="21"] .mall-grid.game-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-theme="21"] .mall-sitebar { gap: 14px; }
  body[data-theme="21"] .mall-bottom-nav { gap: 8px; }
  body[data-theme="21"] .mall-bottom-nav button { min-width: 68px; }
}

@media (max-width: 760px) {
  body[data-theme="21"] .mall-shell { width: min(100%, 560px); padding: 13px 14px calc(98px + env(safe-area-inset-bottom)); }
  body[data-theme="21"] .mall-sitebar { display: flex; min-height: 42px; margin-bottom: 19px; padding-bottom: 11px; }
  body[data-theme="21"] .mall-brand-icon { width: 36px; height: 36px; flex-basis: 36px; }
  body[data-theme="21"] .mall-brand-copy strong { font-size: 13px; }
  body[data-theme="21"] .mall-brand-copy small { font-size: 10px; }
  body[data-theme="21"] .mall-sitebar-tag { display: none; }
  body[data-theme="21"] .mall-bottom-nav {
    position: fixed;
    z-index: 50;
    top: auto;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 50%;
    width: min(100% - 28px, 430px);
    height: 61px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    padding: 5px;
    border: 1px solid #414940;
    border-radius: 3px;
    background: rgba(24,29,26,.97);
    box-shadow: 0 8px 25px rgba(0,0,0,.32);
    transform: translateX(-50%);
    backdrop-filter: blur(13px);
  }
  body[data-theme="21"] .mall-bottom-nav button { min-width: 0; height: 48px; font-size: 9px; }
  body[data-theme="21"] .mall-bottom-nav button.active:after { right: 22%; bottom: -3px; left: 22%; }
  body[data-theme="21"] .game-home-hero { min-height: 240px; }
  body[data-theme="21"] .game-hero-copy { padding: 16px; }
  body[data-theme="21"] .game-hero-copy h1 { max-width: 300px; font-size: 31px; }
  body[data-theme="21"] .game-feature-art:after { background: linear-gradient(0deg, #101311 0%, rgba(16,19,17,.8) 20%, transparent 75%); }
  body[data-theme="21"] .game-catalog-head { margin-top: 22px; }
  body[data-theme="21"] .game-catalog-head :is(h1, h2) { font-size: 20px; }
  body[data-theme="21"] .mall-grid.game-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  body[data-theme="21"] .mall-card.game-app-card { min-height: 226px; gap: 8px; padding: 0 10px 10px; }
  body[data-theme="21"] .game-app-card > .game-card-media { width: calc(100% + 20px); height: 128px; margin-right: -10px; margin-left: -10px; }
  body[data-theme="21"] .game-app-card .mall-card-title { font-size: 12px; }
  body[data-theme="21"] .mall-page-heading h1 { font-size: 25px; }
  body[data-theme="21"] .mall-panel { padding: 13px; }
  body[data-theme="21"] .mall-job-item { padding: 9px; }
  body[data-theme="21"] .mall-job-actions { gap: 5px; }
  body[data-theme="21"] .mall-job-action { min-height: 28px; padding: 0 8px; font-size: 9px; }
  body[data-theme="21"] .mall-tutorial-detail { padding: 14px; }
  body[data-theme="21"] .mall-tutorial-detail h1 { font-size: 20px; }
  body[data-theme="21"] .mall-tutorial-item { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 14px 2px; }
  body[data-theme="21"] .mall-tutorial-item strong { font-size: 14px; }
  body[data-theme="21"] .mall-tutorial-item time { grid-row: 2; }
  body[data-theme="21"] .mall-tutorial-item span { grid-column: 1; font-size: 10px; }
  body[data-theme="21"] .game-profile { gap: 10px; }
  body[data-theme="21"] .game-device-panel,
  body[data-theme="21"] .game-member-panel { padding: 12px; }
  body[data-theme="21"] .game-device-udid { font-size: 10px; }
  body[data-theme="21"] .game-activate-button { min-height: 46px; font-size: 13px; }
  body[data-theme="21"] .game-detail-section { padding: 13px; }
  body[data-theme="21"] .mall-modal-backdrop { padding: 14px; }
  body[data-theme="21"] .mall-install-modal { width: min(390px, 100%); padding: 15px; }
}

@media (max-width: 360px) {
  body[data-theme="21"] .mall-grid.game-app-grid { gap: 7px; }
  body[data-theme="21"] .mall-card.game-app-card { min-height: 208px; padding-right: 8px; padding-left: 8px; }
  body[data-theme="21"] .game-app-card > .game-card-media { width: calc(100% + 16px); height: 112px; margin-right: -8px; margin-left: -8px; }
  body[data-theme="21"] .game-detail-banner { height: 220px; }
}

@media (max-width: 760px) {
  body[data-theme="21"] .mall-bottom-nav.game-mall-bottom-nav button i {
    display: block;
    font-size: 14px;
    line-height: 1;
  }
}

body[data-theme="21"] .game-udid-prompt {
  width: min(390px, 100%);
  padding: 15px;
  border: 1px solid #3b453d;
  border-radius: 2px;
  background: #191e1b;
}

body[data-theme="21"] .game-udid-prompt-message {
  margin: 14px 0;
  line-height: 1.7;
}

body[data-theme="21"] .game-udid-prompt > [data-game-udid-prompt-get] {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

body[data-theme="21"] .front-install-layer {
  border: 1px solid #3b453d !important;
  border-radius: 3px !important;
  background: #191e1b !important;
  color: #eef1e9 !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, .62) !important;
}

body[data-theme="21"] .front-install-layer .layui-layer-title {
  height: 48px;
  padding: 0 15px;
  border-bottom: 1px solid #343d36;
  background: #191e1b;
  color: #f0f2eb;
  font-size: 14px;
  font-weight: 800;
  line-height: 48px;
}

body[data-theme="21"] .front-install-layer .layui-layer-content {
  padding: 18px 15px 4px;
  background: #191e1b;
  color: #b9c2ba;
  font-size: 13px;
  line-height: 1.65;
}

body[data-theme="21"] .front-install-layer .layui-layer-btn {
  padding: 12px 15px 15px;
  background: #191e1b;
  text-align: center;
}

body[data-theme="21"] .front-install-layer .layui-layer-btn a {
  display: block;
  float: none;
  width: 100%;
  height: 42px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: #d5ff43;
  color: #151910;
  font-size: 12px;
  font-weight: 850;
  line-height: 42px;
  text-align: center;
}

body[data-theme="21"] .front-install-layer .front-install-close {
  background: #282f2a;
  color: #d0d8d0;
}

body[data-theme="21"] .layui-layer-shade {
  background: rgba(5, 8, 6, .78) !important;
  backdrop-filter: blur(5px);
}

body[data-theme="21"] .game-profile {
  width: 100%;
  max-width: 1040px;
  gap: 18px;
  padding: 0 0 24px;
}

body[data-theme="21"] .game-profile-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 208px;
  padding: 24px 28px;
  overflow: hidden;
  border: 1px solid #363f37;
  border-radius: 2px;
  background: #1b211d;
}

body[data-theme="21"] .game-profile-art {
  position: absolute;
  inset: 0 0 0 42%;
  overflow: hidden;
  background-color: #202923;
  background-image: repeating-linear-gradient(0deg, transparent 0 24px, rgba(213,255,67,.045) 24px 25px), repeating-linear-gradient(90deg, transparent 0 24px, rgba(213,255,67,.045) 24px 25px);
}

body[data-theme="21"] .game-profile-art:after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1b211d 0%, rgba(27,33,29,.55) 30%, rgba(13,16,14,.25) 100%);
  content: "";
}

body[data-theme="21"] .game-profile-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .76;
  filter: saturate(.78) contrast(1.08);
}

body[data-theme="21"] .game-profile-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
}

body[data-theme="21"] .game-profile-eyebrow {
  margin: 0 0 9px;
  color: var(--gm-primary);
  font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 1px;
}

body[data-theme="21"] .game-profile-title {
  margin: 0;
  color: #f1f3ed;
  font-size: 25px;
  line-height: 1.25;
}

body[data-theme="21"] .game-profile-subtitle {
  margin: 8px 0 0;
  color: #a5afa6;
  font-size: 11px;
  line-height: 1.5;
}

body[data-theme="21"] .game-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

body[data-theme="21"] .game-profile-tags span {
  max-width: 100%;
  padding: 6px 8px;
  overflow: hidden;
  border: 1px solid #414a41;
  background: rgba(27,33,29,.88);
  color: #d8e0d7;
  font-size: 9px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-theme="21"] .game-profile-tags .is-vip {
  border-color: #4d5d3a;
  color: var(--gm-primary);
}

body[data-theme="21"] .game-profile-dashboard {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  gap: 12px;
}

body[data-theme="21"] .game-profile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin: 0 0 8px;
}

body[data-theme="21"] .game-profile-section-head h2 {
  margin: 0;
  color: #f0f2ec;
  font-size: 12px;
  font-weight: 850;
}

body[data-theme="21"] .game-profile-section-head > span {
  color: #8e9990;
  font-size: 9px;
}

body[data-theme="21"] .game-member-panel,
body[data-theme="21"] .game-device-panel {
  height: calc(100% - 22px);
  padding: 15px 16px;
  border: 1px solid #303832;
  border-radius: 2px;
  background: #171c18;
  box-shadow: none;
}

body[data-theme="21"] .game-member-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

body[data-theme="21"] .game-member-title {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
}

body[data-theme="21"] .game-member-emblem {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #4d5943;
  background: #242c23;
  color: var(--gm-primary);
  font-size: 17px;
}

body[data-theme="21"] .game-member-copy {
  min-width: 0;
}

body[data-theme="21"] .game-member-copy strong {
  display: block;
  overflow: hidden;
  color: #eff2eb;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-theme="21"] .game-member-copy small {
  display: block;
  margin-top: 4px;
  color: #929d94;
  font-size: 9px;
}

body[data-theme="21"] .game-membership-state {
  border-radius: 2px;
  background: #313a29;
  color: #c2cca9;
}

body[data-theme="21"] .game-membership-state.is-active {
  background: #303a27;
  color: var(--gm-primary);
}

body[data-theme="21"] .game-member-panel .game-activate-button {
  min-height: 36px;
  border: 0;
  border-radius: 2px;
  background: var(--gm-primary);
  color: #14180f;
  box-shadow: none;
  font-size: 10px;
}

body[data-theme="21"] .game-member-panel .game-activate-button:hover {
  background: #bfe833;
}

body[data-theme="21"] .game-certificate-row {
  min-height: 39px;
  padding-top: 9px;
  border-top: 1px solid #303832;
  color: #a5afa7;
  font-size: 10px;
}

body[data-theme="21"] .game-certificate-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #8bd66d;
  box-shadow: 0 0 8px rgba(139,214,109,.35);
}

body[data-theme="21"] .game-device-panel {
  display: grid;
  align-content: start;
}

body[data-theme="21"] .game-device-head {
  margin-bottom: 13px;
}

body[data-theme="21"] .game-device-heading {
  color: #aeb8ae;
  font-size: 10px;
}

body[data-theme="21"] .game-device-type {
  color: var(--gm-primary);
  font-size: 10px;
}

body[data-theme="21"] .game-device-info {
  grid-template-columns: 38px minmax(0,1fr) 32px;
  gap: 10px;
}

body[data-theme="21"] .game-device-icon {
  width: 38px;
  height: 43px;
}

body[data-theme="21"] .game-device-copy {
  min-width: 0;
}

body[data-theme="21"] .game-device-copy strong {
  display: block;
  margin-bottom: 5px;
  color: #edf1e9;
  font-size: 11px;
}

body[data-theme="21"] .game-device-udid {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #929d94;
  font-size: 9px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-theme="21"] .game-device-copy-button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #414c41;
  border-radius: 2px;
  background: #202820;
  color: #d2dcd0;
  font-size: 13px;
  cursor: pointer;
}

body[data-theme="21"] .game-profile-services {
  margin-top: 3px;
}

body[data-theme="21"] .game-service-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 9px;
}

body[data-theme="21"] .game-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 78px;
  padding: 11px;
  border: 1px solid #303832;
  border-radius: 2px;
  background: #171c18;
  color: #eef2e9;
  text-align: left;
  cursor: pointer;
}

body[data-theme="21"] .game-service-item:hover:not(:disabled) {
  border-color: #65724d;
  background: #1b211d;
}

body[data-theme="21"] .game-service-item:focus-visible,
body[data-theme="21"] .game-device-copy-button:focus-visible,
body[data-theme="21"] .game-tasks-back:focus-visible {
  outline: 2px solid var(--gm-primary);
  outline-offset: 2px;
}

body[data-theme="21"] .game-service-item:disabled {
  cursor: not-allowed;
  opacity: .56;
}

body[data-theme="21"] .game-service-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border: 1px solid #485342;
  background: #222a22;
  color: var(--gm-primary);
  font-size: 13px;
  font-weight: 850;
}

body[data-theme="21"] .game-service-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body[data-theme="21"] .game-service-copy strong {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-theme="21"] .game-service-copy small {
  overflow: hidden;
  color: #89958b;
  font-size: 8px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-theme="21"] .game-service-arrow {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-left: auto;
  color: #859184;
  font-size: 10px;
}

body[data-theme="21"] .game-profile .theme-bottom-html {
  padding: 0;
}

body[data-theme="21"] .game-profile-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 0;
  border-top: 1px solid #303832;
  color: #879289;
  font-size: 9px;
}

body[data-theme="21"] .game-tasks-page {
  max-width: 820px;
}

body[data-theme="21"] .game-tasks-back {
  min-height: 31px;
  margin-bottom: 11px;
  padding: 0 8px 0 0;
  border: 0;
  background: transparent;
  color: #aab5aa;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

body[data-theme="21"] .game-tasks-heading {
  align-items: center;
  margin-bottom: 11px;
}

body[data-theme="21"] .game-tasks-heading h1 {
  color: #f0f2ec;
}

body[data-theme="21"] .game-tasks-page .mall-job-panel {
  margin-top: 0;
}

@media (max-width: 760px) {
  body[data-theme="21"] .game-profile {
    max-width: 560px;
    gap: 13px;
    padding: 0 0 18px;
  }

  body[data-theme="21"] .game-profile-hero {
    min-height: 158px;
    padding: 14px;
  }

  body[data-theme="21"] .game-profile-art {
    inset: 0;
  }

  body[data-theme="21"] .game-profile-art:after {
    background: linear-gradient(0deg, rgba(10,14,11,.96) 0%, rgba(10,14,11,.54) 46%, rgba(10,14,11,.12) 100%);
  }

  body[data-theme="21"] .game-profile-copy {
    align-self: end;
    width: 100%;
  }

  body[data-theme="21"] .game-profile-eyebrow {
    margin-bottom: 5px;
    font-size: 8px;
  }

  body[data-theme="21"] .game-profile-title {
    font-size: 18px;
  }

  body[data-theme="21"] .game-profile-subtitle {
    margin-top: 5px;
    font-size: 9px;
  }

  body[data-theme="21"] .game-profile-tags {
    gap: 5px;
    margin-top: 9px;
  }

  body[data-theme="21"] .game-profile-tags span {
    padding: 4px 6px;
    font-size: 8px;
  }

  body[data-theme="21"] .game-profile-dashboard {
    grid-template-columns: minmax(0,1fr);
    gap: 11px;
  }

  body[data-theme="21"] .game-member-panel,
  body[data-theme="21"] .game-device-panel {
    height: auto;
    padding: 11px;
  }

  body[data-theme="21"] .game-profile-section-head {
    margin-bottom: 6px;
  }

  body[data-theme="21"] .game-profile-section-head h2 {
    font-size: 10px;
  }

  body[data-theme="21"] .game-member-panel {
    gap: 9px;
  }

  body[data-theme="21"] .game-member-title {
    grid-template-columns: 34px minmax(0,1fr) auto;
    gap: 8px;
  }

  body[data-theme="21"] .game-member-emblem {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  body[data-theme="21"] .game-member-copy strong {
    font-size: 10px;
  }

  body[data-theme="21"] .game-member-copy small {
    font-size: 8px;
  }

  body[data-theme="21"] .game-membership-state {
    padding: 4px 6px;
    font-size: 8px;
  }

  body[data-theme="21"] .game-member-panel .game-activate-button {
    min-height: 32px;
    font-size: 9px;
  }

  body[data-theme="21"] .game-certificate-row {
    min-height: 33px;
    gap: 7px;
    padding-top: 7px;
    font-size: 8px;
  }

  body[data-theme="21"] .game-certificate-state {
    font-size: 8px;
  }

  body[data-theme="21"] .game-certificate-download {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  body[data-theme="21"] .game-device-head {
    margin-bottom: 9px;
  }

  body[data-theme="21"] .game-device-info {
    grid-template-columns: 32px minmax(0,1fr) 28px;
    gap: 8px;
  }

  body[data-theme="21"] .game-device-icon {
    width: 32px;
    height: 36px;
  }

  body[data-theme="21"] .game-device-copy-button {
    width: 28px;
    height: 28px;
  }

  body[data-theme="21"] .game-service-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
  }

  body[data-theme="21"] .game-service-item {
    min-height: 56px;
    gap: 7px;
    padding: 8px;
  }

  body[data-theme="21"] .game-service-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    font-size: 11px;
  }

  body[data-theme="21"] .game-service-copy {
    gap: 3px;
  }

  body[data-theme="21"] .game-service-copy strong {
    font-size: 9px;
  }

  body[data-theme="21"] .game-service-copy small {
    font-size: 7px;
  }

  body[data-theme="21"] .game-tasks-page {
    padding-bottom: 15px;
  }
}

@media (max-width: 360px) {
  body[data-theme="21"] .game-profile-hero {
    min-height: 148px;
  }

  body[data-theme="21"] .game-profile-tags span {
    max-width: 145px;
  }

  body[data-theme="21"] .game-service-item {
    gap: 6px;
    padding: 7px;
  }
}
