/* ==========================================================
   HYPIXEL.哦哦哦！ — hypixel.ooo
   像素风 Minecraft 主题样式
   ========================================================== */

@font-face {
  font-family: "Press Start 2P";
  src: url("../vendor/press-start-2p.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --mc-bg: #101216;
  --mc-bg-2: #15181e;
  --mc-panel: #1b1f27;
  --mc-panel-2: #20252f;
  --mc-line: #000000;
  --mc-grass: #57a64a;
  --mc-grass-dark: #3f7d36;
  --mc-dirt: #7a5233;
  --mc-gold: #f6c445;
  --mc-red: #e2574c;
  --mc-stone: #8b8f98;
  --mc-text: #e8e6e1;
  --mc-muted: #9aa0ab;
  --pixel-font: "Press Start 2P", "Microsoft YaHei", monospace;
  --body-font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { image-rendering: auto; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--mc-bg);
  color: var(--mc-text);
  font-family: var(--body-font);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* 像素渲染的图标 */
.pixel-img { image-rendering: pixelated; }

.pixel-border {
  border: 3px solid var(--mc-line);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.06), 0 6px 0 rgba(0, 0, 0, 0.45);
}

.text-grass { color: var(--mc-grass); }
.text-warn { color: var(--mc-gold); font-size: 0.85em; }

/* ---------------- 导航 ---------------- */
.pixel-nav {
  background: rgba(13, 15, 19, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--mc-grass);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.6);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.brand-text {
  font-family: var(--pixel-font);
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--mc-text);
}

.brand-sub {
  font-family: var(--pixel-font);
  font-size: 0.62rem;
  color: var(--mc-gold);
  transform: translateY(2px);
}

.pixel-nav .nav-link {
  color: var(--mc-muted);
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border: 2px solid transparent;
}

.pixel-nav .nav-link:hover,
.pixel-nav .nav-link:focus { color: var(--mc-text); }

.pixel-nav .nav-link.active {
  color: var(--mc-grass);
  border-color: var(--mc-grass-dark);
  background: rgba(87, 166, 74, 0.1);
}

.pixel-toggler { border: 2px solid var(--mc-stone); }

/* ---------------- Minecraft 风格按钮 ---------------- */
.btn-mc {
  --bs-btn-font-weight: 700;
  color: #fff;
  background: linear-gradient(#7d8188, #5c5f66 55%, #54575d);
  border: 2px solid #0b0c0e;
  border-radius: 0;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 2px 0 0 rgba(255, 255, 255, 0.12),
    inset -2px -3px 0 rgba(0, 0, 0, 0.4),
    0 4px 0 #0b0c0e;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.55);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.12s ease;
}

.btn-mc:hover {
  color: #fff;
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 2px 0 0 rgba(255, 255, 255, 0.12),
    inset -2px -3px 0 rgba(0, 0, 0, 0.4),
    0 5px 0 #0b0c0e;
}

.btn-mc:active {
  transform: translateY(3px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.25),
    inset -2px -3px 0 rgba(0, 0, 0, 0.4),
    0 1px 0 #0b0c0e;
}

.btn-mc:focus-visible { outline: 3px solid var(--mc-gold); outline-offset: 2px; }

.btn-outline-mc {
  --bs-btn-font-weight: 700;
  color: var(--mc-grass);
  background: rgba(87, 166, 74, 0.08);
  border: 2px solid var(--mc-grass);
  border-radius: 0;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
  transition: transform 0.08s ease, background 0.12s ease;
}

.btn-outline-mc:hover {
  color: #fff;
  background: rgba(87, 166, 74, 0.28);
  transform: translateY(-1px);
}

.btn-outline-mc:focus-visible { outline: 3px solid var(--mc-gold); outline-offset: 2px; }

.bg-mc-green { background: var(--mc-grass-dark); color: #fff; }
.bg-mc-stone { background: #454a54; color: #fff; }
.bg-mc-gold { background: #8a6d1f; color: #ffe9a8; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  padding: 9.5rem 0 6.5rem;
  overflow: hidden;
  background: linear-gradient(#0b0d13 0%, #101623 55%, #16233b 100%);
}

.hero-pixel-sky {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
    radial-gradient(circle at 82% 18%, rgba(246, 196, 69, 0.16) 0 90px, transparent 90px),
    radial-gradient(circle at 12% 30%, rgba(87, 166, 74, 0.12) 0 120px, transparent 120px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 48px, transparent 48px 96px);
  pointer-events: none;
}

.hero-kicker {
  font-family: var(--pixel-font);
  font-size: 0.66rem;
  color: var(--mc-muted);
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--pixel-font);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.18;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.55);
  margin-bottom: 1.4rem;
}

.hero-title-suffix { font-size: 0.62em; }

.hero-lead {
  font-size: 1.08rem;
  color: #c9cdd6;
  max-width: 34em;
}

.hero-meta {
  color: var(--mc-muted);
  font-size: 0.82rem;
}

.server-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.05), 0 5px 0 rgba(0, 0, 0, 0.45);
  padding: 0.55rem 0.9rem;
}

