@import url(font-awesome.min.css);
/* ==========================================================================
   传奇门户模板 · style.css
   Atelier Zero 风格 · 由静态门户设计稿移植为易优CMS模板样式
   结构：1 重置 2 令牌 3 布局 4 头部 5 首页模块 6 列表/详情 7 侧栏 8 页脚 9 响应式
   ========================================================================== */

/* ---------- 1. 重置 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; border: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
html { scroll-behavior: smooth; }
html, body { background: #efe7d2; color: #15140f; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; position: relative;
}
body.no-scroll { overflow: hidden; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --paper: #efe7d2;
  --paper-warm: #ece4cf;
  --paper-dark: #ddd2b6;
  --bone: #f7f1de;
  --ink: #15140f;
  --ink-soft: #2a2620;
  --ink-mute: #56503f;
  --ink-faint: #8b8676;
  --coral: #ed6f5c;
  --coral-deep: #c0432f;
  --mustard: #e9b94a;
  --mustard-deep: #7a5c10;
  --olive: #6e7448;
  --olive-deep: #4f5433;
  --line: rgba(21, 20, 15, 0.16);
  --line-soft: rgba(21, 20, 15, 0.08);
  --line-faint: rgba(21, 20, 15, 0.05);
  --shadow: 0 30px 60px -30px rgba(21, 20, 15, 0.22);
  --serif: 'Playfair Display', 'Songti SC', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --body: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(106, 92, 56, 0.07) 0, transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(106, 92, 56, 0.06) 0, transparent 32%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.16  0 0 0 0 0.12  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: auto, auto, 240px 240px; mix-blend-mode: multiply; opacity: 0.9;
}

/* ---------- 3. 布局 ---------- */
.shell { position: relative; z-index: 2; }
.container { max-width: 1360px; padding: 0 64px; margin: 0 auto; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ta-r { text-align: right; }
.side-rail { position: fixed; top: 0; bottom: 0; width: 36px; z-index: 3; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.side-rail.right { right: 0; border-left: 1px solid var(--line-faint); }
.side-rail.left { left: 0; border-right: 1px solid var(--line-faint); }
.side-rail .rail-text { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ink-mute); writing-mode: vertical-rl; white-space: nowrap; }
.side-rail.right .rail-text { transform: none; }
section { position: relative; scroll-margin-top: 96px; }
.section-pad { padding: 72px 0; }
.sec-rule { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); flex-wrap: wrap; }
.sec-rule .meta-grp { display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.sec-rule .dot-mark { color: var(--coral); }
.sec-rule--inner { padding: 0 0 18px; margin-bottom: 18px; }
.mod-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin: 40px 0 30px; flex-wrap: wrap; }
.mod-head--inner { margin: 0 0 24px; }
.mod-head .lead { max-width: 42ch; }
.mod-head h2, .mod-head h1 { margin-top: 16px; }

/* ---------- 排版元件 ---------- */
.label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--coral-deep); display: inline-flex; align-items: center; gap: 12px; }
.label::before { content: ''; width: 18px; height: 1px; background: var(--coral); display: inline-block; }
.label .ix { color: var(--ink-mute); font-weight: 500; margin-left: 4px; }
.display { font-family: var(--sans); font-weight: 800; letter-spacing: -0.028em; color: var(--ink); line-height: 1.03; }
.display em, .h2 em, .h3 em { font-family: var(--serif); font-style: italic; font-weight: 500; word-break: keep-all; }
.display .dot, .h2 .dot, .h3 .dot { color: var(--coral); }
.h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.026em; line-height: 1.06; font-size: clamp(28px, 3.6vw, 46px); }
.h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(20px, 2.2vw, 28px); }
.lead { font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }
.meta { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.roman { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--coral); }
.crumb a { color: var(--ink-mute); text-decoration: none; }
.crumb a:hover { color: var(--coral-deep); }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--coral-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 3px; border-radius: 4px; }

