/* Homepage editorial treatment; deliberately scoped to existing surfaces. */
.hero[hidden],.category-nav[hidden] { display:none; }
.home-status-line { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:11px; color:#93999d; padding:0 0 16px; border-bottom:1px solid #eceff1; white-space:nowrap; }
.home-status-line strong { font-weight:500; color:#737b82; }
.content-shell .home-shortcuts { margin-top:4px; }
.content-shell .home-shortcuts .home-catalog-grid { grid-template-columns:repeat(8,minmax(0,1fr)); gap:4px; border-top:1px solid #edf0f2; padding-top:16px; }
.content-shell .home-shortcuts .home-catalog-grid a { flex-direction:column; justify-content:center; gap:6px; min-height:66px; padding:6px 0; background:transparent; border:0; }
.content-shell .home-shortcuts .home-catalog-grid a:hover { background:#f6f7f8; }
.home-shortcuts .home-catalog-copy strong { font-size:12px; font-weight:400; white-space:nowrap; }
.home-shortcuts .home-catalog-arrow { display:none; }
.home-bottom-updates { grid-column:1/-1; margin-top:12px; padding-top:20px; border-top:1px solid #eceff1; }
.content-shell .home-bottom-updates .section-title { margin-bottom:10px; }
.content-shell .home-bottom-updates .section-title > span { font-size:12px; font-weight:400; color:#90979c; }
.home-bottom-updates .update-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.home-bottom-updates .update-list li { padding:4px 0; gap:8px; }
.home-bottom-updates .update-list strong { font-size:12px; font-weight:400; color:#7b8389; }
.home-bottom-updates .update-list time { font-size:11px; }
.home-bottom-updates .update-list p { display:none; }
@media(max-width:680px) { .content-shell .home-shortcuts .home-catalog-grid { grid-template-columns:repeat(4,minmax(0,1fr)); row-gap:8px; } .home-bottom-updates { margin-top:0; padding-top:16px; } .home-bottom-updates .update-list { grid-template-columns:1fr; gap:4px; } }
.hero { min-height: 380px; padding: 100px 24px 48px; }
.hero-panel h1 { font-size: clamp(28px, 3.5vw, 46px); font-weight: 650; line-height: 1.25; white-space: normal; letter-spacing: -.025em; }
.hero-panel .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .2em; margin-bottom: 14px; }
.hero-panel .search-form { max-width: 660px; margin-top: 26px; box-shadow: 0 8px 28px #18273512; }
.content-shell { grid-template-columns: minmax(0,1fr) 300px; column-gap: 32px; padding-top: 16px; }
.content-shell .side-column { padding-left: 0; gap: 24px; }
.community-layout { grid-template-columns: minmax(0,1fr) 300px; column-gap: 32px; }
.content-shell .left-column { gap: 24px; }
.content-shell .left-column > .section-block { padding-bottom: 8px; border-top: 0; }
.content-shell .section-title { border: 0; margin-bottom: 18px; }
.content-shell .left-column .section-title > span:first-child { font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.content-shell .side-column .section-title > span:first-child { font-size: 16px; font-weight: 600; }
.content-shell .section-title a,.content-shell .section-title .section-caption { color: #8c9196; font-size: 12px; font-weight: 400; }
.content-shell .side-column .guide-panel { padding-top: 0; padding-bottom: 0; }
.content-shell .side-column .clock-panel { padding: 20px; background: #f6f7f8; border: 1px solid #eef0f2; border-radius: 8px; }
.featured-hero-grid { gap: 10px; }
.featured-hero-grid .catalog-art { background: #f5f6f7; border-radius: 6px; }
.featured-hero-grid .catalog-card:hover { box-shadow: none; transform: translateY(-2px); }
.version-grid { gap: 16px 22px; }
.version-grid > a:first-child { position: relative; isolation: isolate; min-height: 238px; border: 0; border-radius: 8px; padding: 24px; overflow: hidden; background: #26343b; color: #fff; }
.version-grid > a:first-child::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#142027e8,#14202755),var(--homepage-version-cover,url('./assets/sidebar-ad-placeholder-wide.png')) center / cover; }
.version-grid > a:first-child .entry-kicker { color: #e5c9a2; }
.version-grid > a:first-child h2 { color: #fff; font-size: 23px; font-weight: 600; line-height: 1.5; }
.version-grid > a:first-child p { color: #d0d8dc; font-size: 13px; }
.version-grid > a:first-child .entry-action { color: #f1d8b3; font-size: 12px; }
.version-grid > a:not(:first-child) { justify-content: center; padding: 6px 0; }
.version-grid > a:not(:first-child) h2 { font-size: 15px; font-weight: 600; }
.version-grid > a:not(:first-child) .entry-kicker { color: #9b7774; font-size: 12px; }
.version-grid > a:not(:first-child) p { color: #858b90; font-size: 12px; }
.beginner-section .quick-grid.newcomer-card-grid a { position: relative; border: 0; border-radius: 6px; background: #20262b; padding: 0; overflow: hidden; }
.beginner-section .quick-grid.newcomer-card-grid a::after { content: ''; display: block; position: absolute; inset: 38% 0 0; background: linear-gradient(180deg,transparent,rgba(10,14,18,.82)); pointer-events: none; }
.newcomer-card-grid img { display: block; border-radius: 0; object-position: center; filter: saturate(.78); transition: transform .2s ease,filter .2s ease; }
.beginner-section .newcomer-card-grid strong { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 9px; margin: 0; color: #fff; text-align: left; font-size: 13px; font-weight: 700; line-height: 1.4; text-shadow: 0 1px 8px rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.beginner-section .newcomer-card-grid a:hover img { transform: scale(1.025); filter: saturate(.95); }
.home-catalog-grid a,.home-tool-grid a { background: #f7f8f9; border-color: transparent; border-radius: 6px; min-height: 62px; padding: 10px; gap: 8px; box-shadow: none; }
.home-catalog-grid a:hover,.home-tool-grid a:hover { background: #f1f3f5; border-color: #e5e8eb; box-shadow: none; transform: none; }
.home-catalog-icon { width: 30px; height: 32px; background: transparent; color: #997572; }
.home-catalog-icon svg { width: 22px; height: 22px; }
.home-catalog-copy strong,.home-tool-grid strong { font-size: 13px; font-weight: 500; }
.home-tool-grid span { color: #997572; font-size: 12px; }
.home-guide-grid small { display: none; }
.home-guide-grid a { padding: 14px 0; gap: 7px; }
.home-guide-grid strong { font-weight: 500; }
.home-guide-grid span { color: #969ba0; }
.notice-item { padding: 6px 0; }
.notice-item h2 { font-size: 13px; font-weight: 400; }

@media (max-width: 760px) {
  .legacy-game-home .hero {
    height: 30vh;
    height: 30svh;
    min-height: 220px;
    max-height: 260px;
    grid-template-rows: minmax(0, 1fr);
    padding: 52px 16px 10px;
  }
  .legacy-game-home .hero-panel { min-height: 0; }
  .legacy-game-home .hero-panel .eyebrow { margin-bottom: 4px; font-size: 9px; }
  .legacy-game-home .hero-panel h1 { font-size: clamp(22px, 6.5vw, 30px); line-height: 1.15; }
  .legacy-game-home .hero-panel .search-form { margin-top: 9px; }
  .legacy-game-home .hero-panel .search-form input { min-height: 44px; }
  .legacy-game-home .hero-panel .search-form button { width: 36px; height: 36px; min-width: 36px; }
  .legacy-game-home .hero-panel .hot-tags { gap: 0 5px; margin-top: 2px; }
  .legacy-game-home .hero-panel .hot-tags button { padding: 2px; font-size: 10px; }
}

@media (max-width: 680px) {
  .content-shell .version-grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: stretch;
    gap: 10px;
  }
  .content-shell .version-grid > a:first-child {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
    padding: 14px 12px;
  }
  .content-shell .version-grid .version-side-content {
    min-height: 0;
    height: 100%;
  }
  .content-shell .version-grid .dungeon-guide-panel {
    height: 100%;
    padding: 0;
  }
  .content-shell .version-grid .dungeon-guide-grid {
    height: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(6, minmax(0, 1fr));
  }
  .content-shell .version-grid .dungeon-guide-grid a {
    padding-inline: 8px;
    font-size: 12px;
  }
  .content-shell .version-grid .dungeon-guide-grid a:hover { padding-left: 10px; }
}
@media(max-width:1000px) { .content-shell,.community-layout { grid-template-columns:minmax(0,1fr) 260px; column-gap:24px; } }
@media(max-width:920px) { .content-shell { grid-template-columns:1fr; } }
@media(max-width:860px) { .community-layout { grid-template-columns:1fr; } }
@media(max-width:680px) { .hero { min-height:320px; padding:92px 20px 36px; } .hero-panel .eyebrow { font-size:10px; } .content-shell .left-column { gap:22px; } .version-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:auto; gap:18px 16px; } .version-grid > a:first-child { grid-column:1 / -1; grid-row:auto; min-height:210px; } .home-catalog-grid,.home-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
/* Build a clear homepage hierarchy: guide anchor, compact hero rail, quiet newcomer row. */
.content-shell .left-column > .version-section {
  order: -3;
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}
.content-shell .left-column > .up-section {
  order: -2;
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 0 18px;
  padding: 22px 0 20px;
  border: 0;
  border-top: 1px solid #e9edef;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.content-shell .left-column > .beginner-section {
  order: -1;
  margin-top: 10px;
}
.version-section .section-title {
  margin-bottom: 14px;
}
.version-grid {
  grid-template-columns: minmax(0, 2.65fr) repeat(2, minmax(0, 1fr));
}
.version-grid > a:first-child {
  min-height: 310px;
  padding: 30px;
}
.version-grid > a:first-child h2 {
  max-width: 330px;
  margin-top: 10px;
  font-size: 27px;
  line-height: 1.4;
}
.version-grid > a:first-child p {
  max-width: 360px;
  margin-top: 8px;
  font-size: 14px;
}
.version-grid > a:first-child .entry-action {
  padding-top: 48px;
}
.content-shell .up-section .section-title {
  margin-bottom: 13px;
}
.content-shell .up-section .section-title > span:first-child {
  font-size: 17px;
  letter-spacing: 0;
}
.featured-hero-grid {
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 14px;
}
.featured-hero-grid .catalog-art {
  position: relative;
  aspect-ratio: 3 / 4.35;
}
.featured-hero-grid .catalog-art-window {
  position: absolute;
  inset: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.featured-hero-grid .catalog-art img {
  width: auto;
  max-width: none;
  height: 100%;
  flex: none;
}
.featured-hero-grid .catalog-card-info {
  padding-top: 7px;
}
.featured-hero-grid .featured-hero-catalog {
  display: inline-block;
  justify-self: center;
  max-width: 100%;
  padding: 1px 6px;
  border-radius: 4px;
  background: #eef3f0;
  color: #69747d;
  font-size: 11px;
  line-height: 1.5;
}
.featured-hero-grid .featured-hero-empty {
  grid-column: 1 / -1;
  color: #89939b;
  font-size: 13px;
}
.beginner-section .quick-grid.newcomer-card-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
.beginner-section .newcomer-card-grid a:nth-child(n+5) {
  display: none;
}
.newcomer-card-grid img {
  aspect-ratio: 16 / 9;
}
.content-shell .beginner-section .section-title > span:first-child {
  font-size: 18px;
}
@media(max-width:680px) {
  .content-shell .left-column > .up-section {
    width: 100%;
    margin: 0 0 12px;
    padding: 18px 0;
  }
  .version-grid > a:first-child {
    min-height: 230px;
    padding: 24px;
  }
  .version-grid > a:first-child h2 {
    font-size: 23px;
  }
  .featured-hero-grid {
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 8px;
  }
  .beginner-section .quick-grid.newcomer-card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* Modular homepage panels, borrowing the hub page's card rhythm without cloning it. */
.content-shell {
  align-items: start;
  column-gap: 18px;
}
.content-shell .left-column {
  gap: 14px;
}
.content-shell .left-column > .version-section,
.content-shell .left-column > .up-section,
.content-shell > .side-column {
  border: 1px solid #e7ebee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 39, 51, .035);
}
.content-shell .left-column > .version-section {
  padding: 18px 20px 20px;
}
.content-shell .left-column > .up-section {
  margin: 0;
  padding: 18px 20px 20px;
  border-top: 1px solid #e7ebee;
}
.content-shell > .side-column {
  gap: 0;
  padding: 18px 18px 20px;
}
.content-shell .version-section .section-title,
.content-shell .up-section .section-title {
  position: relative;
  min-height: 28px;
  margin: 0 0 14px;
  padding-left: 12px;
}
.content-shell .version-section .section-title::before,
.content-shell .up-section .section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: #ef5b5b;
}
.content-shell .version-section .section-title > span:first-child,
.content-shell .up-section .section-title > span:first-child {
  font-size: 18px;
  font-weight: 650;
}
.content-shell .version-grid {
  gap: 14px 18px;
}
.content-shell .featured-hero-grid {
  gap: 12px;
}
.content-shell .featured-hero-grid .catalog-art {
  background: #f3f5f6;
}
.content-shell > .side-column .home-status-line {
  min-height: 54px;
  padding: 0 0 16px;
  border-bottom-color: #edf0f2;
}
.content-shell > .side-column .home-status-line time {
  color: #181d21;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.content-shell > .side-column .guide-panel {
  padding: 18px 0 0;
}
.content-shell > .side-column .guide-panel + .guide-panel {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid #edf0f2;
}
.content-shell > .side-column .section-title {
  min-height: 24px;
  margin-bottom: 10px;
}
.content-shell > .side-column .notice-item {
  padding: 7px 0;
}
.content-shell > .side-column .benefit-code-list {
  gap: 7px;
}
@media(max-width:920px) {
  .content-shell > .side-column {
    width: 100%;
  }
}
@media(max-width:680px) {
  .content-shell .left-column > .version-section,
  .content-shell .left-column > .up-section,
  .content-shell > .side-column {
    padding: 16px;
    border-radius: 8px;
  }
}
/* Full-width hero showcase and softer, borderless content hierarchy. */
.content-shell {
  grid-template-columns: minmax(0, 1fr) 336px;
  column-gap: 24px;
  row-gap: 16px;
}
.content-shell .left-column {
  display: contents;
}
.content-shell .left-column > .version-section {
  grid-column: 1;
  grid-row: 1;
}
.content-shell > .side-column {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
}
.content-shell .left-column > .up-section {
  grid-column: 1 / -1;
  grid-row: 2;
}
.content-shell .left-column > .beginner-section {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 8px;
}
.content-shell .left-column > .home-catalog-section {
  grid-column: 1 / -1;
  grid-row: 4;
}
.content-shell > .home-bottom-updates {
  grid-column: 1 / -1;
  grid-row: 5;
}
.content-shell .left-column > .version-section,
.content-shell .left-column > .up-section,
.content-shell > .side-column {
  border: 0;
  background: #fff;
  box-shadow: 0 12px 34px rgba(33, 45, 57, .055);
}
.content-shell .left-column > .version-section {
  border-radius: 12px;
  padding: 20px 22px 22px;
}
.content-shell .left-column > .up-section {
  border: 0;
  border-radius: 12px;
  padding: 20px 22px 22px;
  background: linear-gradient(135deg, #fff 0%, #fbfcfd 100%);
}
.content-shell > .side-column {
  border-radius: 12px;
  padding: 20px;
}
.content-shell .version-section .section-title,
.content-shell .up-section .section-title {
  padding-left: 0;
}
.content-shell .version-section .section-title::before,
.content-shell .up-section .section-title::before {
  display: none;
}
.content-shell .version-section .section-title > span:first-child,
.content-shell .up-section .section-title > span:first-child {
  color: #20262b;
  font-size: 18px;
  font-weight: 650;
}
.content-shell .featured-hero-grid {
  grid-template-columns: repeat(5, minmax(0, 164px));
  justify-content: space-between;
  gap: 24px;
}
.content-shell .featured-hero-grid .catalog-art {
  border-radius: 8px;
  background: #f1f3f4;
}
.content-shell .featured-hero-grid .catalog-card:hover {
  transform: translateY(-4px);
}
@media(max-width:920px) {
  .content-shell {
    grid-template-columns: 1fr;
  }
  .content-shell .left-column > .version-section,
  .content-shell > .side-column,
  .content-shell .left-column > .up-section,
  .content-shell .left-column > .beginner-section,
  .content-shell .left-column > .home-catalog-section,
  .content-shell > .home-bottom-updates {
    grid-column: 1;
    grid-row: auto;
  }
  .content-shell .left-column > .version-section { order: 1; }
  .content-shell > .side-column { order: 2; }
  .content-shell .left-column > .up-section { order: 3; }
  .content-shell .left-column > .beginner-section { order: 4; }
  .content-shell .left-column > .home-catalog-section { order: 5; }
  .content-shell > .home-bottom-updates { order: 6; }
}
@media(max-width:680px) {
  .content-shell .featured-hero-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }
}
/* Keep the information rail aligned with the guide feature without crowding it. */
.content-shell > .side-column {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 0;
  padding: 14px 18px 22px;
}
.content-shell > .side-column .home-status-line {
  min-height: 32px;
  padding-bottom: 6px;
}
.content-shell > .side-column .home-status-line time {
  font-size: 16px;
}
.content-shell > .side-column .guide-panel {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  padding-top: 10px;
}
.content-shell > .side-column .guide-panel + .guide-panel {
  margin-top: 6px;
  padding-top: 10px;
}
.content-shell > .side-column .section-title {
  margin-bottom: 6px;
}
.content-shell > .side-column .notice-item {
  padding: 3px 0;
}
.content-shell > .side-column .notice-item h2 {
  line-height: 1.45;
}
.content-shell > .side-column .benefit-code-list {
  width: 100%;
  gap: 4px;
}
.content-shell > .side-column .benefit-code-row {
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: clamp(64px, 24%, 72px) minmax(0, 1fr) auto;
  min-height: 32px;
  padding: 4px 7px 4px 10px;
  border: 0;
  border-radius: 6px;
  background: #f6f8f7;
}
.content-shell > .side-column .benefit-code-row time {
  padding-right: 4px;
  border-right: 0;
  color: #87918b;
}
.content-shell > .side-column .benefit-code-row > span {
  padding: 0 8px;
  color: #535e57;
}
.content-shell > .side-column .benefit-code-row button {
  min-width: 38px;
  height: 24px;
  padding: 0 6px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #68776e;
}
.content-shell > .side-column .benefit-code-row button:hover,
.content-shell > .side-column .benefit-code-row button:focus-visible {
  background: #e8edea;
  color: #35483d;
}
.home-promotion-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}
.home-promotion-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 60px;
  overflow: hidden;
  border: 1px solid #e7eaec;
  border-radius: 8px;
  background: #eef1f2;
  color: #fff;
  isolation: isolate;
}
.home-promotion-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 33, .08), rgba(20, 28, 33, .78));
  content: '';
}
.home-promotion-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7);
  transition: transform .2s ease, filter .2s ease;
}
.home-promotion-card > span {
  align-self: end;
  display: grid;
  min-width: 0;
  padding: 9px 10px;
  gap: 2px;
}
.home-promotion-card strong,
.home-promotion-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-promotion-card strong { font-size: 12px; font-weight: 600; }
.home-promotion-card small { color: rgba(255, 255, 255, .76); font-size: 10px; }
.home-promotion-card:hover img { filter: saturate(.9); transform: scale(1.035); }
/* Compact UP roster: supporting index beneath the dominant guide banner. */
.content-shell .featured-hero-grid {
  grid-template-columns: repeat(8, minmax(0, 112px));
  justify-content: space-between;
  gap: 24px;
}
.content-shell .featured-hero-grid .catalog-card-info {
  display: grid;
  min-width: 0;
  gap: 2px;
  padding-top: 7px;
  text-align: center;
}
.content-shell .featured-hero-grid .catalog-card-info h2 {
  color: #35413b;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 500;
}
.featured-hero-date {
  color: #9aa1a7;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}
@media(max-width:1100px) {
  .content-shell .featured-hero-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
  }
}
@media(max-width:760px) {
  .content-shell .featured-hero-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 10px;
  }
}

/* Version guide side panel: visual hero reviews above concise dungeon links. */
.content-shell .version-grid {
  grid-template-columns: 560px minmax(0, 1fr);
  grid-auto-rows: auto;
  align-items: stretch;
  gap: 22px;
}
.content-shell .version-grid > a:first-child {
  grid-row: auto;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 10;
  box-sizing: border-box;
}
.version-side-content {
  display: block;
  min-width: 0;
  min-height: 350px;
  background: transparent;
}
.hero-review-panel,
.dungeon-guide-panel {
  padding: 8px 0;
}
.hero-review-panel {
  display: flex;
  align-items: center;
  background: transparent;
}
.dungeon-guide-panel {
  display: block;
  height: 100%;
  padding: 0;
  border-top: 0;
}
.hero-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 9px;
}
.hero-review-grid a {
  min-width: 0;
  color: #343b41;
  text-align: center;
}
.hero-review-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 6px;
  border-radius: 8px;
  background: #f0f2f3;
  object-fit: cover;
  object-position: center 16%;
  box-shadow: 0 5px 14px rgba(32, 43, 52, .08);
  transition: transform .2s ease;
}
.hero-review-grid a:hover img {
  transform: translateY(-2px);
}
.hero-review-grid span {
  display: block;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dungeon-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  width: 100%;
  height: 100%;
  gap: 0;
}
.dungeon-guide-grid a {
  display: flex;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 14px;
  border-bottom: 1px solid rgba(39, 49, 56, .07);
  border-radius: 0;
  background: transparent;
  color: #293138;
  font-size: 13px;
  line-height: 1.4;
  transition: color .18s ease, background .18s ease, padding .18s ease, box-shadow .18s ease;
}
.dungeon-guide-grid a[hidden] {
  display: none !important;
}
.dungeon-guide-grid a:last-child {
  border-bottom: 0;
}
.dungeon-guide-grid a > b {
  overflow: hidden;
  font-weight: 560;
  letter-spacing: .01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dungeon-guide-grid a:hover {
  color: #bd4945;
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(189, 73, 69, .055), transparent 72%);
  box-shadow: inset 2px 0 0 rgba(189, 73, 69, .72);
}
.dungeon-guide-grid a.is-active {
  color: #bd4945;
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(189, 73, 69, .07), transparent 82%);
  box-shadow: inset 2px 0 0 #d6534f;
}
.dungeon-guide-grid a.is-active > b {
  font-weight: 650;
}
@media(max-width:820px) {
  .content-shell .version-grid {
    grid-template-columns: 1fr;
  }
  .version-side-content {
    min-height: 0;
  }
  .content-shell .version-grid > a:first-child {
    height: auto;
    min-height: 0;
  }
}

/* Newcomer area: a quiet four-step index, secondary to the guide banner. */
.content-shell .beginner-section {
  padding: 20px 22px 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 40, 48, .045);
}
.content-shell .beginner-section .section-title {
  display: flex;
  align-items: baseline;
  min-height: 28px;
  margin: 0 0 14px;
  gap: 10px;
}
.content-shell .beginner-section .section-title > span:first-child {
  color: #20262b;
  font-size: 18px;
  font-weight: 650;
}
.beginner-all-link {
  margin-left: auto;
  color: #7f878d;
  font-size: 12px;
  white-space: nowrap;
}
.newcomer-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.newcomer-step-grid a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  min-width: 0;
  padding: 10px 20px;
  color: #30373d;
  transition: color .18s ease, background .18s ease;
}
.newcomer-step-grid .step-thumb {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  filter: none;
  opacity: 1;
  box-shadow: none;
}
.newcomer-step-grid a + a {
  border-left: 1px solid #e8ebed;
}
.newcomer-step-grid a:hover {
  color: #bd4945;
  background: #f7f8f9;
}
.newcomer-step-grid .step-number {
  align-self: start;
  padding-top: 3px;
  color: #929aa1;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.newcomer-step-grid .step-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}
.newcomer-step-grid strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.newcomer-step-grid small {
  overflow: hidden;
  color: #8e959b;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.newcomer-step-grid i {
  margin-left: 0;
  color: #929aa1;
  font-style: normal;
}
@media(max-width:920px) {
  .newcomer-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .newcomer-step-grid a:nth-child(3) {
    border-left: 0;
  }
  .newcomer-step-grid a:nth-child(n+3) {
    border-top: 1px solid #e8ebed;
  }
}
@media(max-width:560px) {
  .content-shell .beginner-section .section-title {
    flex-wrap: wrap;
  }
  .content-shell .beginner-section .section-caption {
    order: 3;
    width: 100%;
  }
  .newcomer-step-grid {
    grid-template-columns: 1fr;
  }
  .newcomer-step-grid a + a,
  .newcomer-step-grid a:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #e8ebed;
  }
}

/* Shared navigation module used by both newcomer and catalog panels. */
.content-shell .left-column > .home-resource-row {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin-top: 8px;
}
.home-resource-row > .home-navigation-section {
  min-width: 0;
  margin: 0;
  padding: 20px 22px 22px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 40, 48, .045);
}
.home-resource-row > .home-navigation-section.is-feature-navigation { grid-column: 1 / -1; }
.home-resource-row > .home-navigation-section .section-title {
  display: flex;
  align-items: baseline;
  min-height: 28px;
  margin: 0 0 14px;
  gap: 10px;
}
.home-resource-row > .home-navigation-section .section-title > span:first-child {
  color: #20262b;
  font-size: 18px;
  font-weight: 650;
}
.home-navigation-all {
  margin-left: auto;
  color: #7f878d;
  font-size: 12px;
  white-space: nowrap;
}
.home-navigation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-navigation-grid a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  padding: 10px 20px;
  color: #30373d;
  column-gap: 12px;
  transition: color .18s ease, background .18s ease;
}
.home-navigation-grid a + a {
  border-left: 1px solid #e8ebed;
}
.home-navigation-grid a:nth-child(3) {
  border-left: 0;
}
.home-navigation-grid a:nth-child(n+3) {
  border-top: 1px solid #e8ebed;
}
.home-navigation-grid a:hover {
  color: #bd4945;
  background: #f7f8f9;
}
.home-navigation-thumb {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  filter: none;
  opacity: 1;
}
.home-navigation-thumb.is-placeholder { background: #e5e9e6; }
.is-feature-navigation .game-tool-card-grid { margin-top: 2px; }
.home-navigation-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}
.home-navigation-copy strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-navigation-copy small {
  overflow: hidden;
  color: #8e959b;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-navigation-grid i {
  color: #929aa1;
  font-style: normal;
}
.content-shell .left-column > .home-shortcuts {
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 0;
  padding: 18px 22px 20px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 40, 48, .045);
}
.content-shell .left-column > .home-shortcuts .section-title {
  margin-bottom: 10px;
}
.game-tool-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.game-tool-card-grid > a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 124px;
  padding: 24px 22px;
  overflow: hidden;
  border: 1px solid #1c3b32;
  border-radius: 10px;
  background: #17382e;
  color: #fff;
  gap: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.game-tool-card-grid > a:nth-child(2) { background: #2b4039; }
.game-tool-card-grid > a:nth-child(3) { background: #39433d; }
.game-tool-card-grid > a::before,
.game-tool-card-grid > a::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.game-tool-card-grid > a::before {
  background: var(--game-tool-card-image) center / cover no-repeat;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .18s ease, transform .22s ease;
}
.game-tool-card-grid > a.has-image::before { opacity: .36; }
.game-tool-card-grid > a::after {
  background: transparent;
}
.game-tool-card-grid > a.has-image::after { background: linear-gradient(90deg, rgba(17,31,25,.92) 0%, rgba(17,31,25,.7) 58%, rgba(17,31,25,.34) 100%); }
.game-tool-card-grid > a:hover {
  border-color: #527061;
  box-shadow: 0 10px 24px rgba(31, 40, 48, .07);
  transform: translateY(-2px);
}
.game-tool-card-grid > a.has-image:hover::before { transform: scale(1.05); }
.tool-card-icon {
  display: none;
}
.tool-card-icon svg { width: 24px; height: 24px; }
.tool-card-icon img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; filter: grayscale(.35); opacity: .78; }
.tool-card-copy { position: relative; z-index: 1; display: grid; min-width: 0; gap: 8px; }
.tool-card-copy strong { color: #fff; font-size: 16px; font-weight: 600; }
.tool-card-copy small { overflow: hidden; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.game-tool-card-grid i { position: relative; z-index: 1; align-self: end; color: rgba(255,255,255,.66); font-size: 11px; font-style: normal; white-space: nowrap; }
@media(max-width:920px) { .game-tool-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width:620px) { .game-tool-card-grid { grid-template-columns: 1fr; } }
.content-shell > .home-bottom-updates {
  grid-row: 5;
}
@media(max-width:920px) {
  .content-shell .left-column > .home-resource-row {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 1fr;
    order: 4;
  }
}
@media(max-width:560px) {
  .home-resource-row > .home-navigation-section .section-title {
    flex-wrap: wrap;
  }
  .home-navigation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-navigation-grid a:nth-child(odd) {
    border-left: 0;
  }
  .home-navigation-grid a:nth-child(even) {
    border-left: 1px solid #e8ebed;
  }
  .home-navigation-grid a:nth-child(n+3) {
    border-top: 1px solid #e8ebed;
  }
}



/* WAP-only homepage refinements. Keep this final so base rules cannot override it. */
@media(max-width:680px) {
  .content-shell {
    padding-top: 12px;
    padding-bottom: 0;
    row-gap: 12px;
  }

  .content-shell .left-column > .home-shortcuts {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .content-shell .left-column > .home-resource-row {
    gap: 16px;
    margin-top: 0;
  }

  .home-resource-row > .home-navigation-section {
    padding-top: 14px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-navigation-grid a {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    padding: 15px 16px;
  }

  .home-navigation-thumb {
    width: 46px;
    height: 46px;
  }

  .shared-game-shell .legacy-game-home .version-section .dungeon-guide-grid {
    grid-auto-rows: minmax(36px, auto);
  }

  .shared-game-shell .legacy-game-home .content-shell .left-column > .version-section {
    padding-bottom: 8px;
  }

  /* Readiness is independent of the script's cache/version identifier. */
  .catalog-layout:not(:has(.collection-entries[data-catalog-types-ready])) {
    visibility: hidden;
  }

  .content-shell > .side-column .benefit-code-row button {
    background: #dfe6e2;
    color: #4e6056;
  }

  .home-status-line > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .home-status-line > span::before {
    content: '';
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238a9690' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.25' y='3.25' width='11.5' height='10.5' rx='2'/%3E%3Cpath d='M5 1.75v3M11 1.75v3M2.5 6.75h11'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .game-tool-card-grid i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 32px;
    padding: 0 9px;
    border-radius: 5px;
    background: #e3e8e9;
    color: #536068;
    font-size: 0;
    font-weight: 600;
    transform: translateX(4px);
  }

  .game-tool-card-grid i::before {
    content: '进入';
    font-size: 13px;
  }

  .content-shell .section-title > a {
    display: inline-flex;
    align-items: center;
  }

  .content-shell .section-title > a::after {
    content: '›';
    margin-left: 5px;
    color: currentColor;
    font-size: 18px;
    line-height: 1;
  }
}

.content-shell > .side-column .community-hot-section {
  padding-top: 2px;
}

.content-shell > .side-column .community-hot-section .section-title {
  margin-bottom: 4px;
}

.content-shell > .side-column .community-hot-list {
  display: grid;
  gap: 0;
}

.content-shell > .side-column .community-hot-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 58px;
  padding: 9px 2px;
  border-top: 1px solid #eceeec;
  color: #1f2d27;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}

.content-shell > .side-column .community-hot-item:first-child {
  border-top-color: #dde4df;
}

.content-shell > .side-column .community-hot-item:hover {
  background: linear-gradient(90deg, rgba(49, 88, 65, .055), transparent 86%);
}

.content-shell > .side-column .community-hot-rank {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe6e1;
  border-radius: 50%;
  background: #f5f8f6;
  color: #65756c;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.content-shell > .side-column .community-hot-item:first-child .community-hot-rank {
  border-color: #c8d8ce;
  background: #eaf2ed;
  color: #28513b;
}

.content-shell > .side-column .community-hot-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.content-shell > .side-column .community-hot-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #18231e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.content-shell > .side-column .community-hot-meta {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  color: #929b96;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.content-shell > .side-column .community-hot-meta > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-shell > .side-column .community-hot-category {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 999px;
  background: #eef3f0;
  color: #47705a;
}

.content-shell > .side-column .community-hot-item > i {
  color: #a8b1ac;
  font-size: 12px;
  font-style: normal;
  transform: translateX(-2px);
  transition: color .16s ease, transform .16s ease;
}

.content-shell > .side-column .community-hot-item:hover > i {
  color: #315841;
  transform: translateX(0);
}

/* Match the opening cards and always reserve three announcement rows. */
@media (min-width: 921px) {
  .content-shell > .side-column .home-status-line {
    min-height: 0;
    flex: 0 0 auto;
    align-items: baseline;
    padding-bottom: 2px;
    border-bottom: 1px solid #edf0f2;
  }
  .content-shell > .side-column .home-status-line + .notice-panel {
    margin-top: 0;
    padding-top: 12px;
  }
  .content-shell > .side-column .home-status-line #current-date {
    margin-bottom: 6px;
  }
  .content-shell > .side-column .home-status-line > time,
  .content-shell > .side-column .home-status-line > span {
    position: relative;
    top: -10px;
  }

  .content-shell .left-column > .version-section {
    align-self: start;
  }

  .content-shell > .side-column {
    align-self: stretch;
  }

  .content-shell > .side-column .notice-panel {
    min-height: 115px;
  }
}

.content-shell > .side-column .guide-panel.community-hot-section {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #edf0f2;
}

.content-shell > .side-column .community-hot-section .section-title {
  min-height: 24px;
  margin-bottom: 6px;
}

.content-shell > .side-column .community-hot-item {
  display: block;
  min-height: 0;
  padding: 4px 0;
  border-top: 0;
  color: #626c67;
}

.content-shell > .side-column .community-hot-item:first-child {
  border-top: 0;
}

.content-shell > .side-column .community-hot-item > strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-shell > .side-column .community-hot-item:hover {
  color: #35483d;
  background: transparent;
}

@media (min-width: 921px) {
  .content-shell > .side-column .community-hot-item > strong {
    font-size: 12px;
  }
}

@media (max-width: 680px) {
  .legacy-game-home .catalog-layout .catalog-card-toolbar {
    display: grid;
    grid-template-columns: calc((100% - 66px) / 3) 42px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }
  .legacy-game-home .catalog-layout .catalog-card-toolbar > .catalog-filter-select {
    display: block;
    min-width: 0;
  }
  .legacy-game-home .catalog-layout .catalog-card-toolbar > select {
    width: 100%;
    min-width: 0;
  }
  .legacy-game-home .catalog-layout .catalog-card-toolbar > input {
    order: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
  }
}

.benefits-mobile-description {
  display: none;
}

/* Final mobile overrides: keep the hero compact and place the guide art beside its links. */
@media (max-width: 680px) {
  .legacy-game-home .benefits-desktop-description {
    display: none;
  }
  .legacy-game-home .benefits-mobile-description {
    display: inline;
  }
  .legacy-game-home .benefits-layout {
    padding-top: 20px;
  }
  .legacy-game-home .benefits-page-heading {
    margin-bottom: 28px;
  }

  .legacy-game-home .benefits-code-board {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
  }

  .legacy-game-home .benefits-code-card {
    border-radius: 8px;
  }

  .legacy-game-home .benefits-code-card > div {
    border-radius: 6px;
  }

  .legacy-game-home .benefits-code-card button {
    border-radius: 5px;
  }

  .legacy-game-home .benefits-desktop-prefix {
    display: none;
  }

  .legacy-game-home .benefits-code-board > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 5px 8px;
  }

  .legacy-game-home .benefits-code-board > header > div {
    display: contents;
  }

  .legacy-game-home .benefits-code-board > header strong {
    grid-column: 1;
    grid-row: 1;
    line-height: 1;
  }

  .legacy-game-home .benefits-code-board > header > div > span {
    display: none;
  }

  .legacy-game-home .benefits-code-board > header > span {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    white-space: nowrap;
    align-self: end;
    line-height: 1;
  }

  .legacy-game-home .benefits-code-card > header time,
  .legacy-game-home .benefits-code-card > header small {
    font-size: 12px;
  }

  .legacy-game-home .benefits-code-card > header strong {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .legacy-game-home .benefits-code-card > div {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .legacy-game-home .benefits-code-card button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .legacy-game-home .content-shell .section-title > a {
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
  }

  .legacy-game-home .content-shell .section-title > a::after {
    content: '';
    display: block;
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    margin-left: 6px;
    margin-right: 2px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
  }

  .legacy-game-home .benefits-page-heading h1 {
    font-size: 24px;
  }

  .legacy-game-home .benefits-page-heading small {
    display: none;
  }

  .legacy-game-home .content-shell {
    padding-top: 0;
  }

  .legacy-game-home .content-shell .featured-hero-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .legacy-game-home .content-shell .featured-hero-grid > .catalog-card:nth-child(n + 5) {
    display: none;
  }

  .legacy-game-home .hero {
    display: grid !important;
    height: 30svh !important;
    min-height: 220px !important;
    max-height: 260px !important;
    place-items: center !important;
    grid-template-rows: minmax(0, 1fr) !important;
    padding: 52px 16px 10px !important;
    overflow: hidden;
  }

  .legacy-game-home .hero-panel {
    min-height: 0;
  }

  .legacy-game-home .hero-panel .eyebrow { margin-bottom: 4px; font-size: 9px; }
  .legacy-game-home .hero-panel h1 { font-size: clamp(22px, 6.5vw, 30px); line-height: 1.15; }
  .legacy-game-home .hero-panel .search-form { margin-top: 9px; }
  .legacy-game-home .hero-panel .search-form input { min-height: 44px; }
  .legacy-game-home .hero-panel .search-form button { width: 36px; height: 36px; min-width: 36px; }
  .legacy-game-home .hero-panel .hot-tags { gap: 0 5px; margin-top: 2px; }
  .legacy-game-home .hero-panel .hot-tags button { padding: 2px; font-size: 10px; }

  .legacy-game-home .content-shell .version-grid {
    grid-template-columns: minmax(0, 65fr) minmax(0, 35fr) !important;
    grid-auto-rows: auto;
    align-items: stretch;
    gap: 10px;
  }

  .legacy-game-home .content-shell .version-grid > a:first-child {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding: 14px 12px;
  }

  .legacy-game-home .content-shell .version-grid > a:first-child::before {
    background:
      linear-gradient(180deg, rgba(12, 20, 26, .04) 0%, rgba(12, 20, 26, .24) 36%, rgba(12, 20, 26, .82) 82%),
      var(--homepage-version-cover, url('./assets/sidebar-ad-placeholder-wide.png')) center / cover;
  }

  .legacy-game-home .content-shell .version-grid > a:first-child h2 {
    margin-top: auto;
  }

  .legacy-game-home .content-shell .version-grid > a:first-child .entry-action {
    display: none;
  }

  .legacy-game-home .content-shell .version-grid > a:first-child h2 {
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
  }

  .legacy-game-home .content-shell .version-grid > a:first-child p {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .legacy-game-home .content-shell .version-grid .version-side-content {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
    height: auto;
  }

  .legacy-game-home .content-shell .version-grid .dungeon-guide-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    padding: 0;
  }

  .legacy-game-home .content-shell .version-grid .dungeon-guide-grid {
    flex: 0 0 auto;
    height: 168px;
    overflow-y: hidden;
    overflow-x: hidden;
    touch-action: pan-y;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none !important;
    grid-auto-rows: 42px;
  }

  .legacy-game-home .content-shell .version-grid .dungeon-guide-grid a {
    min-width: 0;
    padding: 12px 8px;
    font-size: 12px;
  }
}

@media(max-width:560px) {
  .home-resource-row > .home-navigation-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  .home-navigation-grid a {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 7px;
    min-height: 64px;
    padding: 8px 6px;
  }
  .home-navigation-thumb {
    width: 36px;
    height: 36px;
  }
  .home-navigation-copy strong {
    font-size: 13px;
  }
  .home-navigation-copy small {
    font-size: 11px;
  }
  .home-navigation-grid i {
    display: none;
  }
}