.server-label { font-size: 0.85rem; color: var(--mc-muted); white-space: nowrap; }

.server-bar .btn-mc { white-space: nowrap; }

.server-bar code {
  font-family: var(--pixel-font);
  font-size: 0.78rem;
  color: var(--mc-grass);
  letter-spacing: 0.5px;
}

.hero-art { max-width: 460px; margin-inline: auto; }

.hero-art-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-float {
  position: absolute;
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  padding: 6px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5);
  animation: bob 4.2s ease-in-out infinite;
}

.hero-float.f1 { top: -22px; left: -18px; animation-delay: 0s; }
.hero-float.f2 { bottom: 28px; right: -20px; animation-delay: 1.3s; }
.hero-float.f3 { top: 42%; left: -34px; animation-delay: 2.4s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* 草方块地平线 */
.hero-grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background:
    linear-gradient(#57a64a 0 8px, #3f7d36 8px 12px, #7a5233 12px 100%);
  border-top: 3px solid #000;
  image-rendering: pixelated;
}

/* ---------------- 区块通用 ---------------- */
section[id] { scroll-margin-top: 92px; }

.py-5 { padding-block: 4.5rem; }

.section-alt {
  background: var(--mc-bg-2);
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
}

.section-title {
  font-weight: 800;
  font-size: clamp(1.45rem, 3vw, 2rem);
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 10px;
  background:
    linear-gradient(var(--mc-grass) 0 55%, var(--mc-dirt) 55%);
  border: 2px solid #000;
}

.section-sub { color: var(--mc-muted); margin-bottom: 2.2rem; }

/* ---------------- 实话卡 ---------------- */
.honest-card {
  height: 100%;
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
  padding: 1.4rem 1.3rem;
  transition: transform 0.12s ease;
}

.honest-card:hover { transform: translateY(-4px); }

.honest-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.6rem; }
.honest-card p { color: #b9bec8; font-size: 0.92rem; margin-bottom: 0; }

/* ---------------- 步骤卡 ---------------- */
.step-card {
  height: 100%;
  background: var(--mc-panel-2);
  border: 3px solid var(--mc-line);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

.step-num {
  font-family: var(--pixel-font);
  font-size: 0.6rem;
  color: var(--mc-gold);
  letter-spacing: 1px;
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
}

.step-card h3 { font-size: 1.05rem; font-weight: 800; margin: 0; }
.step-card p { color: #b9bec8; font-size: 0.92rem; margin: 0; }
.step-card a { color: var(--mc-grass); text-decoration: underline; }

/* ---------------- 提示条 ---------------- */
.tip-strip {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: rgba(87, 166, 74, 0.1);
  border: 2px solid var(--mc-grass-dark);
  padding: 0.95rem 1.1rem;
}

.tip-strip p { margin: 0; font-size: 0.92rem; color: #c9d3c5; }

.warn-box {
  margin-top: 1.2rem;
  background: rgba(226, 87, 76, 0.1);
  border: 2px solid var(--mc-red);
  padding: 0.95rem 1.1rem;
  font-size: 0.92rem;
  color: #e8c2be;
}

/* ---------------- 启动器卡 ---------------- */
.launcher-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
  padding: 1.5rem 1.4rem;
}

.launcher-head { display: flex; align-items: center; gap: 0.9rem; }

.launcher-head img {
  background: #0d0f13;
  flex-shrink: 0;
}

.launcher-head h3 { font-size: 1.2rem; font-weight: 800; margin: 0; }
.launcher-head small { display: block; font-size: 0.72rem; color: var(--mc-muted); font-weight: 400; }

.launcher-card > p { color: #b9bec8; font-size: 0.93rem; margin: 0; }

.pro-con {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.pro-con li::before { margin-right: 0.4em; font-weight: 800; }
.pro-con .pro { color: #b7d6ae; }
.pro-con .pro::before { content: "+"; color: var(--mc-grass); }
.pro-con .con { color: #c9b3b0; }
.pro-con .con::before { content: "−"; color: var(--mc-red); }

.dl-note {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--mc-muted);
  border-top: 2px dashed #3a3f4a;
  padding-top: 0.75rem;
}

.dl-note a, .ip-explain a, .accordion-body a {
  color: var(--mc-grass);
  text-decoration: underline;
}

/* ---------------- 表格 ---------------- */
.pixel-table {
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
}

.pixel-table caption {
  color: var(--mc-muted);
  font-size: 0.8rem;
  background: transparent;
  padding: 0.6rem 0.2rem 0;
}

.pixel-table thead th {
  background: var(--mc-grass-dark);
  color: #fff;
  border-bottom: 2px solid #000;
  font-size: 0.9rem;
  white-space: nowrap;
}

.pixel-table td, .pixel-table th {
  border-color: #343a46;
  font-size: 0.9rem;
  color: #c9cdd6;
}

.pixel-table tbody th { color: var(--mc-text); }

/* ---------------- 加速 IP ---------------- */
.ip-explain h3, .ip-steps h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.7rem; }

.ip-explain p { color: #b9bec8; font-size: 0.93rem; }

.route-list { padding-left: 1.2rem; display: grid; gap: 0.7rem; margin: 0; }

.route-list li { color: #b9bec8; font-size: 0.93rem; }

.ip-steps {
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
  padding: 1.5rem 1.4rem;
  height: 100%;
}

.ip-step-list { padding-left: 1.35rem; display: grid; gap: 0.55rem; }

.ip-step-list li { color: #b9bec8; font-size: 0.93rem; }

.ip-steps code, .step-card code, .tip-strip code, .accordion-body code, .more-games-note code, .honest-card code {
  background: #0d0f13;
  border: 1px solid #343a46;
  color: var(--mc-gold);
  padding: 0.1em 0.4em;
  font-size: 0.88em;
}

/* ---------------- 游戏卡 ---------------- */
.game-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.12s ease;
}

.game-card:hover { transform: translateY(-5px); }

.game-art {
  width: 100%;
  height: auto;
  aspect-ratio: 585 / 550;
  object-fit: cover;
  border-bottom: 3px solid var(--mc-line);
  background: #0d0f13;
}

.game-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; }

.game-body h3 { font-size: 1.06rem; font-weight: 800; margin: 0; }

.game-body h3 small {
  display: block;
  font-size: 0.68rem;
  color: var(--mc-muted);
  font-weight: 400;
  font-family: var(--pixel-font);
  letter-spacing: 0.5px;
  margin-top: 0.3em;
}

.game-body p { color: #b9bec8; font-size: 0.88rem; margin: 0; }

.game-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15em 0.55em;
  border: 2px solid #000;
}

.tag-green { background: rgba(87, 166, 74, 0.25); color: #b7e0ac; }
.tag-red { background: rgba(226, 87, 76, 0.22); color: #f0b3ad; }
.tag-gold { background: rgba(246, 196, 69, 0.2); color: #f4d98d; }
.tag-stone { background: rgba(139, 143, 152, 0.2); color: #c3c7cf; }

.more-games-title {
  margin-top: 3.5rem;
  font-weight: 800;
  font-size: 1.2rem;
}

.more-games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.mg-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 108px;
  padding: 0.85rem 0.4rem 0.7rem;
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.4);
  color: var(--mc-text);
  text-align: center;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.1s ease;
}

.mg-item:hover { transform: translateY(-3px); color: var(--mc-grass); }

.mg-item img { image-rendering: pixelated; }

.more-games-note {
  margin-top: 1.4rem;
  color: var(--mc-muted);
  font-size: 0.9rem;
}

/* ---------------- 指令速查 ---------------- */
.cmd-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.4);
  padding: 0.7rem 0.9rem;
  height: 100%;
}

.cmd-row code {
  font-family: Consolas, Monaco, monospace;
  color: var(--mc-grass);
  background: #0d0f13;
  border: 1px solid #343a46;
  padding: 0.25em 0.5em;
  font-size: 0.86rem;
  flex-shrink: 0;
}

.cmd-row .btn { flex-shrink: 0; }

.cmd-row span {
  color: var(--mc-muted);
  font-size: 0.85rem;
  margin-left: auto;
  text-align: right;
}

/* ---------------- FAQ 手风琴 ---------------- */
.pixel-accordion {
  --bs-accordion-bg: var(--mc-panel);
  --bs-accordion-border-color: #000;
  border: 3px solid #000;
}

.pixel-accordion .accordion-item {
  background: var(--mc-panel);
  border-bottom: 2px solid #2c313c;
}

.pixel-accordion .accordion-button {
  background: var(--mc-panel);
  color: var(--mc-text);
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: none;
}

.pixel-accordion .accordion-button:not(.collapsed) {
  background: var(--mc-panel-2);
  color: var(--mc-grass);
  box-shadow: inset 0 -2px 0 #343a46;
}

.pixel-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }

.pixel-accordion .accordion-body { color: #b9bec8; font-size: 0.93rem; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: #0b0d11;
  border-top: 3px solid var(--mc-grass);
  padding: 3.5rem 0 2.5rem;
}

.footer-brand {
  font-family: var(--pixel-font);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.footer-slogan {
  font-size: 0.6rem;
  color: var(--mc-gold);
}

.footer-desc { color: var(--mc-muted); font-size: 0.9rem; }

.site-footer h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mc-text);
  margin-bottom: 0.9rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }

.footer-links a {
  color: var(--mc-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--mc-grass); text-decoration: underline; }

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed #2c313c;
  color: #767d89;
  font-size: 0.8rem;
}

/* ---------------- Toast & 返回顶部 ---------------- */
.mc-toast {
  background: var(--mc-grass-dark);
  border: 3px solid #000;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 700;
}

.back-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1030;
  background: var(--mc-panel);
  border: 3px solid #000;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
  padding: 5px;
  opacity: 0.85;
  transition: transform 0.1s ease;
}

.back-top:hover { transform: translateY(-3px); opacity: 1; }

/* ---------------- 子页头部 ---------------- */
.page-head {
  position: relative;
  padding: 7.5rem 0 3.2rem;
  background: linear-gradient(#0b0d13, #131722);
  border-bottom: 3px solid #000;
  overflow: hidden;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(246, 196, 69, 0.12) 0 110px, transparent 110px),
    radial-gradient(circle at 10% 70%, rgba(87, 166, 74, 0.1) 0 130px, transparent 130px);
  pointer-events: none;
}

.page-kicker {
  font-family: var(--pixel-font);
  font-size: 0.6rem;
  color: var(--mc-muted);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.page-head h1 {
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);
  margin-bottom: 0.6rem;
  position: relative;
}

.page-lead { color: #b9bec8; max-width: 40em; position: relative; margin-bottom: 0; }

/* ---------------- 课程卡（首页） ---------------- */
.lesson-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
  padding: 1.5rem 1.4rem 1.2rem;
  color: var(--mc-text);
  text-decoration: none;
  transition: transform 0.12s ease;
}

.lesson-card:hover { transform: translateY(-5px); color: var(--mc-text); }

.lesson-num {
  font-family: var(--pixel-font);
  font-size: 0.58rem;
  color: var(--mc-gold);
  letter-spacing: 1px;
}

.lesson-card h3 { font-size: 1.12rem; font-weight: 800; margin: 0; }

.lesson-card p { color: #a9aeb9; font-size: 0.9rem; margin: 0; flex: 1; }

.lesson-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 2px dashed #3a3f4a;
  padding-top: 0.75rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--mc-muted);
}

.lesson-go { color: var(--mc-grass); font-weight: 700; white-space: nowrap; }
.lesson-card:hover .lesson-go { text-decoration: underline; }

/* ---------------- 速览条（首页） ---------------- */
.fact-strip {
  display: grid;
  gap: 1rem;
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.4);
  padding: 1.1rem 1.2rem;
}