/* ---------- 4. 头部 ---------- */
.topbar { border-bottom: 1px solid var(--line); padding: 10px 0; background: var(--paper); position: relative; z-index: 4; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.topbar-inner b { color: var(--ink); font-weight: 600; }
.topbar-inner .mid { display: inline-flex; gap: 20px; }
.topbar-inner .right { display: inline-flex; gap: 18px; align-items: center; }
.topbar-inner .sep { color: var(--ink-faint); }
.topbar-inner a.top-link { text-decoration: none; border-bottom: 1px solid var(--line); }
.topbar-inner a.top-link:hover { color: var(--coral-deep); border-color: var(--coral-deep); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); display: inline-block; margin-right: 6px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.nav { padding: 18px 0; position: sticky; top: 0; z-index: 50; background: var(--paper); transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 220ms ease; border-bottom: 1px solid transparent; will-change: transform; }
.nav.is-hidden { transform: translateY(-100%); pointer-events: none; box-shadow: none; }
.nav.is-stuck { border-bottom-color: var(--line-soft); box-shadow: 0 18px 30px -30px rgba(21, 20, 15, 0.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans); font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
.brand-mark { width: 38px; height: 38px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); }
.brand-meta { font-family: var(--sans); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); line-height: 1.3; margin-left: 4px; border-left: 1px solid var(--line); padding-left: 14px; }
.brand-meta b { display: block; color: var(--ink); font-weight: 600; }
.nav-links { display: flex; gap: 30px; }
.nav-links > li { position: relative; }
.nav-links a { color: var(--ink); text-decoration: none; font-family: var(--sans); font-size: 14px; font-weight: 500; transition: color 0.18s ease; }
.nav-links > li > a:hover, .nav-links > li.is-active > a { color: var(--coral-deep); }
.sub-nav { position: absolute; left: -14px; top: 100%; min-width: 168px; background: var(--bone); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.18s ease; z-index: 60; }
.nav-links > li.has-sub:hover .sub-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-nav a { display: block; padding: 8px 16px; font-size: 13.5px; }
.sub-nav a:hover { background: var(--paper-dark); color: var(--coral-deep); }
.nav-side { display: inline-flex; align-items: center; gap: 16px; }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background 0.18s ease, transform 0.18s ease; }
.nav-cta:hover { background: var(--coral-deep); transform: translateY(-1px); }
.nav-cta b { color: var(--mustard); }
.m-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; border-radius: 50%; cursor: pointer; }
.m-btn i { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 3px auto; }
.nav-search { display: none; border-bottom: 1px solid var(--line); background: var(--bone); position: sticky; top: 0; z-index: 49; }
.nav-search.is-open { display: block; }
.nav-search-form { display: flex; gap: 10px; padding: 16px 0; }
.nav-search-form input { flex: 1 1 auto; min-width: 0; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; color: var(--ink); font-family: var(--body); }
.nav-search-form button { padding: 12px 24px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 600; font-size: 14px; cursor: pointer; }
.nav-search-form button:hover { background: var(--coral-deep); }

/* 移动端抽屉 */
.m-nav { position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 84vw; background: var(--paper); border-left: 1px solid var(--line); z-index: 90; transform: translateX(100%); transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1); overflow-y: auto; }
.m-nav.is-open { transform: none; }
.m-nav .m-wrap { padding: 76px 24px 40px; }
.mnav > li { border-bottom: 1px solid var(--line-soft); }
.mnav > li > a { display: block; padding: 14px 0; font-family: var(--sans); font-size: 15px; font-weight: 600; text-decoration: none; }
.mnav .sub-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px 12px; min-width: 0; }
.mask { position: fixed; inset: 0; background: rgba(21, 20, 15, 0.45); z-index: 80; opacity: 0; visibility: hidden; transition: opacity 0.24s ease; }
.mask.is-open { opacity: 1; visibility: visible; }

/* ---------- 5. 首页模块 ---------- */
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 52px; align-items: start; }
.hero h1 { font-size: clamp(38px, 5.6vw, 76px); margin: 20px 0; }
.search { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.search input { flex: 1 1 240px; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bone); font-family: var(--body); font-size: 14px; color: var(--ink); }
.search input::placeholder { color: var(--ink-faint); }
.search button { padding: 14px 24px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 600; font-size: 14px; cursor: pointer; }
.search button:hover { background: var(--coral-deep); }
.hero-stats { display: flex; gap: 38px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stat { display: grid; gap: 2px; }
.hero-stat b { font-family: var(--sans); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.hero-stat span { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.img { position: relative; overflow: hidden; background: var(--paper-dark); }
.img > img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.03); mix-blend-mode: normal; }
.hero-art { position: relative; }
.art-stack { position: relative; margin-bottom: 24px; }
.art-tag { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 10px 14px; font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); background: rgba(247, 241, 222, 0.85); border-bottom: 1px solid var(--line); z-index: 3; }
.art-stack .art-main { border: 1px solid var(--line); box-shadow: var(--shadow); }
.art-stack .art-main > img { aspect-ratio: 4 / 3; }
.art-stack .art-chip { position: absolute; left: -22px; bottom: -22px; width: 34%; background: var(--bone); padding: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 2; }
.art-stack .art-chip > img { aspect-ratio: 1 / 1; }
.today { margin-top: 18px; border: 1px solid var(--line); background: var(--bone); padding: 20px 22px; }
.today h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); display: flex; justify-content: space-between; margin-bottom: 8px; }
.today h4 b { color: var(--coral-deep); }
.today .trow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 13px; }
.today .trow .n { font-family: var(--sans); font-weight: 600; }
.today .trow .n a { text-decoration: none; }
.today .trow .n a:hover { color: var(--coral-deep); }
.today .trow .v { color: var(--ink-mute); font-size: 12px; }
.today .trow .t { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); white-space: nowrap; }
.today .more { display: inline-block; margin-top: 14px; font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--coral-deep); text-decoration: none; border-bottom: 1px solid var(--coral-deep); }

