* { box-sizing: border-box; }
body {
  margin: 0;
  color: #003b5e;
  font: 12px/1.7 "Microsoft YaHei", "SimSun", sans-serif;
  background:
    url("./n.7k7kimg.cn/uploads/xjhx/bgg_header.jpg") no-repeat top center,
    url("./n.7k7kimg.cn/uploads/xjhx/bgg_footer.jpg") no-repeat bottom center,
    #6dcafe;
}
a { color: #003b5e; text-decoration: none; }
a:hover { color: #f00; text-decoration: underline; }

.container {
  width: 970px;
  margin: 0 auto;
  padding-bottom: 260px;
}

.top-nav {
  height: 98px;
  padding: 36px 0 0 85px;
  background: url("./n.7k7kimg.cn/uploads/xjhx/pbg_headernav.jpg") no-repeat;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.top-nav a {
  display: block;
  float: left;
  height: 13px;
  padding-top: 22px;
  color: transparent;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  background: none;
  text-shadow: none;
}
/* Inactive nav slot (e.g. 充值管理 not yet available) — same footprint as .n5 link */
.top-nav span.nav-disabled {
  display: block;
  float: left;
  height: 13px;
  padding-top: 22px;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  cursor: default;
  user-select: none;
  pointer-events: none;
}
.top-nav .n1 { width: 93px; padding-left: 2px; }
.top-nav .n2 { width: 99px; padding-left: 3px; }
.top-nav .n3 { width: 80px; padding-left: 2px; }
.top-nav .logo {
  width: 241px;
  padding-top: 0;
  background: none;
}
.top-nav .n4 { width: 86px; }
.top-nav .n5 { width: 99px; }
.top-nav .n6 { width: 93px; }

.hero {
  height: 218px;
  background: url("./n.7k7kimg.cn/uploads/xjhx/pbg_headerpic.jpg") no-repeat;
}
.layout { display: flex; }

.left-col {
  width: 233px;
  background: url("./n.7k7kimg.cn/uploads/xjhx/pbg_sidebar.jpg") no-repeat;
  padding-bottom: 10px;
}

.login-panel {
  height: 300px;
  padding: 5px 0 0 34px;
  color: #fff;
}
.tabs {
  width: 158px;
  padding-top: 4px;
  padding-left: 8px;
  display: flex;
}
.tabs button {
  width: 50px;
  height: 40px;
  padding-top: 11px;
  margin-left: 19px;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.tabs .active {
  background: url("./n.7k7kimg.cn/uploads/xjhx/dl_bg_light.jpg") 0 35px no-repeat;
}

.form-box { width: 158px; padding-left: 10px; }
.form-box label {
  display: inline-block;
  width: 50px;
  text-align: right;
  color: #f2d5a3;
}
.form-box .row { margin: 5px 0; }
.form-box input {
  width: 96px;
  height: 22px;
  border: 1px solid #271508;
  background: #c5b08d;
  color: #1c1009;
  padding: 2px 4px;
}
.btn-primary {
  width: 70px;
  height: 24px;
  margin: 6px 0 0 58px;
  border: 0;
  color: #ffcc00;
  font-weight: 700;
  background: url("./n.7k7kimg.cn/uploads/xjhx/dl_jryx_btn.jpg") no-repeat;
  cursor: pointer;
}
/* Admin recharge chests — default .btn-primary is 70×24 and clips this label */
#rechargeSendBtn.btn-primary {
  width: auto;
  min-width: 200px;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 18px;
  line-height: 1.35;
  white-space: nowrap;
  box-sizing: border-box;
  background-size: 100% 100%;
  font-size: 13px;
}
.hidden { display: none; }
.user-box {
  margin: 8px 0 0 12px;
  width: 170px;
  color: #f2d5a3;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  padding: 8px;
  text-align: center;
}
.user-box > div:first-child {
  line-height: 1.25;
  margin-bottom: 4px;
}
.user-box > div:first-child strong {
  display: block;
  margin-bottom: 2px;
  position: relative;
  left: 5px;
}
.user-box #accountName {
  display: block;
  font-size: 11px;
  word-break: break-all;
}
.user-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.user-box .btn-primary {
  display: inline-block;
  width: 44px;
  height: 19px;
  margin: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
  line-height: 19px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  background-size: 100% 100%;
}
.user-box .logout-button {
  display: block;
  width: 56px;
  height: 23px;
  margin: 8px auto 0;
  line-height: 23px;
  font-size: 11px;
}
.user-box .play-button-large {
  display: block;
  width: 66px;
  height: 25px;
  margin: 8px auto 0;
  line-height: 25px;
  font-size: 12px;
  color: #d9ff8f;
  filter: hue-rotate(85deg) saturate(1.35) brightness(1.05);
}
.user-box .auth-message {
  font-size: 9px;
  line-height: 1.25;
}
/* Match original hualang: first ul inline padding:88px 0 0 20px; second ul uses sheet padding:43px 0 0 20px.
   Use content-box so height:155px is the content area (like legacy IE), not clipped by border-box. */
.xszn {
  box-sizing: content-box;
  width: 194px;
  height: 155px;
  margin: 0;
  list-style: none;
  overflow: hidden;
}
.xszn-guide {
  clear: both;
  padding: 88px 0 0 20px;
}
.xszn-feature {
  padding: 43px 0 0 20px;
}
.xszn li {
  float: left;
  width: 90px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 12px;
}
.xszn li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #003b5e;
}

.service {
  clear: both;
  margin: 5px 0 0 0px;
  width: 220px;
  height: 119px;
  background: url("./n.7k7kimg.cn/uploads/xjhx/pic_kf.jpg") no-repeat;
  color: #fff;
  padding: 56px 0 0 86px;
  line-height: 30px;
  font-weight: 700;
}
.service a { color: #fff; }

.main {
  width: 737px;
  min-height: 920px;
  background: url("./n.7k7kimg.cn/uploads/xjhx/pbg_content.jpg") no-repeat;
}
.main h2 {
  margin: 0;
  padding: 16px 20px 8px 60px;
  font-size: 18px;
}
.article {
  width: 710px;
  margin: 0 auto;
  border: 1px solid #54a9ff;
  background: #dcf8ff;
  padding: 10px 0 24px;
}
.breadcrumb {
  margin: 0;
  padding: 0 20px 10px 20px;
  font-size: 14px;
  font-weight: 700;
}
.gallery {
  padding: 10px 0 0 50px;
  display: flex;
  flex-wrap: wrap;
}
.gallery .slot {
  width: 150px;
  height: 170px;
  margin-right: 65px;
  text-align: center;
  line-height: 24px;
}
.gallery .slot img {
  border: 1px solid #2696eb;
  padding: 1px;
  width: 149px;
  height: 112px;
  display: block;
}
/* User-uploaded artwork & screenshots (varied aspect ratios) */
.gallery.art-gallery {
  padding: 10px 20px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px 32px;
}
.gallery.art-gallery .slot {
  width: 200px;
  height: auto;
  min-height: 0;
  margin-right: 0;
  line-height: 1.5;
}
.gallery.art-gallery .slot img {
  width: 100%;
  max-width: 200px;
  height: auto;
  min-height: 80px;
  max-height: 240px;
  object-fit: contain;
  background: #eef9ff;
}
.main .artwork-lead {
  margin: 8px 20px 4px;
  padding: 0;
  font-size: 14px;
  color: #003b5e;
  line-height: 1.8;
}

.content-page { width: 980px; margin: 30px auto; background: #dff5ff; border: 1px solid #57a5d5; }
.content-page h2 { margin: 0; padding: 12px; color: #0a4f7b; background: #bfe8ff; border-bottom: 1px solid #57a5d5; }
.content-page .article { width: auto; margin: 0; border: 0; background: transparent; padding: 18px; }
.content-page .image-placeholder {
  margin-top: 14px;
  border: 2px dashed #6daed8;
  border-radius: 8px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef9ff;
}

/* Blog-style article inside main column (same shell as index.html) */
.main .blog-post.character-page,
.main .blog-post.guide-post,
.main .blog-post.server-page {
  padding: 14px 28px 28px;
}
.main .blog-post.character-page .breadcrumb,
.main .blog-post.guide-post .breadcrumb,
.main .blog-post.server-page .breadcrumb {
  padding-left: 0;
  padding-right: 0;
}
.main .blog-post.character-page .character-intro {
  margin: 12px 0 18px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
}
.main .blog-post.character-page .character-shot,
.main .blog-post.guide-post .guide-shot {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid #54a9ff;
  box-shadow: 0 2px 8px rgba(0, 80, 140, 0.15);
}
.main .blog-post.guide-post .guide-shot {
  margin-top: 8px;
}
.main .blog-post.character-page .character-back,
.main .blog-post.guide-post .guide-back {
  margin: 18px 0 0;
  text-align: center;
}
.main .blog-post.server-page .server-intro {
  margin: 12px 0 18px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
}
.main .blog-post.server-page .server-current {
  margin: 8px 0 20px;
  padding: 18px 22px;
  max-width: 420px;
  border: 1px solid #54a9ff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 80, 140, 0.12);
  background: linear-gradient(180deg, #f8fcff 0%, #eef9ff 100%);
}
.main .blog-post.server-page .server-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #0066aa;
  letter-spacing: 0.06em;
}
.main .blog-post.server-page .server-name {
  font-size: 22px;
  font-weight: 700;
  color: #003b5e;
  letter-spacing: 0.04em;
}
.main .blog-post.server-page .character-back {
  margin: 18px 0 0;
  text-align: center;
}

.main .blog-post.shortcut-page .shortcut-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-width: 560px;
}
.main .blog-post.shortcut-page .shortcut-list li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 8px 0;
  border-bottom: 1px solid #b8dff5;
  font-size: 14px;
  line-height: 1.55;
  color: #003b5e;
}
.main .blog-post.shortcut-page .shortcut-list li:last-child {
  border-bottom: none;
}
.main .blog-post.shortcut-page kbd {
  display: inline-block;
  min-width: 1.25em;
  padding: 3px 8px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  background: #eef7fc;
  border: 1px solid #7eb8e0;
  border-radius: 4px;
  box-shadow: 0 1px 0 #fff inset;
}
.main .blog-post.shortcut-page .shortcut-keys {
  flex: 0 0 auto;
  min-width: 138px;
}
.main .blog-post.shortcut-page .shortcut-arrow {
  flex: 0 0 auto;
  color: #4a7fa3;
}
.main .blog-post.shortcut-page .shortcut-desc {
  flex: 1;
  min-width: 120px;
}

/* 新手任务 — keyword highlights */
.main .blog-post.newbie-page .newbie-lead {
  margin: 14px 0 0;
  max-width: 640px;
  line-height: 2;
  font-size: 15px;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.newbie-page .hl-daily {
  color: #0d47a1;
  font-weight: 800;
  border-bottom: 2px solid #64b5f6;
}
.main .blog-post.newbie-page .hl-level {
  color: #1565c0;
  font-weight: 800;
}
.main .blog-post.newbie-page .hl-main {
  color: #00695c;
  font-weight: 800;
}
.main .blog-post.newbie-page .hl-place {
  color: #6a1b9a;
  font-weight: 800;
}
.main .blog-post.newbie-page .hl-npc {
  color: #00838f;
  font-weight: 800;
}
.main .blog-post.newbie-page .hl-ui {
  color: #c62828;
  font-weight: 800;
}
.main .blog-post.newbie-page .hl-count {
  color: #ef6c00;
  font-weight: 800;
}
.main .blog-post.newbie-page .hl-orange {
  color: #e65100;
  font-weight: 800;
}
.main .blog-post.newbie-page .hl-green {
  color: #2e7d32;
  font-weight: 800;
}
.main .blog-post.newbie-page .hl-grey {
  color: #546e7a;
  font-weight: 800;
}
.main .blog-post.newbie-page .hl-mall {
  color: #ad1457;
  font-weight: 800;
}
.main .blog-post.newbie-page .hl-ticket {
  color: #b8860b;
  font-weight: 800;
  padding: 0 2px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff9e6 0%, #ffe8a3 100%);
  border: 1px solid #e6c200;
}

/* 特色玩法 — stacked sections (text + screenshot) */
.main .blog-post.special-page .special-section {
  margin: 22px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px dashed #9fd4f5;
}
.main .blog-post.special-page .special-section:first-of-type {
  margin-top: 12px;
}
.main .blog-post.special-page .special-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.main .blog-post.special-page .special-lead {
  margin: 0 0 14px;
  max-width: 640px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.special-page .special-section .guide-shot {
  margin-top: 4px;
}
.main .blog-post.special-page .special-outro {
  margin: 22px 0 6px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #0a5a8c;
}

/* 职业说明 — tabs + skill table */
.main .blog-post.class-guide-page .class-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
  padding: 0;
}
.main .blog-post.class-guide-page .class-tabs a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #54a9ff;
  border-radius: 6px;
  background: #ecf8ff;
  font-weight: 700;
  color: #0a4f7b;
}
.main .blog-post.class-guide-page .class-tabs a:hover {
  background: #d4efff;
}
.main .blog-post.class-guide-page .class-overview {
  margin-top: 26px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #9fd4f5;
}
.main .blog-post.class-guide-page .class-overview:first-of-type {
  margin-top: 8px;
}
.main .blog-post.class-guide-page .class-overview:last-of-type {
  border-bottom: none;
}
.main .blog-post.class-guide-page .class-intro {
  margin: 0 0 12px;
  max-width: 640px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.class-guide-page .class-banner {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 4px auto 16px;
  border: 1px solid #54a9ff;
  box-shadow: 0 2px 8px rgba(0, 80, 140, 0.12);
}
.main .blog-post.class-guide-page .class-heading {
  margin: 0 0 10px;
  font-size: 18px;
  color: #0a4f7b;
  border-bottom: 2px solid #7ec8f0;
  padding-bottom: 6px;
}

/* 生产合成 — icon grids */
.main .blog-post.crafting-page .craft-lead {
  margin: 12px 0 18px;
  max-width: 640px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.crafting-page .craft-block {
  margin: 22px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px dashed #9fd4f5;
}
.main .blog-post.crafting-page .craft-block:last-of-type {
  border-bottom: none;
}
.main .blog-post.crafting-page .craft-heading {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0a4f7b;
  border-bottom: 2px solid #7ec8f0;
  padding-bottom: 6px;
}
.main .blog-post.crafting-page .craft-desc {
  margin: 0 0 14px;
  font-size: 13px;
  color: #15608c;
  line-height: 1.7;
}
.main .blog-post.crafting-page .craft-subhead {
  margin: 18px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #0a5a8c;
}
.main .blog-post.crafting-page .craft-subhead:first-of-type {
  margin-top: 4px;
}
.main .blog-post.crafting-page .craft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 12px 10px;
  margin-bottom: 6px;
}
.main .blog-post.crafting-page .craft-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 10px 6px;
  background: linear-gradient(180deg, #fafdff 0%, #eef8ff 100%);
  border: 1px solid #8ecfff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 80, 140, 0.08);
}
.main .blog-post.crafting-page .craft-icon {
  display: block;
  border: 1px solid #2696eb;
  padding: 2px;
  background: #1a1520;
  border-radius: 4px;
}
.main .blog-post.crafting-page .craft-name {
  font-size: 12px;
  line-height: 1.35;
  color: #063a5c;
  font-weight: 600;
}
.main .blog-post.crafting-page .craft-meta {
  font-size: 11px;
  line-height: 1.4;
  color: #15608c;
  font-weight: 500;
}
.main .blog-post.crafting-page .craft-stat {
  font-size: 11px;
  line-height: 1.35;
  color: #0a5a2e;
  font-weight: 700;
}
.main .blog-post.crafting-page .craft-back {
  margin: 24px 0 8px;
  text-align: center;
  font-size: 14px;
}
.main .blog-post.crafting-page .craft-back a {
  font-weight: 700;
  color: #0a5a8c;
}

/* 世界地图（7k7k 原文排版） */
.main .blog-post.world-map-page .world-map-head {
  margin: 8px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #9fd4f5;
  text-align: center;
}
.main .blog-post.world-map-page .world-map-art-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0a4f7b;
}
.main .blog-post.world-map-page .world-map-date {
  margin: 8px 0 0;
  font-size: 13px;
  color: #546e7a;
}
.main .blog-post.world-map-page .world-map-body {
  margin-top: 6px;
}
.main .blog-post.world-map-page .map-figure {
  margin: 16px 0;
  text-align: center;
}
.main .blog-post.world-map-page .map-shot {
  max-width: 100%;
  height: auto;
  border: 1px solid #54a9ff;
  box-shadow: 0 2px 8px rgba(0, 80, 140, 0.12);
  vertical-align: middle;
}
.main .blog-post.world-map-page .map-text {
  margin: 14px 0 0;
  max-width: 640px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.world-map-page .map-region-title {
  margin: 20px 0 0;
  font-size: 15px;
  color: #0a5a8c;
}

/* 炫彩时装 */
.main .blog-post.fashion-page .fashion-lead {
  margin: 12px 0 20px;
  max-width: 640px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.fashion-page .fashion-figure {
  margin: 18px 0 0;
  padding: 0;
  text-align: center;
}
.main .blog-post.fashion-page .fashion-shot {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 1px solid #333;
  background: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* 坐骑翅膀 */
.main .blog-post.mount-wings-page .mount-wings-h3 {
  margin: 22px 0 10px;
  font-size: 17px;
  font-weight: bold;
  color: #0a5a8c;
  border-bottom: 1px solid #b8dff5;
  padding-bottom: 6px;
}
.main .blog-post.mount-wings-page .mount-wings-h3:first-of-type {
  margin-top: 8px;
}
.main .blog-post.mount-wings-page .mount-wings-h4 {
  margin: 20px 0 8px;
  font-size: 15px;
  font-weight: bold;
  color: #0c6e9e;
}
.main .blog-post.mount-wings-page .mount-wings-lead {
  margin: 10px 0 14px;
  max-width: 640px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.mount-wings-page .mount-wings-lead.mount-wings-tight {
  margin-bottom: 8px;
}
.main .blog-post.mount-wings-page .mount-wings-rules {
  margin: 0 0 8px 1.25em;
  padding: 0;
  max-width: 620px;
  line-height: 1.85;
  font-size: 14px;
  color: #003b5e;
}
.main .blog-post.mount-wings-page .mount-wings-rules li {
  margin: 6px 0;
}
.main .blog-post.mount-wings-page .mount-wings-figure {
  margin: 12px 0 0;
  padding: 0;
  text-align: center;
}
.main .blog-post.mount-wings-page .pixel-game-shot {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #2a2a2a;
}

/* 对色捡魂 */
.main .blog-post.color-soul-page .color-soul-lead {
  margin: 0 0 14px;
  max-width: 640px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.color-soul-page .color-soul-tip {
  margin: 18px 0 0;
  max-width: 640px;
  padding: 12px 14px;
  line-height: 1.85;
  font-size: 14px;
  color: #003b5e;
  background: #f0f8fc;
  border: 1px solid #b8dff5;
  border-radius: 6px;
}

/* 特色玩法短文 — 假面秘会 / 狼人狩猎 / 工会战争 */
.main .blog-post.tese-guide-page .tese-lead {
  margin: 0 0 14px;
  max-width: 640px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.tese-guide-page .tese-subhead {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: bold;
  color: #0c6e9e;
}
.main .blog-post.tese-guide-page .tese-rules {
  margin: 0 0 14px 1.25em;
  padding: 0;
  max-width: 620px;
  line-height: 1.85;
  font-size: 14px;
  color: #003b5e;
}
.main .blog-post.tese-guide-page .tese-rules li {
  margin: 8px 0;
}
.main .blog-post.tese-guide-page .tese-bullets {
  margin: 0 0 14px;
  padding-left: 1.35em;
  max-width: 620px;
  line-height: 1.85;
  font-size: 14px;
  color: #003b5e;
}
.main .blog-post.tese-guide-page .tese-bullets li {
  margin: 8px 0;
}
.main .blog-post.tese-guide-page .tese-dl {
  margin: 0 0 16px;
  max-width: 520px;
  font-size: 14px;
  color: #003b5e;
}
.main .blog-post.tese-guide-page .tese-dl dt {
  font-weight: bold;
  color: #0a5a8c;
  margin-top: 10px;
}
.main .blog-post.tese-guide-page .tese-dl dt:first-child {
  margin-top: 0;
}
.main .blog-post.tese-guide-page .tese-dl dd {
  margin: 4px 0 0 1em;
  line-height: 1.65;
}
.main .blog-post.tese-guide-page .tese-shot-intro {
  margin: 4px 0 12px;
  font-size: 13px;
  color: #5a7a8e;
}
.main .blog-post.tese-guide-page .tese-figure {
  margin: 12px 0 0;
  padding: 0;
  text-align: center;
}
.main .blog-post.tese-guide-page .tese-shot {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 1px solid #54a9ff;
  box-shadow: 0 2px 8px rgba(0, 80, 140, 0.15);
  image-rendering: auto;
}

/* 合成洗练 */
.main .blog-post.crafting-refine-page .refine-jump {
  margin-bottom: 18px;
}
.main .blog-post.crafting-refine-page .tese-heading {
  margin: 22px 0 12px;
  font-size: 17px;
  color: #0a4f7b;
  border-bottom: 2px solid #7ec8f0;
  padding-bottom: 6px;
}
.main .blog-post.crafting-refine-page #refine-modify .tese-heading {
  margin-top: 6px;
}
.main .blog-post.crafting-refine-page section[id^="refine-"]:not(#refine-modify) {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed #9fd4f5;
}
.main .blog-post.crafting-refine-page .muted-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6d8494;
  font-style: italic;
}

/* 职业天赋 */
.main .blog-post.talents-page .talents-jump {
  margin-bottom: 16px;
}
.main .blog-post.talents-page .talents-heading {
  margin: 22px 0 12px;
  font-size: 17px;
  color: #0a4f7b;
  border-bottom: 2px solid #7ec8f0;
  padding-bottom: 6px;
}
.main .blog-post.talents-page #talent-intro .talents-heading {
  margin-top: 8px;
}
.main .blog-post.talents-page .talents-lead {
  margin: 0 0 12px;
  max-width: 640px;
  line-height: 2;
  font-size: 14px;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.talents-page .talents-tip {
  margin: 0 0 18px;
  max-width: 640px;
  padding: 12px 14px;
  line-height: 1.85;
  font-size: 14px;
  color: #003b5e;
  background: #f7fbfd;
  border: 1px solid #b8dff5;
  border-radius: 6px;
}
.main .blog-post.talents-page .talents-section {
  margin-bottom: 8px;
}
.main .blog-post.talents-page .talents-table-wrap {
  overflow-x: auto;
  margin: 8px 0 18px;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.main .blog-post.talents-page table.talents-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13px;
  color: #003b5e;
  background: #fff;
}
.main .blog-post.talents-page table.talents-table th,
.main .blog-post.talents-page table.talents-table td {
  border: 1px solid #7eb8e0;
  padding: 8px 10px;
  vertical-align: top;
  line-height: 1.55;
}
.main .blog-post.talents-page table.talents-table th {
  background: #e8f5fc;
  font-weight: 700;
  color: #0a4f7b;
  white-space: nowrap;
}
.main .blog-post.talents-page table.talents-table td:first-child {
  width: 56px;
  text-align: center;
}
.main .blog-post.talents-page table.talents-table td:nth-child(3) {
  white-space: nowrap;
  width: 3em;
}
.main .blog-post.talents-page .talent-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid #94c8e8;
  border-radius: 4px;
  background: #0d1520;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* 游戏资料 — 分区导航（参照 7k7k 资料首页结构） */
.main .blog-post.game-info-hub .game-info-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 16px;
}
.main .blog-post.game-info-hub .game-info-head .breadcrumb {
  margin: 0;
}
.main .blog-post.game-info-hub .game-info-back {
  margin: 0;
  font-size: 13px;
}
.main .blog-post.game-info-hub .game-info-back a {
  color: #0a6eaa;
}
.main .blog-post.game-info-hub .game-info-back a:hover {
  color: #ff6600;
}
.main .blog-post.game-info-hub .game-info-section {
  margin: 0 0 16px;
  border: 1px solid #7ec8f0;
  border-radius: 6px;
  overflow: hidden;
  background: #fafdff;
  box-shadow: 0 1px 4px rgba(0, 90, 140, 0.08);
}
.main .blog-post.game-info-hub .game-info-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #5cb4f0 0%, #2e94d6 48%, #1f7fc4 100%);
  text-shadow: 0 1px 1px rgba(0, 40, 80, 0.35);
  border-bottom: 1px solid #1a6fa8;
}
.main .blog-post.game-info-hub .game-info-bar-icon {
  font-size: 18px;
  line-height: 1;
  opacity: 0.95;
}
.main .blog-post.game-info-hub .game-info-body {
  padding: 14px 16px 16px;
}
.main .blog-post.game-info-hub .game-info-row {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.85;
  color: #003b5e;
}
.main .blog-post.game-info-hub .game-info-row:last-child {
  margin-bottom: 0;
}
.main .blog-post.game-info-hub .game-info-label {
  font-weight: 700;
  color: #0a3050;
  margin-right: 4px;
}
.main .blog-post.game-info-hub .game-info-links a {
  color: #0c6aa8;
  text-decoration: none;
}
.main .blog-post.game-info-hub .game-info-links a:hover {
  color: #ff6600;
  text-decoration: underline;
}
.main .blog-post.game-info-hub .sep {
  display: inline-block;
  margin: 0 6px;
  color: #87a7bc;
  font-weight: 400;
  user-select: none;
}

/* 新闻公告 — 列表 + 分页（参照 7k7k 公告页结构） */
.main .blog-post.news-page .news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 14px;
}
.main .blog-post.news-page .news-head .breadcrumb {
  margin: 0;
}
.main .blog-post.news-page .news-back {
  margin: 0;
  font-size: 13px;
}
.main .blog-post.news-page .news-back a {
  color: #0a6eaa;
}
.main .blog-post.news-page .news-back a:hover {
  color: #ff6600;
}
.main .blog-post.news-page .news-panel {
  margin: 0 0 22px;
  border: 1px solid #7eb8e0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.main .blog-post.news-page table.news-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.main .blog-post.news-page table.news-table th,
.main .blog-post.news-page table.news-table td {
  border-bottom: 1px solid #d0e8f5;
  padding: 10px 14px;
  text-align: left;
}
.main .blog-post.news-page table.news-table thead th {
  background: linear-gradient(180deg, #e8f6fc 0%, #d4ecfa 100%);
  font-weight: 700;
  color: #0a4f7b;
}
.main .blog-post.news-page table.news-table tbody tr:last-child td {
  border-bottom: none;
}
.main .blog-post.news-page table.news-table .col-date {
  width: 9.5em;
  white-space: nowrap;
  color: #15608c;
}
.main .blog-post.news-page table.news-table td a {
  color: #0c6aa8;
  text-decoration: none;
}
.main .blog-post.news-page table.news-table td a:hover {
  color: #ff6600;
  text-decoration: underline;
}
.main .blog-post.news-page .news-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: #15608c;
  background: #f4fbff;
  border-top: 1px solid #d0e8f5;
}
.main .blog-post.news-page .news-pagination .pg-disabled {
  color: #9cb8c9;
}
.main .blog-post.news-page .news-pagination .pg-current {
  color: #c02626;
  font-weight: 700;
}
.main .blog-post.news-page .news-detail {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #b8dff5;
  border-radius: 8px;
  background: #fafdff;
}
.main .blog-post.news-page .news-detail-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0a4f7b;
}
.main .blog-post.news-page .news-detail-meta {
  margin: 0 0 14px;
  font-size: 12px;
  color: #5a7a8e;
}
.main .blog-post.news-page .news-detail-body {
  font-size: 14px;
  line-height: 2;
  color: #003b5e;
  text-align: justify;
  text-justify: inter-ideograph;
}
.main .blog-post.news-page .news-detail-body p {
  margin: 0;
}
.main .blog-post.news-page .news-detail-body p + p {
  margin-top: 1em;
}
.main .blog-post.news-page .news-detail-subtitle {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #c02626;
}
.main .blog-post.news-page .news-detail-banner {
  margin: 0 0 16px;
  text-align: center;
}
.main .blog-post.news-page .news-detail-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #b8dff5;
}

.site-footer {
  width: 800px;
  margin: 16px auto 0;
  text-align: center;
  color: #000;
  line-height: 22px;
  font-size: 12px;
  padding-top: 20px;
}
.site-footer p {
  margin: 0;
}
.site-footer .footer-links {
  margin-bottom: 2px;
}
.site-footer a {
  color: #000;
}
.site-footer a:hover {
  color: #ff6600;
}

/* ============================================================
   Responsive — tablets and below
   The desktop layout is built on fixed pixel widths and image-
   based chrome (nav strip, sidebar, main column). Below 1000px
   we drop those decorative images and switch to a simple
   stacked / fluid layout so the site is usable on phones.
   ============================================================ */
@media (max-width: 1000px) {
  body {
    background:
      url("./n.7k7kimg.cn/uploads/xjhx/bgg_header.jpg") no-repeat top center / 100% auto,
      url("./n.7k7kimg.cn/uploads/xjhx/bgg_footer.jpg") no-repeat bottom center / 100% auto,
      #6dcafe;
  }

  .container {
    width: 100%;
    padding: 0 10px 100px;
  }

  /* Top nav: ditch image strip, render real text links */
  .top-nav {
    height: auto;
    padding: 8px;
    background: rgba(0, 50, 90, 0.85);
    border-radius: 6px;
    flex-wrap: wrap;
    gap: 6px 8px;
    justify-content: center;
    margin-top: 8px;
  }
  .top-nav a,
  .top-nav .logo,
  .top-nav span.nav-disabled {
    float: none;
    display: inline-block;
    width: auto !important;
    height: auto;
    padding: 7px 12px !important;
    color: #fff;
    text-indent: 0;
    overflow: visible;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    font-size: 13px;
    line-height: 1;
  }
  .top-nav a:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffe680;
    text-decoration: none;
  }
  .top-nav .logo {
    color: #ffe680;
    font-weight: 800;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.05);
  }
  .top-nav span.nav-disabled { opacity: 0.55; }

  /* Hero banner: scale to width, keep aspect ratio */
  .hero {
    height: 0;
    padding-top: 22.5%;
    background-size: 100% auto;
    background-position: center top;
  }

  /* Stack the two-column layout */
  .layout { flex-direction: column; gap: 12px; }

  /* Sidebar — drop the parchment background image */
  .left-col {
    width: 100%;
    background: linear-gradient(180deg, #f7fbff 0%, #e1f1fb 100%);
    border: 1px solid #7eb8e0;
    border-radius: 8px;
    padding: 12px;
    box-sizing: border-box;
  }

  /* Login panel becomes a normal card */
  .login-panel {
    height: auto;
    padding: 10px;
    color: #003b5e;
    border: 1px solid #b8dff5;
    border-radius: 6px;
    background: #fafdff;
  }
  .tabs {
    width: auto;
    padding: 0 0 8px;
    border-bottom: 1px solid #b8dff5;
    gap: 6px;
  }
  .tabs button {
    width: auto;
    height: auto;
    padding: 8px 16px;
    margin: 0;
    color: #0a4f7b;
    background: #ecf8ff;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 13px;
  }
  .tabs .active {
    background: #d4efff;
    border-color: #7ec8f0;
  }

  .form-box {
    width: 100%;
    padding: 10px 0 0;
  }
  .form-box .row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0;
  }
  .form-box label {
    width: 70px;
    text-align: right;
    color: #0a4f7b;
  }
  .form-box input {
    flex: 1;
    width: auto;
    height: 36px;
    background: #fff;
    border: 1px solid #7eb8e0;
    color: #003b5e;
    font-size: 14px;
  }
  .login-panel .btn-primary {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    min-height: 38px;
    margin: 12px auto 0;
    padding: 8px 18px;
    background-size: 100% 100%;
    font-size: 14px;
  }

  .user-box {
    width: 100%;
    margin: 10px 0 0;
    padding: 12px;
    background: #f0f8fc;
    color: #003b5e;
    border: 1px solid #b8dff5;
    border-radius: 6px;
  }
  .user-box > div:first-child strong { left: 0; }
  .user-box .btn-primary { background-size: 100% 100%; }
  .user-box .logout-button,
  .user-box .play-button-large {
    width: auto;
    min-width: 96px;
    padding: 0 14px;
  }

  /* xszn link tiles — abandon the parchment-positioned padding,
     build a real grid with section headings */
  .xszn {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 0 !important;
    margin: 12px 0 0;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 6px;
  }
  .xszn-guide::before,
  .xszn-feature::before {
    grid-column: 1 / -1;
    display: block;
    padding: 7px 10px;
    margin-bottom: 4px;
    font-weight: 700;
    color: #0a4f7b;
    background: linear-gradient(180deg, #d4efff 0%, #b8dff5 100%);
    border: 1px solid #7ec8f0;
    border-radius: 4px;
    font-size: 13px;
  }
  .xszn-guide::before { content: "新手指南"; }
  .xszn-feature::before { content: "特色玩法"; }
  .xszn li {
    float: none;
    width: auto;
    height: auto;
    line-height: 1.4;
  }
  .xszn li a {
    display: block;
    padding: 9px 6px;
    background: #fafdff;
    border: 1px solid #b8dff5;
    border-radius: 4px;
    color: #003b5e;
    font-size: 13px;
  }
  .xszn li a:hover {
    background: #d4efff;
    color: #003b5e;
    text-decoration: none;
  }

  /* Service block — drop the bg image, become a plain card */
  .service {
    margin: 12px 0 0;
    width: 100%;
    height: auto;
    padding: 14px 16px;
    background: linear-gradient(180deg, #1f7fc4 0%, #0a4f7b 100%);
    color: #fff;
    border-radius: 6px;
    line-height: 1.8;
    font-size: 13px;
  }

  /* Main column — drop the parchment background image */
  .main {
    width: 100%;
    min-height: 0;
    background: #dcf8ff;
    border: 1px solid #54a9ff;
    border-radius: 8px;
    padding-bottom: 16px;
  }
  /* Override per-page inline width:970px (e.g. account.html) */
  main.main[style*="width:970px"],
  main.main[style*="width: 970px"] {
    width: 100% !important;
  }
  .main h2 {
    padding: 14px 16px 8px;
    font-size: 18px;
  }
  .article {
    width: auto;
    margin: 0 10px;
    padding: 10px 10px 18px;
  }
  .breadcrumb {
    padding: 0 0 10px;
    font-size: 13px;
  }

  /* Standalone content-page shell */
  .content-page {
    width: auto;
    margin: 16px 10px;
  }

  /* Galleries: fluid grid */
  .gallery {
    padding: 10px 4px 0;
    gap: 14px;
    justify-content: center;
  }
  .gallery .slot {
    width: calc(50% - 14px);
    max-width: 200px;
    height: auto;
    margin-right: 0;
  }
  .gallery .slot img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .gallery.art-gallery {
    padding: 10px 4px 18px;
    gap: 14px;
  }
  .gallery.art-gallery .slot {
    width: calc(50% - 14px);
    max-width: 220px;
  }
  .gallery.art-gallery .slot img {
    aspect-ratio: auto;
    max-height: 200px;
  }

  /* Blog-style pages — tighter horizontal padding on small screens */
  .main .blog-post.character-page,
  .main .blog-post.guide-post,
  .main .blog-post.server-page {
    padding: 12px 14px 20px;
  }
  .main .blog-post.server-page .server-current { max-width: 100%; }
  .main .blog-post.server-page .server-name { font-size: 18px; }

  /* Class-guide / refine / talents quick-jump nav rows */
  .main .blog-post.class-guide-page .class-tabs {
    gap: 6px;
    margin: 12px 0 16px;
  }
  .main .blog-post.class-guide-page .class-tabs a {
    padding: 7px 12px;
    font-size: 13px;
  }
  .main .blog-post.crafting-refine-page .refine-jump,
  .main .blog-post.talents-page .talents-jump {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Crafting grids already use auto-fill, just tighten gutters */
  .main .blog-post.crafting-page .craft-grid {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px 8px;
  }

  /* News */
  .main .blog-post.news-page .news-detail { padding: 12px 14px; }
  .main .blog-post.news-page .news-detail-title { font-size: 16px; }
  .main .blog-post.news-page table.news-table th,
  .main .blog-post.news-page table.news-table td {
    padding: 9px 10px;
    font-size: 13px;
  }
  .main .blog-post.news-page table.news-table .col-date {
    width: 7em;
    font-size: 12px;
  }

  /* Game-info hub */
  .main .blog-post.game-info-hub .game-info-bar { font-size: 15px; }
  .main .blog-post.game-info-hub .game-info-row { font-size: 13px; }

  /* Footer */
  .site-footer {
    width: auto;
    margin: 12px 10px 0;
    padding: 16px 0 8px;
    line-height: 1.7;
  }
}

/* ============================================================
   Small phones — tighten further
   ============================================================ */
@media (max-width: 540px) {
  body { font-size: 13px; }
  .container { padding: 0 8px 80px; }

  .top-nav { padding: 6px; gap: 4px; }
  .top-nav a,
  .top-nav .logo,
  .top-nav span.nav-disabled {
    padding: 6px 9px !important;
    font-size: 12px;
  }
  .top-nav .logo { font-size: 13px; }

  .form-box label { width: 56px; font-size: 12px; }

  .xszn { grid-template-columns: repeat(2, 1fr); }

  .gallery .slot,
  .gallery.art-gallery .slot {
    width: 100%;
    max-width: 280px;
  }

  .main h2 {
    font-size: 16px;
    padding: 12px 12px 6px;
  }
  .article { margin: 0 6px; padding: 10px 8px 16px; }

  /* Talent table allows horizontal scroll already; keep header sticky width small */
  .main .blog-post.talents-page table.talents-table { font-size: 12px; }
  .main .blog-post.talents-page table.talents-table th,
  .main .blog-post.talents-page table.talents-table td {
    padding: 6px 8px;
  }

  .main .blog-post.news-page table.news-table .col-date {
    width: 6em;
  }

  .site-footer { margin: 10px 6px 0; font-size: 11px; }
}