.fact-item h3 { font-size: 1rem; font-weight: 800; margin: 0 0 0.3rem; }
.fact-item p { color: #a9aeb9; font-size: 0.88rem; margin: 0; }

/* ---------------- 上一课 / 下一课 ---------------- */
.next-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3.5rem;
}

.next-link {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.4);
  padding: 1rem 1.2rem;
  color: var(--mc-text);
  text-decoration: none;
}

.next-link:hover { transform: translateY(-3px); color: var(--mc-text); }
.next-link .nl-kicker { font-size: 0.75rem; color: var(--mc-muted); }
.next-link .nl-title { font-weight: 800; color: var(--mc-grass); }
.next-link.is-prev .nl-title { color: var(--mc-stone); }
.next-link { transition: transform 0.1s ease; }

/* ---------------- 动效偏好 ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-float { animation: none; }
  * { transition: none !important; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 991.98px) {
  .hero { padding: 7.5rem 0 5rem; text-align: left; }
  .hero-art { max-width: 340px; margin-top: 1.5rem; }
  .hero-float { display: none; }
  .cmd-row span { display: none; }
  .cmd-row { flex-wrap: wrap; }
}

@media (max-width: 575.98px) {
  .server-bar { width: 100%; }
  .server-bar code { flex: 1; }
  .mg-item { width: 92px; }
  .hero { padding: 6.5rem 0 4.5rem; }
  .next-strip { flex-direction: column; }
}

/* ---------------- 下拉菜单 ---------------- */
.pixel-dropdown {
  --bs-dropdown-bg: var(--mc-panel);
  --bs-dropdown-border-color: #000;
  --bs-dropdown-link-color: #b9bec8;
  --bs-dropdown-link-hover-color: var(--mc-grass);
  --bs-dropdown-link-hover-bg: rgba(87, 166, 74, 0.12);
  --bs-dropdown-link-active-color: var(--mc-grass);
  --bs-dropdown-link-active-bg: rgba(87, 166, 74, 0.2);
  border: 3px solid #000;
  border-radius: 0;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.45);
  padding: 0.4rem;
  min-width: 228px;
  font-size: 0.92rem;
  font-weight: 600;
}