/* 开服表 */
.filterbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 18px 20px; border: 1px solid var(--line); background: var(--bone); margin-bottom: 8px; }
.filterbar .field { display: inline-flex; align-items: center; gap: 8px; }
.filterbar label { font-family: var(--sans); font-size: 12px; color: var(--ink-mute); }
select, .input-line { font-family: var(--body); font-size: 13.5px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; }
.filterbar input[type="search"] { font-family: var(--body); font-size: 13.5px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; min-width: 180px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-family: var(--sans); font-size: 12.5px; font-weight: 500; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease; }
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filterbar .reset { margin-left: auto; font-family: var(--sans); font-size: 12.5px; color: var(--coral-deep); background: transparent; border: 0; cursor: pointer; border-bottom: 1px solid var(--coral-deep); }
.srv-count { font-family: var(--sans); font-size: 12px; color: var(--ink-mute); margin: 14px 0 4px; }
.srv-head { display: grid; grid-template-columns: 130px minmax(0, 1.4fr) 170px 120px 84px; gap: 18px; padding: 10px 4px; border-bottom: 2px solid var(--ink); font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.srv-row { display: grid; grid-template-columns: 130px minmax(0, 1.4fr) 170px 120px 84px; gap: 18px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.srv-row:hover { background: rgba(21, 20, 15, 0.03); }
.c-ver { font-family: var(--sans); font-size: 13px; font-weight: 600; }
.c-name { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.c-name a { text-decoration: none; }
.c-name a:hover { color: var(--coral-deep); }
.c-time { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); }
.c-status { justify-self: start; }
.c-act { justify-self: end; }
.c-act a { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--coral-deep); text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--coral-deep); }
.badge { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: rgba(21, 20, 15, 0.08); color: var(--ink); border: 1px solid var(--line); }
.srv-row[data-state="火爆"] .badge { background: rgba(192, 67, 47, 0.12); color: var(--coral-deep); border-color: rgba(192, 67, 47, 0.35); }
.srv-row[data-state="预约"] .badge { background: rgba(233, 185, 74, 0.20); color: var(--mustard-deep); border-color: rgba(122, 92, 16, 0.35); }
.srv-row[data-state="已开"] .badge { background: rgba(110, 116, 72, 0.16); color: var(--olive-deep); border-color: rgba(79, 84, 51, 0.35); }
.badge-hot { background: rgba(192, 67, 47, 0.12); color: var(--coral-deep); border: 1px solid rgba(192, 67, 47, 0.35); }
.badge-book { background: rgba(233, 185, 74, 0.20); color: var(--mustard-deep); border: 1px solid rgba(122, 92, 16, 0.35); }
.badge-open { background: rgba(110, 116, 72, 0.16); color: var(--olive-deep); border: 1px solid rgba(79, 84, 51, 0.35); }
.badge-new { background: rgba(21, 20, 15, 0.08); color: var(--ink); border: 1px solid var(--line); }
.srv-empty { display: none; padding: 40px 20px; text-align: center; border: 1px dashed var(--line); color: var(--ink-mute); font-size: 14px; margin-top: 16px; }
.srv-empty.is-show { display: block; }

/* 资讯 */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); background: var(--bone); text-decoration: none; overflow: hidden; transition: box-shadow 0.2s ease; }
.feature:hover { box-shadow: var(--shadow); }
.feature .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature .fbody { padding: 30px 30px 32px; display: grid; align-content: center; gap: 12px; }
.feature .fbody h3 { font-family: var(--sans); font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.feature .fbody .excerpt { font-size: 14px; color: var(--ink-mute); line-height: 1.6; }
.feature .fbody .read { margin-top: 6px; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--coral-deep); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.news-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--bone); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card .img { border-bottom: 1px solid var(--line); }
.news-card .img > img { aspect-ratio: 16 / 10; }
.news-card .nbody { padding: 16px 18px 20px; display: grid; gap: 8px; align-content: start; }
.news-card .cat { font-family: var(--sans); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral-deep); font-weight: 600; }
.news-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.news-card .excerpt { font-size: 13px; color: var(--ink-mute); line-height: 1.55; }
.news-card .date { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

/* 栏目 / 版本总览 */
.ver-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.ver-card { border: 1px solid var(--line); background: var(--bone); padding: 20px; display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ver-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ver-card .vtag { font-family: var(--sans); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral-deep); font-weight: 600; }
.ver-card .vname { font-family: var(--sans); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.ver-card p { font-size: 12.5px; color: var(--ink-mute); line-height: 1.55; min-height: 2.9em; }
.ver-card .vmeta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute); border-top: 1px solid var(--line-soft); padding-top: 10px; margin-top: 4px; }

