/* 魔兽聊天翻译 官网样式
   参考国服官网：一种黑体到底（不混宋体）、标题用金色、正文羊皮纸色、深棕底、细分隔线、平的按钮。
   不用发光、渐变边框、圆角胶囊标签和圆圈序号。 */
:root {
  --bg: #170e09;
  --bg2: #1e140d;
  --panel: #241911;
  --line: #4a3b30;
  --line-soft: rgba(235, 222, 194, .12);
  --gold: #edaf00;
  --gold-hi: #f7c23a;
  --text: #ebdec2;
  --dim: #b1997f;
  --white: #fff;
  --red: #aa2409;
  --red-hi: #c22c0c;
  --party: #aaaaff;
  --raid: #ff7f00;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", -apple-system, system-ui, sans-serif;
  --mono: ui-monospace, Consolas, "Cascadia Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.85 var(--sans);
  -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--sans); margin: 0; }
h2 { color: var(--white); font-weight: 700; }
h3 { color: var(--gold); font-weight: 600; }
strong { color: var(--white); font-weight: 600; }
kbd { font: 600 12px/1 var(--sans); background: #2a1e15; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 3px; padding: 3px 6px; color: var(--white); vertical-align: 1px; }

/* 顶栏 */
.top { position: sticky; top: 0; z-index: 5; background: rgba(23, 14, 9, .94); border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--sans); color: var(--white); white-space: nowrap; }
.brand:hover { color: var(--white); }
.brand img { width: 30px; height: 30px; }
.brand-en { font: 600 12px var(--sans); color: var(--dim); letter-spacing: .04em; }
nav a { color: var(--white); margin-left: 28px; font-size: 15px; font-weight: 600; }
nav a:hover { color: var(--gold); }

