/* 梦回石光远古乐园官网 · 新手上路 / 养成玩法 两页的补充版式（guide-starter.css）
   叠在 guide-expansion.css 之上使用：body.exp-page.st-page（新手页用默认配色，养成页加 theme-growth）。
   排版原则：每节一个重点、少字多留白、细节收进折叠区。严格遵守 CSP：零内联样式。 */

/* ================= 1. 养成页配色 ================= */
.exp-page.theme-growth {
  --exp-primary: #0f7f86;
  --exp-primary-soft: #e6f6f6;
  --exp-secondary: #cf6a12;
  --exp-secondary-soft: #fff3e3;
  --exp-deep: #0b4f57;
  --exp-ink: #22302f;
  --exp-muted: #5f6f6e;
  --exp-paper: #fbfefe;
  --exp-card: #ffffff;
  --exp-line: #cfe6e6;
  --exp-line-strong: #a9d2d3;
  --exp-glow: #8df0e2;
  --exp-warm: #ffd27a;
  --exp-hero-bg:
    radial-gradient(circle at 15% 20%, rgba(96, 232, 214, .28), transparent 46%),
    radial-gradient(circle at 88% 84%, rgba(255, 176, 72, .34), transparent 48%),
    radial-gradient(rgba(255, 255, 255, .07) 1.3px, transparent 2px) 0 0 / 24px 24px,
    linear-gradient(135deg, #082a30 0%, #0f4a52 46%, #3f3113 80%, #5a3a10 100%);
  --exp-hero-bar: linear-gradient(90deg, #22c3b4, #ffe08a 50%, #ef8a25);
  --exp-badge-grad: linear-gradient(155deg, #159aa0, #0b5760);
}

/* ================= 2. 正文更疏朗 ================= */
.st-page .exp-section {
  padding: 30px 34px 34px;
  font-size: 15px;
  line-height: 1.9;
}
.st-page .exp-section p {
  margin: 9px 0;
}
.st-page .exp-section h3 {
  margin-top: 26px;
}
.st-lead {
  margin: 0 0 16px !important;
  color: var(--exp-ink);
  font-size: 16.5px;
  line-height: 1.85;
}
.st-lead strong {
  color: var(--exp-secondary);
}
.st-note {
  color: var(--exp-muted);
  font-size: 13.5px;
}
.st-xy {
  display: inline-block;
  padding: 0 8px;
  color: var(--exp-primary);
  background: var(--exp-primary-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  white-space: nowrap;
}
.st-gain {
  display: inline-block;
  padding: 0 9px;
  color: #7a4300;
  background: #fff1d6;
  border: 1px solid #f1cf8f;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  white-space: nowrap;
}
.st-page code {
  padding: 1px 8px;
  color: #fff;
  background: var(--exp-deep);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
}
.st-more {
  display: inline-block;
  padding: 3px 13px;
  color: var(--exp-primary) !important;
  background: #fff;
  border: 1.5px solid var(--exp-line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.st-more:hover {
  color: #fff !important;
  background: var(--exp-primary);
  border-color: var(--exp-primary);
}

/* ================= 3. 页头下的“三步路线” ================= */
.st-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  counter-reset: st-path;
}
.st-path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 18px 84px;
  color: var(--exp-ink) !important;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  transition: transform .22s var(--ease-jelly), border-color .2s ease;
}
.st-path-card:hover {
  transform: translateY(-4px);
  border-color: var(--exp-primary);
}
.st-path-card::before {
  counter-increment: st-path;
  content: counter(st-path);
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  background: var(--exp-badge-grad);
  border-radius: 16px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .18);
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 900;
}
.st-path-card b {
  color: var(--exp-deep);
  font-family: var(--font-title);
  font-size: 21px;
  letter-spacing: 1px;
}
.st-path-card span {
  color: var(--exp-muted);
  font-size: 14px;
  line-height: 1.7;
}
.st-path-card em {
  margin-top: 4px;
  color: var(--exp-primary);
  font-size: 13.5px;
  font-style: normal;
  font-weight: 800;
}

/* ================= 4. 左文右图 ================= */
.st-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin: 14px 0;
}
.st-split.is-text-wide {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.st-split > .exp-media-card {
  margin: 0;
}
.st-figs {
  display: grid;
  gap: 16px;
}
.exp-media-grid.is-full {
  grid-template-columns: minmax(0, 1fr);
}

/* ================= 5. 编号步骤 ================= */
.st-steps {
  display: grid;
  gap: 12px;
  margin: 12px 0 !important;
  padding: 0 !important;
  list-style: none;
  counter-reset: st-step;
}
.st-steps > li {
  position: relative;
  margin: 0;
  padding: 13px 16px 13px 64px;
  background: #fff;
  border: 2px solid var(--exp-line);
  border-radius: 16px;
}
.st-steps > li::before {
  counter-increment: st-step;
  content: counter(st-step);
  position: absolute;
  top: 13px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--exp-badge-grad);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
}
.st-steps > li > b {
  display: block;
  color: var(--exp-deep);
  font-size: 16px;
  line-height: 1.6;
}
.st-steps > li > span {
  display: block;
  color: var(--exp-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ================= 6. 开局礼包 / 图标小卡 ================= */
.st-gifts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.st-gift {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  background: #fff;
  border: 2px solid var(--exp-line);
  border-radius: 16px;
}
.st-gift img {
  flex: none;
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.st-gift b {
  display: block;
  color: var(--exp-deep);
  font-size: 15px;
  line-height: 1.5;
}
.st-gift span {
  display: block;
  color: var(--exp-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ================= 7. 打勾清单 ================= */
.st-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 12px 0 !important;
  padding: 0 !important;
  list-style: none;
}
.st-checks li {
  position: relative;
  margin: 0;
  padding: 9px 12px 9px 40px;
  background: var(--exp-primary-soft);
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.65;
}
.st-checks li::before {
  content: "✓";
  position: absolute;
  top: 8px;
  left: 14px;
  color: var(--exp-primary);
  font-weight: 900;
}

/* ================= 8. 折叠区 ================= */
.st-fold {
  margin: 14px 0;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--exp-line);
  border-radius: 16px;
}
.st-fold > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: var(--exp-deep);
  font-size: 15.5px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.st-fold > summary::-webkit-details-marker {
  display: none;
}
.st-fold > summary::after {
  content: "展开 ▾";
  flex: none;
  margin-left: auto;
  padding: 2px 11px;
  color: var(--exp-primary);
  background: var(--exp-primary-soft);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
}
.st-fold[open] > summary {
  border-bottom: 2px solid var(--exp-line);
}
.st-fold[open] > summary::after {
  content: "收起 ▴";
}
.st-fold-body {
  padding: 14px 18px 18px;
}
.st-fold-body > :first-child {
  margin-top: 0;
}
.st-fold-body > :last-child {
  margin-bottom: 0;
}
.st-fold.is-faq > summary {
  font-size: 15px;
}
.st-fold.is-faq .st-fold-body {
  font-size: 14.5px;
}

/* ================= 9. 地图图例 ================= */
.st-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 12px 0 !important;
  padding: 0 !important;
  list-style: none;
}
.st-legend li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 9px 12px;
  background: #fff;
  border: 1.5px solid var(--exp-line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.65;
}
.st-pin {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  color: #fff;
  background: #1f965c;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}
.st-pin.is-day {
  background: #de7818;
}
.st-legend b {
  color: var(--exp-deep);
}
.st-legend-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 4px;
  font-size: 13.5px;
  font-weight: 800;
}
.st-legend-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* ================= 10. 职业四卡 ================= */
.st-jobs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}
.st-job {
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 2px solid var(--exp-line);
  border-radius: 18px;
}
.st-job-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #141923;
}
.st-job-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.st-job h4 {
  margin: 11px 0 2px;
  color: var(--exp-deep);
  font-family: var(--font-title);
  font-size: 18.5px;
}
.st-job p {
  margin: 0 12px 4px !important;
  color: var(--exp-muted);
  font-size: 13px;
  line-height: 1.6;
}
.st-job small {
  display: block;
  margin: 6px 10px 13px;
  color: var(--exp-primary);
  font-size: 12.5px;
  font-weight: 800;
}

/* ================= 11. 指令小卡 ================= */
.st-cmds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.st-cmd {
  padding: 13px 12px;
  text-align: center;
  background: #fff;
  border: 2px solid var(--exp-line);
  border-radius: 14px;
}
.st-cmd code {
  display: inline-block;
  padding: 3px 13px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}
.st-cmd span {
  display: block;
  margin-top: 7px;
  color: var(--exp-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ================= 12. 去向卡片 ================= */
.st-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}
.st-next.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.st-next.is-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.st-next > a {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  color: var(--exp-ink);
  background: #fff;
  border: 2px solid var(--exp-line);
  border-radius: 18px;
  text-decoration: none;
  transition: transform .2s var(--ease-jelly), border-color .2s ease;
}
.st-next > a:hover {
  transform: translateY(-3px);
  border-color: var(--exp-primary);
}
.st-next b {
  color: var(--exp-deep);
  font-family: var(--font-title);
  font-size: 17px;
  line-height: 1.45;
}
.st-next span {
  margin-top: 4px;
  color: var(--exp-muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.st-next em {
  margin-top: auto;
  padding-top: 8px;
  color: var(--exp-primary);
  font-size: 12.8px;
  font-style: normal;
  font-weight: 800;
}

/* ================= 13. 养成页：今天做什么 ================= */
.st-plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.st-plan-col {
  padding: 20px 18px 16px;
  background: #fff;
  border: 3px solid #fff;
  border-top: 8px solid var(--exp-primary);
  border-radius: 22px;
  box-shadow: var(--shadow-hard);
}
.st-plan-col.is-b {
  border-top-color: var(--exp-secondary);
}
.st-plan-col.is-c {
  border-top-color: #7a57c9;
}
.st-plan-col h2 {
  margin: 0 0 2px;
  color: var(--exp-deep);
  font-family: var(--font-title);
  font-size: 21px;
  letter-spacing: 1px;
}
.st-plan-col > p {
  margin: 0 0 12px;
  color: var(--exp-muted);
  font-size: 13px;
  line-height: 1.6;
}
.st-plan-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.st-plan-col li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  color: var(--exp-ink);
  background: var(--exp-primary-soft);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.st-plan-col li a:hover {
  color: #fff;
  background: var(--exp-primary);
}
.st-plan-col li a span {
  flex: none;
  color: var(--exp-secondary);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.st-plan-col li a:hover span {
  color: #fff;
}

/* ================= 14. 养成页：一行一项 ================= */
.st-rows {
  display: grid;
  gap: 10px;
  margin: 14px 0 !important;
  padding: 0 !important;
  list-style: none;
}
.st-rows > li {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: 4px 18px;
  align-items: center;
  margin: 0;
  padding: 13px 16px;
  background: #fff;
  border: 2px solid var(--exp-line);
  border-radius: 14px;
}
.st-rows > li > div > b {
  display: block;
  color: var(--exp-deep);
  font-size: 15.5px;
  line-height: 1.5;
}
.st-rows > li > div > small {
  display: block;
  color: var(--exp-muted);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
}
.st-rows > li > p {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.75;
}

/* ================= 15. 图片卡（成长线 / 挑战） ================= */
.st-pics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 14px 0;
}
.st-pics.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.st-pic {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--exp-line);
  border-radius: 18px;
}
.st-pic .exp-media-btn img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
}
.st-pic-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #141923;
}
.st-pic-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.st-pic-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 18px 16px;
}
.st-pic-body h3 {
  margin: 0 0 4px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 19px;
}
.st-pic-body ul {
  margin: 6px 0 10px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.75;
}
.st-pic-body p {
  font-size: 14px;
  line-height: 1.75;
}
.st-pic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

/* ================= 16. 小游戏小卡 ================= */
.st-games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.st-games > a {
  display: block;
  padding: 12px 14px;
  color: var(--exp-ink);
  background: #fff;
  border: 2px solid var(--exp-line);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.st-games > a:hover {
  transform: translateY(-2px);
  border-color: var(--exp-primary);
}
.st-games b {
  display: block;
  color: var(--exp-deep);
  font-size: 15px;
}
.st-games span {
  display: block;
  margin-top: 2px;
  color: var(--exp-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* 三张一排的精灵展示卡 */
.exp-sprite-grid.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.st-page .exp-card h3 {
  margin-top: 0;
}
.st-page .exp-card ol {
  margin: 6px 0;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.8;
}

/* ================= 副本对照卡（四个副本一排） ================= */
.st-dgs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}
.st-dg {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--exp-line);
  border-radius: 18px;
}
.st-dg-top {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  height: 162px;
  padding: 36px 0 10px;
  background:
    radial-gradient(circle at 50% 66%, rgba(120, 225, 185, .34), transparent 66%),
    linear-gradient(180deg, #223440, #15212a);
}
.st-dg-top img {
  width: auto;
  height: auto;
  max-width: 72%;
  max-height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55));
}
.st-dg-step {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 11px;
  color: #fff;
  background: var(--exp-badge-grad);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.7;
}
.st-dg-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 14px 16px 16px;
}
.st-dg-body h3 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 19px;
}
.st-dg-facts {
  display: grid;
  gap: 3px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  font-size: 14px;
  line-height: 1.65;
}
.st-dg-facts li {
  display: flex;
  gap: 10px;
  margin: 0;
}
.st-dg-facts b {
  flex: none;
  color: var(--exp-muted);
  font-weight: 700;
}
.st-dg-facts span {
  color: var(--exp-deep);
  font-weight: 800;
}
.st-dg-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}
.st-dg-body .st-more {
  align-self: flex-start;
  margin-top: auto;
}
.st-split > .exp-callout {
  align-self: stretch;
  margin: 0;
}
.st-fold-body ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.85;
}