/* ---------- 6. 列表页 / 详情页 ---------- */
.page-head { padding-top: 10px; }
.main-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-bottom: 40px; }
.main-layout--article { grid-template-columns: minmax(0, 1fr) 320px; }
.content-main { min-width: 0; }
.article-page { border: 1px solid var(--line); background: var(--bone); padding: 34px 38px 38px; }
.article-header { margin-bottom: 22px; }
.article-title { font-family: var(--sans); font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -0.024em; line-height: 1.18; margin: 12px 0 14px; color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--sans); font-size: 12px; color: var(--ink-mute); padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.article-content { font-family: var(--body); font-size: 16px; line-height: 1.85; color: var(--ink-soft); word-wrap: break-word; }
.article-content p { margin-bottom: 1em; }
.article-content h2, .article-content h3, .article-content h4 { font-family: var(--sans); color: var(--ink); margin: 1.4em 0 0.7em; line-height: 1.3; }
.article-content img { max-width: 100%; height: auto; display: block; margin: 1em auto; }
.article-content a { color: var(--coral-deep); }
.article-content ul, .article-content ol { margin: 0 0 1em 1.4em; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content blockquote { border-left: 3px solid var(--coral); background: var(--paper-dark); padding: 14px 18px; margin: 1.2em 0; color: var(--ink-mute); }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; font-size: 14px; }
.article-content th { background: var(--paper-dark); font-family: var(--sans); }
.article-foot { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; gap: 14px; }
.tag-wrap { font-size: 13px; color: var(--ink-mute); }
.tag-wrap a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; text-decoration: none; }
.tag-wrap a:hover { border-color: var(--coral-deep); color: var(--coral-deep); }
.authorbio { font-size: 12.5px; color: var(--ink-mute); display: grid; gap: 6px; }
.authorbio a { color: var(--coral-deep); word-break: break-all; }
.post-navigation { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.post-navigation a, .post-navigation span { font-family: var(--sans); font-size: 13.5px; text-decoration: none; border: 1px solid var(--line); background: var(--bone); padding: 12px 18px; max-width: 48%; }
.post-navigation a:hover { border-color: var(--ink); color: var(--coral-deep); }
.post-navigation .is-disabled { color: var(--ink-faint); }
.relates { margin-top: 46px; }
.pages { margin-top: 40px; display: flex; justify-content: center; }
.pages ul, .pages .pagination { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pages a, .pages span { display: inline-block; min-width: 38px; padding: 8px 12px; text-align: center; border: 1px solid var(--line); background: var(--bone); font-family: var(--sans); font-size: 13px; text-decoration: none; }
.pages a:hover { border-color: var(--ink); color: var(--coral-deep); }
.pages .active, .pages .current, .pages .disabled { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- 7. 侧栏 ---------- */
.sidebar { display: grid; gap: 26px; }
.widget { border: 1px solid var(--line); background: var(--bone); padding: 18px 20px 20px; }
.widget-t { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.widget-banner { display: block; margin-bottom: 14px; border: 1px solid var(--line); }
.widget-banner img { display: block; width: 100%; }
.about_tag { font-size: 12.5px; color: var(--ink-mute); line-height: 1.7; }
.about-contact { display: flex; gap: 12px; margin-top: 12px; }
.about-contact a { font-family: var(--sans); font-size: 12px; text-decoration: none; border-bottom: 1px solid var(--line); }
.about-contact a:hover { color: var(--coral-deep); border-color: var(--coral-deep); }
.rank-list { display: grid; gap: 2px; }
.rank-list li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line-faint); }
.rank-list li:last-child { border-bottom: 0; }
.rank-list a { font-size: 13.5px; text-decoration: none; line-height: 1.5; }
.rank-list a:hover { color: var(--coral-deep); }
.rank-list span { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); flex: none; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; text-decoration: none; }
.tag-cloud a:hover { border-color: var(--coral-deep); color: var(--coral-deep); }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.link-list a { font-size: 13px; text-decoration: none; }
.link-list a:hover { color: var(--coral-deep); }

/* ---------- 8. 页脚 ---------- */
.footer-box { border-top: 1px solid var(--line); margin-top: 20px; padding: 66px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 18px; font-size: 13px; color: var(--ink-mute); max-width: 34ch; }
.foot-brand .foot-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; background: var(--ink); color: var(--paper); text-decoration: none; padding: 12px 18px; border-radius: 999px; font-family: var(--sans); font-size: 13px; font-weight: 500; }
.foot-brand .foot-cta:hover { background: var(--coral-deep); }
.foot-col h5 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.foot-col h5 a { text-decoration: none; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { color: var(--ink); text-decoration: none; font-size: 14px; }
.foot-col a:hover { color: var(--coral-deep); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; margin-top: 46px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); flex-wrap: wrap; }
.foot-bottom .right { display: inline-flex; gap: 20px; }
.foot-mega { padding-top: 24px; }
.foot-mega .word { font-family: var(--sans); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(40px, 9vw, 132px); line-height: 0.9; color: var(--ink); word-break: break-all; }
.foot-mega .word em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--coral); }
#topcontrol { position: fixed; right: 22px; bottom: 26px; width: 42px; height: 42px; display: none; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; z-index: 70; font-size: 16px; line-height: 42px; text-align: center; }
#topcontrol.is-show { display: block; }