.pixel-dropdown .dropdown-item { padding: 0.45rem 0.9rem; }
.pixel-dropdown .dropdown-item:hover { text-decoration: none; }

/* ---------------- 文章正文 ---------------- */
.prose p { color: #c3c8d2; font-size: 0.95rem; line-height: 1.9; margin-bottom: 1.05rem; }
.prose h3 { font-weight: 800; font-size: 1.12rem; margin: 1.9rem 0 0.75rem; }
.prose strong { color: var(--mc-text); }
.prose a { color: var(--mc-grass); text-decoration: underline; }
.prose ul, .prose ol { color: #b9bec8; font-size: 0.93rem; line-height: 1.85; display: grid; gap: 0.35rem; padding-left: 1.35rem; margin-bottom: 1.05rem; }
.prose img { border: 3px solid var(--mc-line); }

/* ---------------- 快答框（GEO） ---------------- */
.tldr-box {
  background: rgba(246, 196, 69, 0.08);
  border: 2px solid var(--mc-gold);
  padding: 1.1rem 1.2rem;
  margin: 2.2rem 0;
}

.tldr-box .tldr-title {
  font-family: var(--pixel-font);
  font-size: 0.6rem;
  color: var(--mc-gold);
  letter-spacing: 1px;
  margin-bottom: 0.7rem;
}

.tldr-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }

.tldr-box li {
  position: relative;
  padding-left: 1.2em;
  color: #c9cdd6;
  font-size: 0.92rem;
  line-height: 1.7;
}

.tldr-box li::before { content: "▸"; position: absolute; left: 0; color: var(--mc-grass); font-weight: 800; }

/* ---------------- 数据速览条 ---------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat-cell {
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.4);
  padding: 1rem 1.1rem;
  text-align: center;
}

.stat-cell .stat-num {
  display: block;
  font-family: var(--pixel-font);
  font-size: 0.95rem;
  color: var(--mc-grass);
  margin-bottom: 0.5rem;
}

.stat-cell .stat-label { color: var(--mc-muted); font-size: 0.8rem; }

/* ---------------- 词条行（黑话词典） ---------------- */
.term-item {
  background: var(--mc-panel);
  border: 3px solid var(--mc-line);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.4);
  padding: 1rem 1.2rem;
  height: 100%;
}

.term-item dt {
  font-weight: 800;
  color: var(--mc-grass);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.term-item dt small { color: var(--mc-muted); font-weight: 400; margin-left: 0.4em; font-size: 0.78em; }
.term-item dd { color: #b9bec8; font-size: 0.9rem; margin: 0; line-height: 1.75; }
