/* 首页原猫强化：保留既有素材、配色、顺序与跳转，增加角色留白与信息层级。 */
.stage-hub-hero {
  grid-template-columns: 1.15fr .85fr !important;
  min-height: 300px !important;
  gap: 8px !important;
}
.stage-hub-copy { z-index: 3 !important; }
.stage-hub-visual { height: 226px !important; }
html body .stage-hub-hero .stage-hub-mascot {
  width: 178px !important;
  height: 256px !important;
  max-width: none !important;
  right: -12px !important;
  left: auto !important;
  top: -14px !important;
  bottom: auto !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  transform: none !important;
  filter: drop-shadow(0 14px 12px rgba(23, 19, 33, .28)) !important;
}

.stage-list { gap: 16px !important; }
html body .stage-row {
  min-height: 256px !important;
  padding: 14px !important;
  gap: 10px !important;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 24px rgba(23, 19, 33, .09) !important;
  isolation: isolate;
}
.stage-row::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -42px;
  top: 50%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transform: translateY(-50%);
  pointer-events: none;
}
.stage-row:nth-child(even) { flex-direction: row-reverse; }
.stage-row:nth-child(even)::before { left: auto; right: -42px; }
html body .stage-row > img {
  position: relative;
  z-index: 1;
  width: 196px !important;
  height: 238px !important;
  max-width: none !important;
  margin: 0 -36px 0 -16px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  filter: drop-shadow(0 12px 10px rgba(15, 12, 26, .22)) !important;
}
html body .stage-row:nth-child(even) > img { margin: 0 -16px 0 -36px !important; }
.stage-row-body { position: relative; z-index: 2; }
.stage-row-body > b {
  font-size: 21px !important;
  line-height: 1.3 !important;
  letter-spacing: .01em;
}
.stage-row-body > small {
  margin: 8px 0 10px !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  opacity: .92 !important;
}
.stage-row-count {
  min-height: 30px;
  padding: 4px 12px !important;
  letter-spacing: .01em;
}
.stage-row-stage {
  z-index: 3;
  top: 16px !important;
  right: 16px !important;
  opacity: .46 !important;
}
.stage-row.vocational-stage-entry,
.stage-row.counterpart-stage-entry,
.stage-row.upgrade-stage-entry {
  border-color: rgba(23, 19, 33, .14) !important;
}
.stage-row:focus-visible {
  outline: 3px solid #171321;
  outline-offset: 3px;
}

@media (max-width: 350px) {
  .stage-hub-hero {
    grid-template-columns: 1.15fr .85fr !important;
    min-height: 280px !important;
  }
  .stage-hub-visual { height: 210px !important; }
  html body .stage-hub-hero .stage-hub-mascot {
    width: 160px !important;
    height: 230px !important;
    right: -12px !important;
    top: -10px !important;
  }
  .stage-hub-hero h1 { font-size: 30px !important; }
  html body .stage-row { min-height: 250px !important; }
  html body .stage-row > img {
    width: 170px !important;
    height: 222px !important;
    margin: 0 -28px 0 -14px !important;
  }
  html body .stage-row:nth-child(even) > img { margin: 0 -14px 0 -28px !important; }
}

@media (min-width: 768px) {
  .stage-hub-hero {
    grid-template-columns: minmax(0, 1fr) 220px !important;
    min-height: 360px !important;
    gap: 16px !important;
  }
  .stage-hub-visual { height: 290px !important; }
  html body .stage-hub-hero .stage-hub-mascot {
    width: 220px !important;
    height: 316px !important;
    right: 0 !important;
    top: -10px !important;
  }
  .stage-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
  html body .stage-row { min-height: 256px !important; }
  html body .stage-row > img {
    width: 196px !important;
    height: 238px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-row:hover { transform: none; }
}