/* ---------- 9. 动效 & 响应式 ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 400ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="rise-lg"] { transform: translateY(60px); }
[data-revealed="true"] { opacity: 1; transform: none; }
.news-grid [data-reveal]:nth-child(2), .ver-grid [data-reveal]:nth-child(2) { transition-delay: 40ms; }
.news-grid [data-reveal]:nth-child(3), .ver-grid [data-reveal]:nth-child(3) { transition-delay: 80ms; }
.news-grid [data-reveal]:nth-child(4), .ver-grid [data-reveal]:nth-child(4) { transition-delay: 120ms; }
.news-grid [data-reveal]:nth-child(n+5), .ver-grid [data-reveal]:nth-child(n+5) { transition-delay: 160ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal="right"], [data-reveal="rise-lg"] { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
  .nav { transition: none; }
  .news-card, .ver-card { transition: none; }
}
@media (hover: none) {
  .news-card:hover, .ver-card:hover, .feature:hover { transform: none; }
}
@media (max-width: 1180px) {
  .main-layout, .main-layout--article { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}
@media (max-width: 1100px) {
  .container { padding: 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .art-stack .art-chip { left: 0; bottom: -18px; width: 38%; }
  .feature { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ver-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .main-layout, .main-layout--article { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .container { padding: 0 24px; }
  .side-rail { display: none; }
  .nav-links { display: none; }
  .m-btn { display: block; }
  .nav-cta { display: none; }
  .topbar-inner .mid { display: none; }
  .srv-head { display: none; }
  .srv-row { grid-template-columns: 1fr auto; grid-template-areas: "ver status" "name name" "time act"; gap: 6px 12px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--bone); margin-bottom: 10px; }
  .c-ver { grid-area: ver; }
  .c-name { grid-area: name; }
  .c-time { grid-area: time; }
  .c-status { grid-area: status; }
  .c-act { grid-area: act; }
  .filterbar { gap: 10px; }
  .filterbar .reset { margin-left: 0; }
  .article-page { padding: 24px 22px 28px; }
  .post-navigation a, .post-navigation span { max-width: 100%; }
}
@media (max-width: 560px) {
  .news-grid, .ver-grid, .foot-grid, .sidebar { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .foot-bottom { flex-direction: column; gap: 10px; }
  .brand-meta { display: none; }
}

/* ==========================================================================
   10. 紧凑版式（首页信息密度更高、模块不占满整屏）
   放在最后，覆盖前面的宽松数值；想再调松紧，改这一节即可
   ========================================================================== */
.topbar { padding: 7px 0; }
.topbar-inner { font-size: 10px; }
.nav { padding: 12px 0; }
.brand { font-size: 16px; }
.brand-mark { width: 32px; height: 32px; font-size: 15px; }
.nav-links { gap: 24px; }
.nav-cta { padding: 8px 16px; font-size: 12.5px; }

/* --- Hero：左文案 / 中主视觉 / 右今日开服，三栏并排 --- */
.display { line-height: 1.08; }
.hero { padding: 22px 0 20px; }
.hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.84fr) minmax(0, 0.9fr); gap: 30px; align-items: start; }
.hero h1 { font-size: clamp(26px, 3vw, 44px); margin: 10px 0 10px; }
.lead { font-size: 14.5px; line-height: 1.58; }
.search { margin-top: 16px; gap: 8px; }
.search input { padding: 11px 16px; font-size: 13.5px; }
.search button { padding: 11px 20px; font-size: 13.5px; }
.hero-stats { margin-top: 16px; padding-top: 14px; gap: 26px; }
.hero-stat b { font-size: 20px; }
.hero-stat span { font-size: 10px; }
.hero-art, .hero-today { min-width: 0; }
.art-stack { margin-bottom: 0; }
.art-stack .art-main > img { aspect-ratio: 4 / 3; }
.art-stack .art-chip { width: 26%; left: -14px; bottom: -14px; }
.art-tag { padding: 7px 12px; font-size: 9px; }
.hero-today .today { margin-top: 0; }
.today { margin-top: 14px; padding: 14px 16px; }
.today h4 { margin-bottom: 6px; }
.today .trow { padding: 8px 0; font-size: 12.5px; flex-wrap: wrap; gap: 2px 8px; }
.today .more { margin-top: 10px; font-size: 12px; }