/* 按钮：平的，圆角 6 */
.btn { display: inline-block; font: 700 16px/1 var(--sans); padding: 15px 30px; border-radius: 6px; cursor: pointer;
  border: 1px solid transparent; text-align: center; transition: background .15s, border-color .15s; }
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-gold { background: var(--red); color: var(--white); }
.btn-gold:hover { background: var(--red-hi); color: var(--white); }
.btn-ghost { background: #180f01; border-color: var(--line); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--white); }
.wide { width: 100%; }

/* 首屏 */
.hero { padding: 80px 0 88px; background:
  radial-gradient(ellipse 55% 70% at 78% 30%, rgba(170, 36, 9, .16), transparent 70%),
  linear-gradient(180deg, #1f130b 0%, var(--bg) 100%); border-bottom: 1px solid var(--line-soft); }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1.eyebrow, .eyebrow { font: 600 14px var(--sans); color: var(--dim); letter-spacing: .02em; margin: 0 0 18px; }
.hero .headline { font: 700 54px/1.22 var(--sans); color: var(--white); margin: 0 0 22px; letter-spacing: -.01em; }
.hero .headline em { font-style: normal; color: var(--gold); }
.lead { font-size: 18px; line-height: 1.7; color: var(--text); margin: 0 0 14px; }
.hero .lead-sub { color: var(--dim); font-size: 15px; margin: 0 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.meta { color: var(--dim); font-size: 13px; margin-top: 14px; }

/* 通栏分区 */
.band { padding: 88px 0; border-top: 1px solid var(--line-soft); }
.band:first-of-type { border-top: 0; }
.band.dark { background: var(--bg2); }
.band h2 { font-size: 30px; line-height: 1.35; margin: 0 0 36px; }
.band h2.sub-h { font-size: 22px !important; margin: 72px 0 0; }
.section-lead { max-width: 760px; margin: -20px 0 32px; color: var(--text); }

/* 卖点：2×2，每格顶上一条细线 */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.feats.feats-4 { grid-template-columns: repeat(2, 1fr); }
.feats > div { border-top: 1px solid var(--line); padding: 22px 0 26px; }
.feats h3 { font-size: 19px; margin: 0 0 8px; }
.feats p { margin: 0; color: var(--text); }

/* 三步：大号金色序号，不用圆圈 */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; }
.steps li::before { content: "0" counter(s); font: 700 34px/1 var(--sans); color: var(--gold); margin-bottom: 14px; }
.steps b { color: var(--white); font-size: 18px; margin-bottom: 6px; }
.steps span { color: var(--text); }
.steps em.free { font-style: normal; color: var(--gold); display: block; margin-top: 6px; }
.free-strip { margin-top: 40px; padding: 18px 22px; background: var(--panel); border-left: 3px solid var(--gold); }
.free-strip p { margin: 0; }
.free-strip b { color: var(--white); margin-right: 6px; }
.free-badge { display: none; }

/* 对比表 */
.cmp-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.cmp thead th { font: 600 14px var(--sans); color: var(--dim); border-bottom-color: var(--line); }
.cmp tbody th { color: var(--dim); font-weight: 600; white-space: nowrap; width: 128px; }
.cmp td { color: var(--dim); }
.cmp .us { color: var(--white); background: rgba(237, 175, 0, .06); }
.cmp thead .us { color: var(--gold); }
.cmp-note { color: var(--dim); font-size: 12px; margin: 12px 0 0; }

/* 价格 */
.price-in { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 30px; }
.card-head { font: 600 15px var(--sans); color: var(--gold); }
.price { margin: 10px 0 20px; color: var(--white); font-family: var(--sans); }
.price .cur { font-size: 22px; font-weight: 600; vertical-align: top; position: relative; top: 10px; margin-right: 4px; }
.price #p-amount { font-size: 64px; font-weight: 700; line-height: 1; }
.price .unit { font-size: 14px; color: var(--dim); margin-left: 12px; }
.card-list { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line-soft); }
.card-list li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.card-list b { color: var(--white); }
.small { font-size: 13px; color: var(--dim); margin: 12px 0 0; text-align: center; }
.small.err { color: #ff8a7a; }
.love h2 { margin-top: 0; margin-bottom: 22px; }
.love p { margin: 0 0 16px; max-width: 640px; }
.sign { color: var(--dim); }

/* 开源 */
.open-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.open-card { border-top: 1px solid var(--line); padding-top: 20px; }
.open-card h3 { margin: 0 0 10px; font-size: 18px; }
.open-card ul { margin: 0; padding-left: 18px; }
.open-card li { margin-bottom: 8px; }
.open-card li::marker { color: var(--dim); }
.open-foot { display: flex; gap: 28px; align-items: center; margin-top: 36px; }
.small-left { color: var(--dim); font-size: 14px; margin: 0; max-width: 680px; }
.sign-policy { scroll-margin-top: 90px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  color: var(--dim); font-size: 14px; }
.sign-policy h3 { margin: 0 0 8px; font-size: 15px; color: var(--text); }
.sign-policy p { margin: 0 0 6px; max-width: 760px; }

/* 常见问题 */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-size: 16px; font-weight: 600; color: var(--white);
  list-style: none; position: relative; }
.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; color: var(--gold); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -4px 0 20px; color: var(--text); }

/* 页脚 */
.foot { background: #120b07; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 13px; padding: 36px 0 44px; }
.foot a { color: var(--dim); }
.foot a:hover { color: var(--gold); }

/* 上次的兑换码提示 */
.toast { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px 8px 14px; font-size: 13px; z-index: 9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5); max-width: calc(100% - 32px); }
.toast:not([hidden]) { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.toast code { color: var(--gold); font: 700 13px var(--mono); }
.toast button { background: none; border: 0; color: var(--dim); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.toast button:hover { color: var(--gold); }

/* 付款完成 / 领取试用 / 反馈：居中卡片页 */
.done { min-height: calc(100vh - 170px); display: flex; align-items: center; padding: 64px 0; }
.done .card { max-width: 520px; margin: 0 auto; text-align: center; }
.done .card-head { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.code { font: 700 26px/1.4 var(--mono); color: var(--gold); letter-spacing: .04em; background: #120b07;
  border: 1px dashed var(--line); border-radius: 6px; padding: 16px 10px; margin: 18px 0 14px; word-break: break-all; user-select: all; }
.done ol { text-align: left; color: var(--text); padding-left: 22px; margin: 18px 0 0; }
.done ol li { margin-bottom: 6px; }

/* 首页示意：游戏画面上的半透明翻译页 */
.scene { position: relative; border-radius: 4px; overflow: hidden; min-height: 400px; padding: 36px 22px 18px;
  border: 1px solid #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  background:
    radial-gradient(ellipse 60% 40% at 78% 18%, rgba(255, 214, 140, .35), transparent 70%),
    radial-gradient(ellipse 70% 55% at 20% 85%, rgba(40, 110, 70, .55), transparent 70%),
    linear-gradient(160deg, #3f6f86 0%, #2b5464 35%, #23452f 70%, #1a2c1d 100%); }
.scene::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 14px); }
.page-btn { position: relative; margin-left: auto; width: max-content; font-size: 13px; color: #fff; padding: 2px 16px;
  background: rgba(41, 107, 158, .9); border-radius: 2px; }
.page { position: relative; margin-top: 4px; background: rgba(10, 13, 18, .55); border-radius: 2px; }
.page-body { padding: 12px 14px 10px; font: 15px/1.6 var(--sans); color: #f2f2f2; text-shadow: 0 1px 2px #000; }
.page-body p { margin: 0; }
.page-bar { display: flex; align-items: center; gap: 8px; height: 18px; padding: 0 6px; font-size: 11px;
  background: rgba(26, 31, 41, .85); color: #8a8f99; }
.page-bar .grip { color: #c9cdd4; }
.page-bar .scroll-hint { flex: 1; }
.page-bar .usage { color: #fff; }
.game-chat { position: relative; padding: 8px 6px 0; font: 14px/1.7 var(--sans); color: #fff; text-shadow: 0 1px 2px #000; }
.game-chat p { margin: 0; }
.game-chat .c-party { color: #aaaaff; }
.game-chat .c-raid { color: #ff4809; }
.game-chat .c-guild { color: #40ff40; }
.ch.party { color: #aaaaff; }
.ch.raid { color: #ff4809; }
.ch.guild { color: #40ff40; }
.cls-warrior { color: #c69b6d; } .cls-paladin { color: #f58cba; } .cls-mage { color: #3fc7eb; }
.cls-druid { color: #ff7c0a; } .cls-priest { color: #ffffff; }
.scene-cap { position: relative; margin: 14px 0 0; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .7);
  text-shadow: 0 1px 2px #000; }

/* 隐私说明等文字页 */
.legal { max-width: 780px; padding: 56px 0 72px; }
.legal h1 { font-size: 30px; font-weight: 700; color: var(--white); margin: 0 0 8px; }
.legal h2 { font-size: 19px; margin: 36px 0 10px; }
.legal .meta { margin: 0 0 8px; }
.legal li { margin-bottom: 8px; }
.legal code { font: 13px var(--mono); color: var(--gold); }

/* 教程文章 */
.article { padding-top: 48px; padding-bottom: 24px; }
.narrow { max-width: 820px; }
.crumbs { color: var(--dim); font-size: 13px; margin: 0 0 10px; }
.crumbs a { color: var(--dim); }
.article h1 { font-size: 34px; line-height: 1.35; font-weight: 700; color: var(--white); margin: 0 0 24px; }
.article h2 { font-size: 22px; margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.article h3 { font-size: 17px; margin: 26px 0 8px; }
.article p, .article li { font-size: 16px; }
.article li { margin-bottom: 8px; }
.article code { font: 14px var(--mono); color: var(--gold); background: #120b07; border: 1px solid var(--line);
  border-radius: 3px; padding: 1px 6px; word-break: break-all; }
.cmp.simple { min-width: 0; margin: 8px 0 16px; border-top: 1px solid var(--line); }
.cmp.simple td { color: var(--text); }
.cmp.simple tbody th { width: 160px; color: var(--gold); white-space: normal; }
.guide-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.guide-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.guide-list li { border-bottom: 1px solid var(--line-soft); }
.guide-list a { display: block; padding: 20px 0; }
.guide-list a:hover b { color: var(--gold-hi); }
.guide-list b { display: block; color: var(--gold); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.guide-list span { color: var(--text); font-size: 14px; }

/* 反馈页 */
.fb-card { max-width: 620px !important; text-align: left !important; }
.fb-card .card-head { text-align: center; }
.fb-card > .small { text-align: left; }
.fb-tips { background: #1b120c; border-left: 3px solid var(--gold); padding: 14px 18px; margin: 20px 0 8px; font-size: 14px; }
.fb-tips > b { color: var(--white); }
.fb-tips ul { margin: 6px 0 0; padding-left: 18px; }
.fb-tips li { margin: 6px 0; color: var(--text); }
.fb-tips li b { color: var(--white); }
.fb-form label { display: block; margin: 18px 0 6px; color: var(--white); font-size: 14px; font-weight: 600; }
.fb-form .dim, .fb-card .dim { color: var(--dim); font-weight: 400; }
.fb-form select, .fb-form textarea, .fb-form input {
  width: 100%; background: #120b07; color: var(--text); border: 1px solid var(--line);
  border-radius: 4px; padding: 10px 12px; font: 15px/1.6 var(--sans); }
.fb-form textarea { resize: vertical; min-height: 130px; }
.fb-form select:focus, .fb-form textarea:focus, .fb-form input:focus { outline: none; border-color: var(--gold); }
.fb-captcha { margin: 18px 0 12px; min-height: 65px; }
.fb-form .btn { width: 100%; }
.fb-msg { min-height: 1.4em; margin: 10px 0 0; }
.fb-msg.bad { color: #ff7a6a; }

/* 平板 */
@media (max-width: 860px) {
  .hero { padding: 44px 0 52px; }
  .hero-in, .price-in { grid-template-columns: 1fr; gap: 36px; }
  .hero .headline { font-size: 38px; }
  .steps, .feats, .feats.feats-4, .open-grid { grid-template-columns: 1fr; }
  .steps li + li, .open-card + .open-card { margin-top: 24px; }
  nav a { margin-left: 18px; font-size: 14px; }
  .band { padding: 56px 0; }
  .band h2 { font-size: 25px; margin-bottom: 26px; }
  .band h2.sub-h { margin-top: 48px; }
  .section-lead { margin-top: -10px; }
  .open-foot { flex-direction: column; align-items: flex-start; }
  .scene { min-height: 0; }
  .code { font-size: 20px; }
  .article h1 { font-size: 26px; }
  .cmp.simple tbody th { width: 110px; }
}
/* 手机：品牌一行，导航在下面一行可以横向滑动，不把整页撑宽 */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-in { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; row-gap: 4px; }
  nav { width: 100%; display: flex; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a, nav a:first-child { display: inline-block; margin: 0 20px 0 0; padding: 4px 0; }
  .hero .headline { font-size: 34px; }
  .lead { font-size: 17px; }
  .card { padding: 24px 20px; }
}

/* 原文 / 译文对照表：两栏对半分 */
.cmp.simple.pair tbody th { width: 48%; color: var(--text); font-weight: 400; white-space: normal; }
.cmp.simple.pair tbody td { color: var(--white); }
@media (max-width: 860px) { .cmp.simple.pair tbody th { width: 50%; } }
