:root {
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #202b26;
  background: #f6f8f5;
  font-synthesis: none;
  line-height: 1.6;
  letter-spacing: 0;
  --green: #264e3d;
  --muted: #67756d;
  --line: #dce3db;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #69a64a;
  outline-offset: 3px;
}
button {
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
.topbar {
  height: 76px;
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}
.status {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.status i {
  background: #5c9448;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px 64px;
}
.search-area {
  padding: 58px 0 40px;
  max-width: 850px;
}
.eyebrow {
  font-size: 12px;
  color: var(--green);
  margin: 0 0 16px;
}
h1 {
  font-size: 42px;
  line-height: 1.3;
  font-weight: 750;
  margin: 0 0 28px;
}
h1 br {
  display: none;
}
form {
  display: flex;
  gap: 14px;
  align-items: center;
}
.search-input {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #a4b5a4;
  border-radius: 6px;
  padding: 5px;
  box-shadow: 0 3px 12px #14251f06;
}
.suggest-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd9cf;
  border-radius: 8px;
  box-shadow: 0 14px 34px #14251f1f;
}
.suggest-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: inherit;
  text-align: left;
}
.suggest-item:last-child {
  border-bottom: 0;
}
.suggest-item:hover,
.suggest-item[aria-selected="true"] {
  background: #eef4ec;
}
.suggest-item strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
.suggest-item small {
  color: var(--muted);
  font-size: 11px;
}
.search-input:focus-within {
  border-color: #3f7050;
}
.search-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 10px 14px;
  font-size: 15px;
  background: transparent;
}
.search-input > button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: 4px;
  background: #264e3d;
  color: #fff;
  transition: background-color 150ms ease;
}
.search-input > button:hover {
  background: #193d2d;
}
.ui-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
}
.search-input .ui-icon {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}
.store-link .ui-icon,
td a .ui-icon {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
}
.game-tile > b {
  display: grid;
  place-items: center;
}
.pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pagination .ui-icon {
  width: 15px;
  height: 15px;
}
.region-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
select {
  background: transparent;
  color: #263d2d;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 6px 20px 6px 0;
  max-width: 100%;
}
.suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  font-size: 12px;
  color: var(--muted);
}
.suggestions button {
  background: transparent;
  border: 0;
  padding: 3px 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #c9d3c6;
}
.suggestions button:hover {
  color: var(--green);
}
.section-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.section-line h2 {
  font-size: 16px;
  margin: 0;
  font-weight: 650;
}
.section-line > span {
  font-size: 11px;
  color: var(--muted);
}
.discover {
  border-top: 1px solid var(--line);
  padding-top: 27px;
}
.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.game-tile {
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  text-align: left;
  transition: transform 0.15s;
}
.game-tile:hover {
  transform: translateY(-3px);
}
.game-tile > img {
  grid-column: 1/-1;
  width: 100%;
  aspect-ratio: 460/215;
  object-fit: cover;
  display: block;
}
.game-tile > span {
  padding: 17px;
}
.game-tile strong {
  font-size: 15px;
  display: block;
  overflow-wrap: anywhere;
}
.game-tile small {
  color: var(--muted);
  font-size: 11px;
  display: block;
  margin-top: 3px;
}
.game-tile > b {
  align-self: center;
  padding: 16px;
  font-weight: 400;
  font-size: 22px;
}
.workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
#results {
  display: grid;
  gap: 5px;
  max-height: 850px;
  overflow-y: auto;
  padding: 3px;
}
.result {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 4px;
  text-align: left;
}
.result:hover {
  background: #eaf0e7;
}
.result[aria-pressed="true"] {
  background: #e4edde;
  border-color: #b9cbb0;
}
.result img {
  width: 74px;
  aspect-ratio: 460/215;
  object-fit: cover;
  border-radius: 2px;
}
.result strong {
  font-size: 12px;
  line-height: 1.4;
  display: block;
  overflow-wrap: anywhere;
}
.result small {
  font-size: 10px;
  color: var(--muted);
}
#message {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
#message:empty {
  display: none;
}
.empty-detail {
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}
.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
}
.detail-top h2 {
  font-size: 27px;
  line-height: 1.3;
  margin: 8px 0 14px;
  overflow-wrap: anywhere;
}
.detail-top .cover {
  width: 100%;
  aspect-ratio: 460/215;
  object-fit: cover;
  border-radius: 4px;
}
.tags {
  font-size: 11px;
  color: var(--green);
  margin: 8px 0;
}
.description {
  font-size: 13px;
  line-height: 1.9;
  color: #5b685e;
  margin: 20px 0;
}
.game-metadata {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  font-size: 12px;
}
.metadata-section { min-width: 0; }
.metadata-section h3 {
  font-size: 12px;
  font-weight: 650;
  margin: 0 0 10px;
}
.game-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.game-chips li {
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 3px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.tag-chips li { background: #e9f0f4; color: #315a72; border-color: #d3e1e9; }
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 22px 0;
}
.support-list { margin: 0 0 18px; padding-left: 18px; }
.support-list li { margin: 4px 0; overflow-wrap: anywhere; }
.metadata-empty, .platforms { color: var(--muted); margin: 8px 0; }
.language-details summary { cursor: pointer; color: var(--green); padding: 4px 0; }
.language-table { min-height: 0; max-height: 320px; overflow: auto; margin-top: 8px; }
.language-table th, .language-table td { padding: 8px; }
.language-table th:first-child { white-space: normal; min-width: 100px; }
.language-table th:not(:first-child), .language-table table td { text-align: center; }
.language-table tbody th { color: inherit; font-weight: 400; }
.language-yes { color: var(--green); font-weight: 650; }
.language-no { color: var(--muted); }
@media (max-width: 640px) {
  .support-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
.store-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 12px;
  border-bottom: 1px solid #a3b299;
  padding: 4px 0;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0;
  background: #eaf0e5;
  border: 1px solid #d6e1cf;
  border-radius: 6px;
}
.player-trend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px 0 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.player-trend > div:first-child {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 150px;
}
.player-trend .eyebrow {
  margin: 0;
  font-size: 9px;
}
.player-trend h3 {
  margin: 2px 0;
  font-size: 13px;
}
.player-trend strong {
  font-size: 23px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.player-trend small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.player-chart {
  display: grid;
  place-items: center;
  width: min(48%, 300px);
  height: 72px;
  color: var(--muted);
  font-size: 11px;
}
.player-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}
.price-block {
  padding: 20px 24px;
}
.price-block + .price-block {
  border-left: 1px solid #d6e1cf;
}
.price-block h3 {
  font-size: 12px;
  font-weight: 500;
  color: #52624b;
  margin: 0 0 9px;
}
.price-value {
  font-size: 29px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.price-note {
  font-size: 11px;
  color: #687460;
  margin-top: 8px;
}
.discount {
  font-size: 11px;
  background: #cee9b8;
  color: #305123;
  padding: 3px 6px;
  border-radius: 3px;
  margin-left: 8px;
  white-space: nowrap;
}
del {
  margin-right: 6px;
}
.warning {
  font-size: 12px;
  color: #755e21;
  background: #f5f0db;
  padding: 10px 14px;
  border-left: 2px solid #baa45f;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-top: 25px;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 10px 0;
  font-size: 13px;
  color: var(--muted);
}
.tabs button[aria-selected="true"] {
  border-color: var(--green);
  color: var(--green);
  font-weight: 650;
}
.table-wrap {
  overflow-x: auto;
  min-height: 100px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
}
td,
th {
  text-align: left;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}
th {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
}
td:last-child,
th:last-child {
  text-align: right;
}
td a {
  text-decoration: none;
  color: var(--green);
  border-bottom: 1px solid #b3c1a9;
}
.table-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 24px;
}
.metadata {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 6px 12px;
  font-size: 12px;
  margin: 24px 0;
}
.metadata dt {
  color: var(--muted);
}
.metadata dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.screenshots {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.screenshots a {
  flex: 0 0 68%;
}
.screenshots img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
}
footer {
  border-top: 1px solid var(--line);
  max-width: 1200px;
  margin: auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 10px;
}
footer > span {
  font-weight: 750;
  color: #465a49;
}
footer p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}
footer small {
  font-size: 10px;
}
footer .beian {
  color: var(--muted);
  font-size: 10px;
  text-decoration: none;
}
footer .beian:hover {
  color: inherit;
  text-decoration: underline;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1000px) {
  body:has(.workspace:not([hidden])) .search-area {
    padding-top: 32px;
  }
  body:has(.workspace:not([hidden])) #search-view h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
  }
  .detail-top {
    grid-template-columns: 1fr;
  }
  .detail-top .cover {
    grid-row: 1;
    max-width: 460px;
  }
  .discover-grid {
    gap: 12px;
  }
  h1 {
    font-size: 34px;
  }
}
@media (max-width: 640px) {
  .topbar {
    height: 65px;
    padding: 0 20px;
  }
  .brand {
    font-size: 12px;
  }
  .status {
    font-size: 10px;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  main {
    padding: 0 20px 40px;
  }
  .search-area {
    padding: 34px 0 30px;
  }
  h1 {
    font-size: 30px;
    line-height: 1.4;
  }
  h1 br {
    display: block;
  }
  form {
    flex-wrap: wrap;
    gap: 10px;
  }
  .search-input {
    flex-basis: 100%;
  }
  .region-label {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .suggestions {
    gap: 4px;
    font-size: 11px;
  }
  .discover-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .game-tile {
    grid-template-columns: 125px 1fr 32px;
    align-items: center;
  }
  .game-tile > img {
    grid-column: auto;
    height: 100%;
    min-height: 87px;
  }
  .game-tile > span {
    padding: 12px;
  }
  .game-tile > b {
    padding: 0;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  #results {
    display: flex;
    max-height: none;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .result {
    width: 155px;
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 7px;
  }
  .result img {
    width: 100%;
    height: 65px;
  }
  .result strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .detail-top {
    gap: 10px;
  }
  .detail-top h2 {
    font-size: 25px;
  }
  .price-block {
    padding: 16px 13px;
  }
  .price-value {
    font-size: 24px;
  }
  .price-note {
    font-size: 10px;
  }
  .screenshots a {
    flex-basis: 88%;
  }
  footer {
    margin: 0 20px;
    padding: 20px 0;
    gap: 10px;
  }
  footer p {
    flex-basis: 100%;
  }
  .section-line {
    margin-bottom: 12px;
  }
  body:has(.workspace:not([hidden])) #search-view h1 {
    font-size: 25px;
  }
  body:has(.workspace:not([hidden])) #search-view .eyebrow {
    display: none;
  }
}
.workspace > aside,
.workspace > article {
  min-width: 0;
}
.workspace:has(#results:empty) {
  grid-template-columns: minmax(0, 1fr);
}
.workspace:has(#results:empty) > aside {
  display: none;
}
.feature-nav {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}
.feature-nav button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 19px 0 15px;
  white-space: nowrap;
  font-size: 14px;
}
.feature-nav button[aria-selected="true"] {
  color: var(--green);
  border-color: var(--green);
  font-weight: 700;
}
.library-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(160px, .6fr) auto;
  align-items: end;
  gap: 16px;
  margin: 28px 0 8px;
}
.library-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.library-form input,
.library-form select {
  min-width: 0;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #a4b5a4;
  border-radius: 4px;
  background: #fff;
  color: #263d2d;
  font-size: 13px;
}
.library-form button,
.share-actions button {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #264e3d;
  border-radius: 4px;
  background: #264e3d;
  color: white;
  font-size: 12px;
}
.library-form button:hover,
.share-actions button:hover:not(:disabled) {
  background: #193d2d;
}
.library-results {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.library-stats,
.library-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.library-stats > div,
.library-values > div {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 82px;
  padding: 12px 14px;
  border-left: 3px solid #52865c;
  background: #e9f0e8;
}
.library-stats span,
.library-values span {
  color: var(--muted);
  font-size: 11px;
}
.library-stats strong,
.library-values strong {
  overflow-wrap: anywhere;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.library-results h2 {
  margin: 22px 0 12px;
  font-size: 17px;
}
.library-overlap {
  color: var(--muted);
  font-size: 12px;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.share-actions button:disabled {
  opacity: .5;
}
#library-card {
  display: block;
  width: min(100%, 760px);
  height: auto;
  border: 1px solid var(--line);
}
.feature-nav button:disabled {
  cursor: default;
  opacity: 1;
  color: #89938c;
}
.feature-nav small {
  font-size: 9px;
  margin-left: 5px;
  color: #89938c;
}

/* Modern Steam-inspired skin. The classic skin remains the default fallback
   when the user selects 旧版, so this layer only changes presentation. */
.modern-theme {
  --green: #66c0f4;
  --muted: #8f9bad;
  --line: #2b3544;
  color: #e8edf5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% -20%, #1d3449 0, transparent 48%),
    #101722;
}
html:has(body.modern-theme) {
  min-height: 100%;
  background: #101722;
}
.modern-theme main {
  flex: 1 0 auto;
  width: 100%;
}
.modern-theme * {
  scrollbar-width: thin;
  scrollbar-color: #52677d #17212e;
}
.modern-theme *::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
.modern-theme *::-webkit-scrollbar-track {
  background: #17212e;
  border-radius: 8px;
}
.modern-theme *::-webkit-scrollbar-thumb {
  background: #52677d;
  border: 2px solid #17212e;
  border-radius: 8px;
}
.modern-theme *::-webkit-scrollbar-thumb:hover {
  background: #7793ad;
}
.modern-theme *::-webkit-scrollbar-corner {
  background: #17212e;
}
.modern-theme .topbar {
  max-width: none;
  height: 72px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  border-bottom-color: #263241;
  background: rgba(13, 20, 30, .9);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
}
.modern-theme .brand {
  color: #f3f7fb;
  letter-spacing: .08em;
}
.modern-theme .brand img {
  filter: drop-shadow(0 0 12px #66c0f477);
}
.modern-theme .topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.modern-theme .status {
  color: #aeb8c7;
}
.modern-theme .status i {
  background: #66c0f4;
  box-shadow: 0 0 10px #66c0f4;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #b7c2d0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font-size: 11px;
}
.theme-toggle .ui-icon { width: 15px; height: 15px; }
.modern-theme .theme-toggle {
  border-color: #40546b;
  background: #182434;
  color: #dce8f5;
}
.modern-theme main {
  max-width: 1320px;
  padding-bottom: 80px;
}
.modern-theme .feature-nav {
  border-bottom-color: #293545;
  gap: 26px;
}
.modern-theme .feature-nav button {
  color: #9baabd;
}
.modern-theme .feature-nav button[aria-selected="true"] {
  color: #fff;
  border-color: #66c0f4;
}
.modern-theme .search-area {
  max-width: 930px;
  padding: 64px 0 45px;
}
.modern-theme .eyebrow {
  color: #66c0f4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.modern-theme h1 {
  color: #f4f7fb;
  font-size: clamp(32px, 4vw, 52px);
}
.modern-theme .search-input {
  background: #182231;
  border-color: #40546b;
  border-radius: 5px;
  box-shadow: 0 16px 40px #050a1066;
}
.modern-theme .search-input:focus-within { border-color: #66c0f4; }
.modern-theme .search-input input { color: #f2f6fb; }
.modern-theme .search-input input::placeholder { color: #718197; }
.modern-theme .search-input > button {
  background: #1a9fff;
  border-radius: 4px;
}
.modern-theme .search-input > button:hover { background: #4db5ff; }
.modern-theme .suggest-panel {
  background: #182231;
  border-color: #40546b;
  box-shadow: 0 14px 34px #050a1066;
}
.modern-theme .suggest-item { background: #182231; color: #e8edf5; }
.modern-theme .suggest-item:hover,
.modern-theme .suggest-item[aria-selected="true"] { background: #263c50; color: #fff; }
.modern-theme select {
  color: #d9e3ef;
  border-color: #354457;
  background-color: #182231;
  color-scheme: dark;
}
.modern-theme select option {
  color: #d9e3ef;
  background-color: #182231;
}
.modern-theme .suggestions button { color: #aeb9c8; text-decoration-color: #40546b; }
.modern-theme .suggestions button:hover { color: #66c0f4; }
.modern-theme .discover,
.modern-theme .workspace {
  border-color: #2b3544;
}
.modern-theme .discover-grid { gap: 16px; }
.modern-theme .game-tile,
.modern-theme .result,
.modern-theme .player-trend,
.modern-theme .game-dialog-shell {
  background: #172130;
  border-color: #2d3b4d;
  color: #e8edf5;
}
.modern-theme .game-tile {
  border-radius: 5px;
  box-shadow: 0 10px 24px #050a1026;
}
.modern-theme .game-tile:hover {
  transform: translateY(-4px);
  border-color: #527897;
  box-shadow: 0 16px 30px #050a104d;
}
.modern-theme .game-tile small,
.modern-theme .result small,
.modern-theme .description,
.modern-theme .table-note,
.modern-theme th,
.modern-theme #message { color: #8f9bad; }
.modern-theme .workspace {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  padding-top: 28px;
}
.modern-theme #results {
  gap: 9px;
  padding: 2px;
}
.modern-theme .result {
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 10px;
}
.modern-theme .result:hover { background: #203044; }
.modern-theme .result[aria-pressed="true"] {
  background: #203b52;
  border-color: #4f7898;
}
.modern-theme .result img { border-radius: 3px; }
.modern-theme .detail-top {
  display: flex;
  flex-direction: column-reverse;
  gap: 18px;
}
.modern-theme .detail-top .cover {
  max-width: none;
  width: 100%;
  aspect-ratio: 16 / 6;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 18px 36px #050a1066;
}
.modern-theme .detail-top h2 { font-size: clamp(28px, 4vw, 44px); color: #fff; margin-top: 0; }
.modern-theme .tags { color: #a9d9f5; }
.modern-theme .store-link { color: #66c0f4; border-color: #466a84; }
.modern-theme .price-grid {
  background: #172130;
  border-color: #304154;
  border-radius: 5px;
  box-shadow: 0 14px 30px #050a1033;
}
.modern-theme .price-block + .price-block { border-color: #304154; }
.modern-theme .price-block h3,
.modern-theme .price-note { color: #93a3b7; }
.modern-theme .price-value { color: #7ee787; }
.modern-theme .price-block + .price-block .price-value { color: #f0c674; }
.modern-theme .discount,
.modern-theme .low-flag.is-new { background: #244f3b; color: #8ee6a8; }
.modern-theme .player-trend { box-shadow: 0 14px 30px #050a1033; }
.modern-theme .player-trend strong { color: #7ee787; }
.modern-theme .tabs { border-color: #2b3544; }
.modern-theme .tabs button { color: #8492a5; }
.modern-theme .tabs button[aria-selected="true"] { color: #66c0f4; border-color: #66c0f4; }
.modern-theme td { border-color: #2b3544; }
.modern-theme td a { color: #66c0f4; border-color: #466a84; }
.modern-theme .low-row { border-color: #2b3544; }
.modern-theme .low-row:has(a:hover) { background: #17283a; }
.modern-theme .low-cover { background: #202c3b; }
.modern-theme .low-flag { background: #27384a; color: #b2c8dd; }
.modern-theme .low-discount { color: #7ee787; }
.modern-theme .low-price strong { color: #f0c674; }
.modern-theme .low-buy { background: #20384d; color: #66c0f4; border-color: #385a74; }
.modern-theme .low-buy:hover { background: #2a4c66; color: #fff; }
.modern-theme .weekly-weeks button,
.modern-theme .weekly-more button {
  background: #182434;
  border-color: #34465b;
  color: #dce8f5;
}
.modern-theme .weekly-weeks button:hover:not(:disabled),
.modern-theme .weekly-more button:hover:not(:disabled) {
  background: #22364b;
  border-color: #527897;
}
.modern-theme .release-day-heading {
  background: #1a2635;
  border-bottom-color: #304154;
  color: #e8edf5;
}
.modern-theme .release-day-heading time,
.modern-theme .release-day-heading > span {
  color: #9baabd;
}
.modern-theme summary.release-day-heading:hover {
  background: #203044;
}
.modern-theme .release-day-heading .ui-icon {
  color: #8fabc4;
}
.modern-theme footer {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - 1320px) / 2));
  padding-left: max(24px, calc((100vw - 1320px) / 2));
  border-color: #2b3544;
  background: #0d141e;
  color: #7f8da0;
}
.modern-theme footer > span { color: #b9c8d8; }
.modern-theme .game-dialog::backdrop { background: #050a10cc; }
.modern-theme .game-dialog-shell { box-shadow: 0 24px 80px #0008; }
.modern-theme .library-stats > div,
.modern-theme .library-values > div { background: #1b2a39; border-color: #4c9ac8; }
.modern-theme .library-form input,
.modern-theme .library-form select,
.modern-theme .lows-filters input { background: #182231; border-color: #40546b; color: #e8edf5; }
.modern-theme .library-form button,
.modern-theme .share-actions button { background: #1a9fff; border-color: #1a9fff; }
@media (max-width: 640px) {
  .modern-theme .topbar { padding: 0 20px; }
  .modern-theme .topbar {
    position: relative;
    top: auto;
    backdrop-filter: none;
  }
  .modern-theme footer { padding: 20px; }
  .modern-theme .status { display: none; }
  .modern-theme .topbar-actions { gap: 0; }
  .modern-theme .workspace { grid-template-columns: 1fr; }
  .modern-theme .detail-top .cover { aspect-ratio: 16 / 8; }
  .modern-theme .price-grid { grid-template-columns: 1fr; }
  .modern-theme .price-block + .price-block { border-left: 0; border-top: 1px solid #304154; }
  .modern-theme .player-trend { align-items: stretch; flex-direction: column; }
  .modern-theme .player-chart { width: 100%; }
}
.daily-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 35px;
}
.daily-heading h1 {
  font-size: 30px;
  margin: 0;
}
.daily-heading .eyebrow {
  margin-bottom: 6px;
}
#lows-updated {
  font-size: 11px;
  color: var(--muted);
}
.daily-intro {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 25px;
}
.lows-filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.lows-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.lows-filters select {
  font-size: 13px;
  min-width: 95px;
  padding: 6px 22px 6px 0;
}
.lows-filters input {
  width: 112px;
  min-width: 0;
  border: 1px solid #a4b5a4;
  border-radius: 6px;
  padding: 5px 8px;
  color: inherit;
  background: #fff;
  font-size: 13px;
}
#lows-message {
  font-size: 12px;
  color: var(--muted);
  min-height: 20px;
  margin: 16px 0 6px;
}
.lows-list {
  min-height: 220px;
}
.low-row {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 72px 170px 32px;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.low-cover {
  display: block;
  width: 140px;
  aspect-ratio: 400/187;
  object-fit: cover;
  border-radius: 4px;
  background: #e7ece3;
}
.daily-value-row {
  grid-template-columns: 140px minmax(180px, 1fr) 264px 145px 32px;
}
.daily-value-row .low-price .low-discount { display: block; margin-top: 3px; font-size: 13px; }
.low-value {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 118px;
  font-size: 11px;
}
.value-heading { line-height: 1.4; }
.value-heading strong { font-size: 22px; color: #48a7ba; }
.value-heading small, .value-cost, .value-unavailable { color: var(--muted); }
.value-cost { margin: 2px 0 7px; overflow-wrap: anywhere; }
.value-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.value-part { display: grid; grid-template-columns: 60px minmax(20px, 1fr) 20px; gap: 5px; align-items: center; }
.value-part > span:first-child { white-space: nowrap; }
.value-part > span:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.value-part progress { width: 100%; height: 5px; border: 0; border-radius: 2px; overflow: hidden; background: var(--line); accent-color: #48a7ba; }
.value-part progress::-webkit-progress-bar { background: var(--line); }
.value-part progress::-webkit-progress-value { background: #48a7ba; }
.value-part progress::-moz-progress-bar { background: #48a7ba; }
.value-part:nth-child(2) progress::-webkit-progress-value { background: #69bb85; }
.value-part:nth-child(3) progress::-webkit-progress-value { background: #d2b15e; }
.value-part:nth-child(4) progress::-webkit-progress-value { background: #ac98cf; }
.value-warning { display: block; color: var(--muted); margin-top: 6px; font-size: 10px; overflow-wrap: anywhere; }
.game-reviews { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 16px 0; }
.game-reviews > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; }
.game-reviews span, .game-reviews small, .game-reviews-empty { color: var(--muted); font-size: 12px; }
.game-reviews strong { color: var(--green); font-size: 15px; }
@media (max-width: 1100px) {
  .low-row.daily-value-row { grid-template-columns: 110px minmax(0, 1fr) 125px 30px; gap: 12px; }
  .daily-value-row .low-cover { width: 110px; }
  .daily-value-row .low-value { grid-column: 2 / -1; grid-row: 2; min-height: 0; max-width: 360px; }
}
@media (max-width: 640px) {
  .low-row.daily-value-row { grid-template-columns: 90px minmax(0, 1fr) 28px; }
  .daily-value-row .low-cover { width: 90px; }
  .daily-value-row .low-value { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; }
  .daily-value-row .low-price { grid-column: 1 / 3; grid-row: 3; }
  .daily-value-row .low-buy { grid-row: 3; }
}
.image-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.low-game {
  min-width: 0;
}
.low-game h2 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.low-game h2 a {
  text-decoration: none;
}
.low-game h2 a:hover {
  text-decoration: underline;
}
.low-game h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.low-row:has(a:hover) {
  background: #edf2e9;
}
.low-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.low-flag {
  background: #e6edde;
  color: #4e6541;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
}
.low-flag.is-new {
  background: #d5edbb;
  color: #2f5225;
}
.low-game > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.low-game .voucher {
  color: #72581a;
}
.low-discount {
  font-size: 15px;
  color: var(--green);
  font-weight: 700;
}
.low-price {
  text-align: right;
}
.low-price strong {
  font-size: 19px;
  display: block;
  overflow-wrap: anywhere;
}
.low-price strong small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.low-price del {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin: 2px 0 0;
}
.low-buy {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #edf2e8;
  color: #3c6046;
  border: 1px solid #d9e3d2;
  border-radius: 4px;
  text-decoration: none;
}
.low-buy:hover {
  background: #dce9d3;
  color: #244b32;
}
.low-buy .ui-icon {
  width: 16px;
  height: 16px;
}
.back-to-lows {
  display: inline-block;
  font-size: 12px;
  color: var(--green);
  margin-bottom: 18px;
  text-underline-offset: 4px;
}
.history-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 20px 0;
}
.history-controls label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}
.history-controls select {
  font-size: 12px;
  max-width: 210px;
}
.history-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.history-stats span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.history-stats strong {
  display: block;
  font-size: 21px;
  overflow-wrap: anywhere;
}
.history-chart {
  position: relative;
  height: 300px;
  width: 100%;
  margin: 25px 0 12px;
}
.history-chart canvas {
  max-width: 100%;
}
.history-chart > p {
  padding: 100px 15px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
#history-panel .section-line h3, #modal-history-panel .section-line h3 {
  font-size: 14px;
  margin: 0;
}
.history-records {
  margin: 24px 0 12px;
  font-size: 12px;
}
.history-records summary {
  cursor: pointer;
  padding: 10px 0;
}
#history-log,
#history-episodes,
#modal-history-log,
#modal-history-episodes {
  max-height: 300px;
  overflow: auto;
}
.history-empty {
  padding: 40px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.history-empty button {
  border: 1px solid #bdcbb6;
  border-radius: 4px;
  padding: 8px 14px;
  background: #fff;
}
@media (max-width: 640px) {
  .history-chart {
    height: 250px;
  }
  .history-stats {
    gap: 10px;
  }
  .history-stats strong {
    font-size: 17px;
  }
  .history-stats span {
    font-size: 10px;
  }
  .history-controls {
    gap: 12px;
  }
  .history-controls label {
    min-width: 0;
    max-width: 100%;
  }
  .history-controls select {
    max-width: 180px;
  }
  #detail .tabs, #game-dialog-detail .tabs {
    gap: 18px;
  }
  #detail .tabs button, #game-dialog-detail .tabs button {
    font-size: 12px;
    white-space: nowrap;
  }
}
.game-dialog-open { overflow: hidden; }
.game-dialog {
  width: min(960px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8f5;
  color: inherit;
  overscroll-behavior: contain;
}
.game-dialog::backdrop { background: #12251f99; }
.game-dialog-heading {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; border-bottom: 1px solid var(--line); background: #f6f8f5;
}
.game-dialog-heading h2 { font-size: 15px; margin: 0; overflow-wrap: anywhere; }
.game-dialog-heading button {
  display: grid; place-items: center; flex: 0 0 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 4px; background: #fff;
}
#game-dialog-detail { padding: 24px; min-width: 0; }
@media (max-width: 640px) {
  .game-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .game-dialog-heading { padding: 10px 16px; }
  #game-dialog-detail { padding: 16px; }
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 0 10px;
  font-size: 12px;
}
.pagination > div {
  display: flex;
  gap: 10px;
}
.pagination button,
.lows-error button {
  background: #fff;
  border: 1px solid #bdcbb6;
  border-radius: 4px;
  padding: 8px 13px;
  font-size: 12px;
}
.pagination button:disabled {
  cursor: default;
  opacity: 0.4;
}
.lows-error {
  text-align: center;
  padding: 45px 12px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 800px) {
  .low-row {
    grid-template-columns: 110px minmax(0, 1fr) 62px 125px 30px;
    gap: 12px;
  }
  .low-cover {
    width: 110px;
  }
}
@media (max-width: 640px) {
  .feature-nav {
    gap: 23px;
    margin: 0 -20px;
    padding: 0 20px;
  }
  .feature-nav button {
    font-size: 13px;
  }
  .feature-nav small {
    display: none;
  }
  .daily-heading {
    padding-top: 26px;
  }
  .daily-heading h1 {
    font-size: 27px;
  }
  .daily-intro {
    font-size: 11px;
  }
  .library-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .library-form button {
    width: 100%;
  }
  .library-stats,
  .library-values {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .player-trend {
    gap: 10px;
    padding: 12px;
  }
  .player-trend > div:first-child {
    min-width: 130px;
  }
  .player-chart {
    width: 48%;
  }
  .lows-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .lows-filters select,
  .lows-filters input {
    min-width: 0;
    width: 100%;
    font-size: 12px;
  }
  .low-row {
    grid-template-columns: 90px minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 16px 0;
  }
  .low-cover {
    grid-column: 1;
    grid-row: 1;
    width: 90px;
  }
  .low-game {
    grid-column: 2 / 4;
    grid-row: 1;
  }
  .low-game h2 {
    font-size: 13px;
  }
  .low-discount {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
  }
  .low-price {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
  .low-price strong {
    font-size: 17px;
  }
  .low-buy {
    grid-column: 3;
    grid-row: 2;
    width: 28px;
    height: 28px;
  }
  .pagination {
    gap: 8px;
  }
  .pagination button {
    padding: 8px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.weekly-toolbar {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.weekly-weeks { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.weekly-weeks strong { font-size: 13px; font-weight: 500; }
.weekly-weeks button, .weekly-more button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: 12px;
}
.weekly-weeks button:disabled { cursor: default; opacity: .4; }
.weekly-updated, #weekly-message { color: var(--muted); font-size: 12px; }
#weekly-message { min-height: 20px; margin: 18px 0; }
.release-day { margin-bottom: 28px; }
details.release-day { margin-bottom: 12px; }
summary.release-day-heading { cursor: pointer; list-style: none; }
summary.release-day-heading::-webkit-details-marker { display: none; }
summary.release-day-heading > span:first-child { flex: 1; color: inherit; font-size: 16px; }
summary.release-day-heading > .ui-icon { width: 16px; height: 16px; transition: transform 150ms; }
.release-day[open] > summary .ui-icon { transform: rotate(90deg); }
.release-day-message { font-size: 12px; color: var(--muted); margin: 12px 0; }
.release-day-message:empty { display: none; }
.release-day-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; background: #e9efed; border-bottom: 1px solid var(--line);
}
.release-day-heading h2 { margin: 0; font-size: 16px; }
.release-day-heading time { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 10px; }
.release-day-heading > span { font-size: 11px; color: var(--muted); }
.release-row .low-game h3 { margin: 0 0 9px; font-size: 15px; overflow-wrap: anywhere; line-height: 1.5; }
.release-row h3 a { text-decoration: none; }
.release-row h3 a:hover { text-decoration: underline; }
.release-row h3 a::after { content: ""; position: absolute; inset: 0; }
.release-row .game-chips { font-size: 10px; }
.release-row .low-discount { font-size: 13px; }
.list-review {
  min-height: 18px; margin: 5px 0 0; font-size: 11px; color: #315a72;
}
.list-tags { min-height: 23px; margin-top: 7px; font-size: 10px; }
.list-meta-placeholder { color: var(--muted); font-size: 10px; }
.release-original { font-size: 11px; color: var(--muted); }
.release-original del { display: inline; }
.weekly-more { display: flex; justify-content: center; padding: 5px 0 20px; }
@media (max-width: 640px) {
  .weekly-toolbar { gap: 16px; }
  .weekly-weeks { gap: 6px; }
  .weekly-weeks strong { font-size: 11px; }
  .weekly-weeks button { min-width: 28px; padding: 0 5px; }
  .release-row .low-game h3 { font-size: 13px; }
  .release-row .game-chips { gap: 4px; }
  .release-row .game-chips li { padding: 1px 5px; }
}

/* 新版主题：全宽吸顶页头 + 悬浮功能标签栏 */
.modern-theme .topbar {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #0b121b;
}
.modern-theme .feature-nav {
  position: sticky;
  top: 72px;
  z-index: 25;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(24px, calc((100vw - 1320px) / 2));
  padding-right: max(24px, calc((100vw - 1320px) / 2));
  background: #0b121bf2;
  backdrop-filter: blur(16px);
}
html:has(body.modern-theme) {
  overflow-x: clip;
}
@media (max-width: 640px) {
  .modern-theme .topbar {
    position: sticky;
    top: 0;
    backdrop-filter: blur(16px);
    background: #0b121bf7;
  }
  .modern-theme .feature-nav {
    top: 72px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* 首页高度收敛，避免轻微内容溢出出现滚动条 */
.modern-theme main {
  padding-bottom: 40px;
}
.modern-theme .search-area {
  padding-top: 52px;
  padding-bottom: 32px;
}
.modern-theme footer {
  padding-top: 20px;
  padding-bottom: 20px;
}
.modern-theme .topbar {
  padding: 0 24px;
}
@media (max-width: 640px) {
  .modern-theme .topbar {
    padding: 0 20px;
  }
}

/* 新版主题：翻页按钮与详情弹窗标题 */
.modern-theme .pagination {
  color: #8f9bad;
}
.modern-theme .pagination button {
  background: #182434;
  border-color: #40546b;
  color: #dce8f5;
  border-radius: 5px;
}
.modern-theme .pagination button:hover:not(:disabled) {
  background: #1c2b3d;
  border-color: #66c0f4;
}
.modern-theme .pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.modern-theme .lows-error button {
  background: #182434;
  border-color: #40546b;
  color: #dce8f5;
}
.modern-theme .game-dialog {
  background: #0f1722;
  border-color: #2d3b4d;
  color: #e8edf5;
}
.modern-theme .game-dialog-heading {
  background: #0f1722;
  border-bottom-color: #2d3b4d;
}
.modern-theme .game-dialog-heading h2 {
  color: #e8edf5;
}
.modern-theme .game-dialog-heading button {
  background: #182434;
  border-color: #40546b;
  color: #dce8f5;
}
.modern-theme .game-dialog-heading button:hover {
  background: #22344a;
  border-color: #66c0f4;
}

/* 新版主题页脚去掉 auto 外边距，避免移动端横向溢出 */
.modern-theme footer {
  margin: 0;
}