/* 快捷入口胶囊 */
.quick-links { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.quick-links .ql-label { font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.quick-links a { font-family: var(--sans); font-size: 12px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: border-color 0.16s ease, color 0.16s ease; }
.quick-links a:hover { border-color: var(--coral-deep); color: var(--coral-deep); }

/* --- 各版块留白收紧 --- */
.section-pad { padding: 42px 0; }
.sec-rule { padding: 12px 0; font-size: 10px; }
.sec-rule--inner { padding: 0 0 12px; margin-bottom: 12px; }
.mod-head { margin: 20px 0 16px; gap: 24px; }
.mod-head h2, .mod-head h1 { margin-top: 10px; }
.h2 { font-size: clamp(22px, 2.5vw, 34px); }
.h3 { font-size: clamp(18px, 1.8vw, 24px); }
.label { font-size: 10.5px; }
.page-head { padding-top: 0; }

/* --- 开服表 / 资讯 / 栏目卡片更紧凑 --- */
.filterbar { padding: 12px 14px; margin-bottom: 6px; }
.pill { padding: 6px 13px; font-size: 12px; }
.srv-count { margin: 10px 0 2px; }
.srv-row { padding: 12px 4px; }
.news-grid { gap: 16px; margin-top: 14px; }
.news-card .img > img { aspect-ratio: 16 / 9; }
.news-card .nbody { padding: 12px 14px 14px; gap: 6px; }
.news-card h3 { font-size: 15px; }
.feature .fbody { padding: 18px 20px 20px; gap: 8px; }
.feature .fbody h3 { font-size: clamp(17px, 1.7vw, 22px); }
.feature .fbody .excerpt { font-size: 13px; }
.ver-grid { gap: 12px; margin-top: 14px; }
.ver-card { padding: 14px 16px; gap: 6px; }
.ver-card .vname { font-size: 16px; }
.ver-card p { font-size: 12px; min-height: 0; }

/* --- 内页与页脚 --- */
.article-page { padding: 24px 26px 26px; }
.relates { margin-top: 30px; }
.footer-box { padding: 40px 0 24px; margin-top: 8px; }
.foot-grid { gap: 28px; }
.foot-brand p { margin-top: 12px; }
.foot-brand .foot-cta { margin-top: 14px; padding: 10px 16px; }
.foot-col h5 { margin-bottom: 10px; }
.foot-col ul { gap: 7px; }
.foot-col a { font-size: 13px; }
.foot-bottom { padding: 16px 0; margin-top: 26px; }
.foot-mega { padding-top: 14px; }
.foot-mega .word { font-size: clamp(30px, 5.4vw, 84px); }

/* Hero 在中等屏幕上改为「文案整行 + 图/开服两栏」，窄屏再堆叠 */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
  .hero-copy { grid-column: 1 / -1; }
  .art-stack .art-chip { left: 0; bottom: -14px; width: 30%; }
}
@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   11. 主页传奇元素（只有首页用到：彩色游戏截图 + 沙巴克印章 + 传奇实况图集）
   其它页面完全不受影响
   ========================================================================== */
/* 传奇游戏截图保留彩色，与米色纸张风格形成「实况截图」对比 */
.img--color > img { filter: saturate(1.06) contrast(1.03); mix-blend-mode: normal; }
.art-main.img--color, .art-chip.img--color { background: #16120d; }

/* 沙巴克印章 */
.art-stack { position: relative; }
.cq-seal {
  position: absolute; right: -10px; top: 32px; z-index: 4;
  width: 64px; height: 64px; display: grid; place-items: center;
  border: 2px solid var(--coral-deep); border-radius: 6px;
  color: var(--coral-deep); background: rgba(247, 241, 222, 0.88);
  font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  line-height: 1.05; text-align: center; padding: 4px;
  transform: rotate(-8deg); box-shadow: 0 10px 22px -14px rgba(21, 20, 15, 0.6);
}
.cq-seal::after { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(192, 67, 47, 0.5); border-radius: 3px; }

/* 传奇实况图集 */
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.game-card { border: 1px solid var(--line); background: var(--bone); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.game-card .img { border-bottom: 1px solid var(--line); }
.game-card .img > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.game-card figcaption { padding: 10px 12px 12px; display: grid; gap: 3px; }
.game-card figcaption b { font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.game-card figcaption span { font-family: var(--sans); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-mute); }

@media (max-width: 1100px) { .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .game-grid { grid-template-columns: 1fr; }
  .cq-seal { width: 54px; height: 54px; font-size: 13px; right: -4px; }
}

/* ==========================================================================
   12. 精简 Hero（首页默认形态：纯文字区）
   已移除：主视觉图 / 叠图小图 / 沙巴克印章 / 快速进入 / 今日开服卡片
   想恢复其中任何一块，把 index.htm 里对应的 <div> 粘回 hero-grid 即可，
   相关样式仍保留在本文件第 5、11 节
   ========================================================================== */
.hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.hero-copy { max-width: 800px; }
.hero .search { max-width: 620px; }
.hero { padding: 20px 0 18px; }

/* 首页已去掉分节标尺条（sec-rule），版块上下留白相应收一点 */
.section-pad { padding: 34px 0 40px; }

/* ==========================================================================
   13. 全站交互动画（首页 + 内页；纯 CSS + 原生 JS，不引入任何库）
   全部为纯 CSS + 原生 JS，不引入任何库
   ========================================================================== */
/* 顶部滚动进度条 */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--coral), var(--coral-deep)); transition: width .12s linear; }

