/* 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 .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: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 {
  aspect-ratio: 3 / 4.35;
}
.featured-hero-grid .catalog-card-info {
  padding-top: 7px;
}
.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: 38px;
  padding-bottom: 10px;
}
.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;
  gap: 2px;
  padding-top: 7px;
  text-align: center;
}
.content-shell .featured-hero-grid .catalog-card-info h2 {
  margin: 0;
  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: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: invert(1) grayscale(1) contrast(.66);
  opacity: .66;
  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 .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: invert(1) grayscale(1) contrast(.66);
  opacity: .66;
}
.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 {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 96px;
  padding: 18px;
  border: 1px solid #edf0f2;
  border-radius: 10px;
  background: linear-gradient(135deg, #fbfcfd 0%, #f7f8f9 100%);
  color: #293138;
  gap: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.game-tool-card-grid > a:hover {
  border-color: #e1e5e8;
  box-shadow: 0 10px 24px rgba(31, 40, 48, .07);
  transform: translateY(-2px);
}
.tool-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  color: #9b7774;
  box-shadow: inset 0 0 0 1px rgba(155, 119, 116, .12);
}
.tool-card-icon svg { width: 24px; height: 24px; }
.tool-card-copy { display: grid; min-width: 0; gap: 6px; }
.tool-card-copy strong { font-size: 15px; font-weight: 600; }
.tool-card-copy small { overflow: hidden; color: #8b9298; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.game-tool-card-grid i { color: #9aa1a7; 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: 1fr;
  }
  .home-navigation-grid a + a,
  .home-navigation-grid a:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #e8ebed;
  }
}