/* 页脚：盖掉全站 footer 的绿底，和页面底色一致 */
.st-page .exp-footer {
  background: none;
  font: inherit;
  font-size: 13.5px;
  letter-spacing: 0;
  text-shadow: none;
}
/* 列数少的表格：手机上不强制撑宽 */
.st-page .exp-table.is-narrow {
  min-width: 0;
}

/* ================= 17. 响应式 ================= */
@media (max-width: 980px) {
  .st-path,
  .st-plan {
    grid-template-columns: 1fr;
  }
  .st-split,
  .st-split.is-text-wide {
    grid-template-columns: 1fr;
  }
  .st-jobs,
  .st-cmds,
  .st-next.is-4,
  .st-next.is-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .st-next,
  .st-pics.is-3,
  .st-dgs,
  .st-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .st-rows > li {
    grid-template-columns: 170px minmax(0, 1fr);
  }
  .st-rows > li > .st-more {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .st-page .exp-section {
    padding: 20px 15px 24px;
    font-size: 14.8px;
  }
  .st-lead {
    font-size: 15.5px;
  }
  .st-path-card {
    padding: 18px 16px 16px 76px;
  }
  .st-path-card::before {
    top: 16px;
    left: 14px;
  }
  .st-gifts,
  .st-checks,
  .st-legend,
  .st-next,
  .st-next.is-4,
  .st-next.is-5,
  .st-pics,
  .st-pics.is-3 {
    grid-template-columns: 1fr;
  }
  .st-jobs,
  .st-cmds,
  .st-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .st-dgs {
    gap: 10px;
  }
  .st-dg-top {
    height: 138px;
    padding: 34px 0 8px;
  }
  .st-dg-top img {
    max-height: 96px;
  }
  .st-dg-body {
    padding: 11px 12px 13px;
  }
  .st-dg-body h3 {
    font-size: 17px;
  }
  .st-rows > li {
    grid-template-columns: 1fr;
  }
  .st-rows > li > .st-more {
    grid-column: 1;
  }
}