/* 图片加载淡入（未加载时才隐藏，JS 失效不会白屏） */
.img-pending { opacity: 0; transform: scale(1.03); }
img.is-loaded { opacity: 1; transform: none; transition: opacity .55s ease, transform .6s cubic-bezier(.22,.61,.36,1); }

/* 卡片：图片缓推 + 暗角 + 标题下划线滑入 */
.news-card .img, .feature .img, .game-card .img { position: relative; overflow: hidden; }
.news-card .img > img, .feature .img > img, .game-card .img > img {
  transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .4s ease, opacity .55s ease; }
.news-card:hover .img > img, .feature:hover .img > img, .game-card:hover .img > img { transform: scale(1.06); }
.news-card .img::after, .feature .img::after, .game-card .img::after { content: ''; position: absolute; inset: 0; opacity: 0;
  transition: opacity .35s ease; background: linear-gradient(180deg, rgba(21,20,15,0) 50%, rgba(21,20,15,.28)); }
.news-card:hover .img::after, .feature:hover .img::after, .game-card:hover .img::after { opacity: 1; }
.news-card h3, .game-card figcaption b { background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; transition: background-size .38s ease; }
.news-card:hover h3, .game-card:hover figcaption b { background-size: 100% 1px; }

/* 版本卡片：左侧朱砂描边滑入 + 箭头位移 */
.ver-card { position: relative; }
.ver-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--coral-deep); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.ver-card:hover::before { transform: scaleY(1); }
.ver-card .vmeta span:last-child { display: inline-block; transition: transform .35s ease; }
.ver-card:hover .vmeta span:last-child { transform: translateX(6px); }

/* 开服表：悬停竖条 + 进入箭头位移 + 火爆状态脉冲 */
.srv-row { position: relative; }
.srv-row::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px;
  background: var(--coral-deep); transform: scaleY(0); transition: transform .3s ease; }
.srv-row:hover::before { transform: scaleY(1); }
.srv-row .c-act a { display: inline-block; transition: transform .25s ease; }
.srv-row:hover .c-act a { transform: translateX(5px); }
.srv-row[data-state="火爆"] .badge { animation: badgePulse 2.4s ease-in-out infinite; }
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192, 67, 47, .34); }
  50% { box-shadow: 0 0 0 6px rgba(192, 67, 47, 0); }
}

/* 筛选按钮 */
.pill { transition: transform .2s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.pill:hover { transform: translateY(-2px); }
.filterbar .reset { transition: letter-spacing .25s ease; }
.filterbar .reset:hover { letter-spacing: .04em; }

/* 传奇实况卡片：3D 倾斜（JS 驱动） */
.game-card { transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease; will-change: transform; }

/* 筛选切换时的交错淡入 */
.fade-in-up { animation: fadeInUp .42s cubic-bezier(.22,.61,.36,1) both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 版块标题进场 + 下划线展开 */
.reveal-x { opacity: 0; transform: translateX(-16px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1); }
.reveal-x.is-in { opacity: 1; transform: none; }
.reveal-x .h2::after, .reveal-x .h3::after { content: ''; display: block; width: 0; height: 2px; background: var(--coral);
  margin-top: 12px; transition: width .9s cubic-bezier(.22,.61,.36,1) .12s; }
.reveal-x.is-in .h2::after, .reveal-x.is-in .h3::after { width: 68px; }

/* 点击锚点后高亮目标版块 */
@keyframes targetPulse { 0% { background: rgba(237, 111, 92, .18); } 100% { background: transparent; } }
.pulse-target { animation: targetPulse 1.25s ease-out; }

/* 回到顶部 */
#topcontrol { transition: transform .25s ease, opacity .25s ease; }
#topcontrol:hover { transform: translateY(-3px) rotate(-8deg); }

/* 尊重系统「减少动态效果」设置 */
@media (prefers-reduced-motion: reduce) {
  .fade-in-up, .reveal-x, .pulse-target,
  .srv-row[data-state="火爆"] .badge { animation: none !important; }
  .reveal-x, .img-pending { opacity: 1; transform: none; transition: none !important; }
  .scroll-progress { display: none; }
}

/* --- 内页：文章页 / 列表页 / 侧栏 / 分页 --- */
.article-page { transition: border-color .3s ease, box-shadow .3s ease; }
.article-page:hover { border-color: rgba(21, 20, 15, .26); }
.article-content img { transition: transform .5s cubic-bezier(.22, .61, .36, 1), opacity .55s ease; }
.article-content table tbody tr { transition: background .2s ease; }
.article-content table tbody tr:hover { background: rgba(21, 20, 15, .035); }
.article-meta > span { transition: color .2s ease; }
.article-meta > span:hover { color: var(--coral-deep); }
.crumb a { transition: color .2s ease, letter-spacing .25s ease; }
.crumb a:hover { letter-spacing: .02em; }

/* 侧栏 */
.sidebar .widget { transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease, border-color .3s ease; }
.sidebar .widget:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(21, 20, 15, .24); }
.sidebar .widget .widget-t::after { content: ''; display: block; width: 0; height: 2px; background: var(--coral);
  margin-top: 9px; transition: width .8s cubic-bezier(.22, .61, .36, 1) .08s; }
.sidebar .widget[data-revealed="true"] .widget-t::after { width: 42px; }
.rank-list li { transition: transform .25s ease; }
.rank-list li:hover { transform: translateX(4px); }
.rank-list a { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0 1px; transition: background-size .32s ease; }
.rank-list li:hover a { background-size: 100% 1px; }
.tag-cloud a, .link-list a { transition: transform .22s ease, border-color .2s ease, color .2s ease; }
.tag-cloud a:hover, .link-list a:hover { transform: translateY(-2px); }

/* 分页 / 上一篇下一篇 */
.pages a { transition: transform .22s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.pages a:hover { transform: translateY(-2px); }
.post-navigation a { transition: transform .25s ease, border-color .2s ease, color .2s ease, box-shadow .25s ease; }
.post-navigation .nav-prev:hover { transform: translateX(-4px); }
.post-navigation .nav-next:hover { transform: translateX(4px); box-shadow: var(--shadow); }

/* 列表卡片正文区轻微反馈 */
.news-card .nbody { transition: background .3s ease; }
.news-card:hover .nbody { background: rgba(21, 20, 15, .015); }

/* 内页也尊重系统「减少动态效果」 */
@media (prefers-reduced-motion: reduce) {
  .article-page, .article-content img, .sidebar .widget, .rank-list li, .rank-list a,
  .tag-cloud a, .link-list a, .pages a, .post-navigation a, .news-card .nbody,
  .news-card .img > img, .feature .img > img, .game-card .img > img { transition: none !important; }
  .article-page:hover, .sidebar .widget:hover, .rank-list li:hover, .pages a:hover,
  .tag-cloud a:hover, .link-list a:hover { transform: none !important; }
  .news-card:hover .img > img, .feature:hover .img > img, .game-card:hover .img > img { transform: none !important; }
}
/* ==========================================================================
   14. 文章页全宽版式（已去掉右侧栏，正文居中保持阅读舒适）
   说明：只有 view_article.htm 用了 .main-layout--full；
        栏目列表页 / 搜索页 / 标签页 / 单页仍保留右侧栏
   ========================================================================== */
.main-layout--full { grid-template-columns: minmax(0, 1fr); }
.main-layout--article.main-layout--full .content-main { max-width: 980px; margin: 0 auto; width: 100%; }
/* 列表类页面（栏目 / 搜索 / 标签）去掉侧栏后改用 4 列卡片铺满 */
.main-layout--full .news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .main-layout--full .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .main-layout--full .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .main-layout--full .news-grid { grid-template-columns: 1fr; } }
/* ==========================================================================
   15. 实时时间与开服倒计时
   ========================================================================== */
.live-clock { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--ink); letter-spacing: .06em; }
.srv-row .c-cd { display: block; margin-top: 3px; font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .02em; color: var(--coral-deep); }
.srv-row[data-state="已开"] .c-cd { color: var(--ink-faint); }
@media (max-width: 820px) {
  .srv-row .c-cd { display: inline; margin-left: 8px; margin-top: 0; }
}
/* ==========================================================================
   16. 文章页（含单页）图片保留原本颜色
   原设计对所有配图做了黑白 + 正片叠底，文章页这里恢复彩色
   ========================================================================== */
.main-layout--article .img > img,
.main-layout--article .article-content img,
.article-content img {
  filter: saturate(1.06) contrast(1.03);
  mix-blend-mode: normal;
}
.main-layout--article .news-card .img { background: #16120d; }
.main-layout--article .news-card:hover .img > img { transform: scale(1.06); }
/* ==========================================================================
   17. 首页头条卡片：图片按固定比例显示
   原来图片高度跟随原图比例，遇到方形游戏截图会把整个版块撑得很高
   ========================================================================== */
.feature { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: stretch; }
.feature .img { overflow: hidden; }
.feature .img > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.feature .fbody { padding: 16px 20px 18px; gap: 7px; }
.feature .fbody h3 { font-size: clamp(16px, 1.5vw, 20px); }
.feature .fbody .excerpt { font-size: 12.5px; }
@media (max-width: 1100px) {
  .feature { grid-template-columns: 1fr; }
  .feature .img > img { aspect-ratio: 16 / 9; }
}