/* 框架对齐 tl.oofabu.cn：米色纸纹 + 深色顶栏 + 卡片开服表 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

:root {
  --ink: #1b1815;
  --ink2: #2b2622;
  --paper: #f2e9da;
  --paper2: #fbf6ec;
  --card: #fffdf7;
  --line: #dccfb8;
  --line2: #e9dfcc;
  --cin: #b23b2e;
  --cin2: #8e2b21;
  --bam: #46654a;
  --gold: #b98b2f;
  --muted: #6f6558;
  --muted2: #8d8375;
  --shadow: 0 1px 0 #e8dfcb, 0 8px 20px -14px rgba(46, 34, 22, 0.55);
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
}

body {
  margin: 0;
  color: var(--ink2);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 10% 6%, rgba(178, 59, 46, 0.055), transparent 44%),
    radial-gradient(circle at 90% 3%, rgba(70, 101, 74, 0.06), transparent 46%),
    repeating-linear-gradient(0deg, rgba(120, 100, 70, 0.035) 0 1px, transparent 1px 24px);
  font: 15px/1.85 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--cin); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.38; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* header */
.topbar {
  background: var(--ink);
  color: #f0e6d6;
  border-bottom: 3px solid var(--cin);
  position: relative;
  z-index: 70;
}
.tb-in {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; color: inherit; }
.logo:hover { opacity: 0.95; }
.seal {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  background: var(--cin);
  color: #fff8ee;
  border-radius: 3px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34), 0 3px 10px rgba(0, 0, 0, 0.4);
}
.logo-txt b {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 2px;
  color: #fbf3e6;
}
.logo-txt i {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  color: #b9ac97;
  letter-spacing: 1px;
}
.search {
  flex: 1 1 320px;
  display: flex;
  min-width: 220px;
  background: var(--paper2);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #4a423a;
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
}
.search input::placeholder { color: #9c9284; }
.s-btn {
  border: 0;
  background: var(--cin);
  color: #fff6ec;
  padding: 0 18px;
  font-size: 13.5px;
  font-family: inherit;
  cursor: default;
  letter-spacing: 2px;
}
.status {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-size: 12px;
  color: #c6b9a4;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #84c46e;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(132, 196, 110, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(132, 196, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(132, 196, 110, 0); }
}
.status b { display: block; color: #efe4cf; font-size: 12.5px; font-weight: 600; }
.status i { font-style: normal; display: block; font-size: 11px; color: #9b9184; }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(27, 24, 21, 0.97);
  border-bottom: 1px solid #3a342d;
}
.nav.stick { box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.9); }
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.nav ul { display: flex; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a {
  display: block;
  padding: 13px 15px;
  color: #cdc1ae;
  font-size: 14.5px;
  letter-spacing: 1px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: #fff3e2; background: rgba(255, 255, 255, 0.045); text-decoration: none; }
.nav a.on { color: #fff6e8; border-bottom-color: var(--cin); }
.nav-hint { font-size: 11.5px; color: #8d8478; white-space: nowrap; }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #221e1a, #2e2822 62%, #332c25);
  color: #f1e7d7;
  border-bottom: 1px solid #453d34;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 92% at 8% 0%, rgba(178, 59, 46, 0.3), transparent 60%),
    radial-gradient(90% 80% at 94% 18%, rgba(70, 101, 74, 0.3), transparent 62%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr);
  gap: 28px;
  padding: 40px 18px 36px;
  align-items: center;
}
.eyebrow { font-size: 11.5px; letter-spacing: 3px; color: #c9a86a; margin: 0 0 12px; }
.hero h1 {
  font-size: 28px;
  line-height: 1.42;
  margin: 0 0 14px;
  color: #fff6e9;
  letter-spacing: 1px;
}
.hero h1 mark {
  background: linear-gradient(180deg, transparent 64%, rgba(178, 59, 46, 0.7) 64%);
  color: inherit;
  padding: 0 2px;
}
.lede { color: #cfc2ad; font-size: 14.5px; line-height: 1.95; margin: 0; max-width: 790px; }
.vtags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.vtags a {
  font-size: 12.5px;
  padding: 5px 12px;
  border: 1px solid rgba(201, 168, 106, 0.42);
  border-radius: 2px;
  color: #e4d3b2;
  background: rgba(255, 255, 255, 0.04);
}
.vtags a:hover { background: var(--cin); border-color: var(--cin); color: #fff5e9; text-decoration: none; }
.hero-side {
  background: rgba(255, 252, 245, 0.05);
  border: 1px solid rgba(201, 168, 106, 0.3);
  border-radius: 3px;
  padding: 16px 18px 6px;
}
.hs-t {
  font-family: var(--serif);
  font-size: 14px;
  color: #f0dfc0;
  letter-spacing: 2px;
  border-bottom: 1px dashed rgba(201, 168, 106, 0.35);
  padding-bottom: 9px;
  margin: 0 0 6px;
}
.hs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.09);
  font-size: 13px;
  color: #c3b6a1;
}
.hs-row:last-child { border-bottom: 0; }
.hs-row b {
  font-family: var(--serif);
  font-size: 20px;
  color: #f3c98b;
}

/* JS 广告位（内容由 ad-slot.js 注入，HTML 源码不含广告） */
.ad-wrap { padding: 12px 18px 0; }
.ad-slot {
  min-height: 0;
  overflow: hidden;
  text-align: center;
  line-height: 0;
}
.ad-slot-banner {
  min-height: 90px;
  background: rgba(255, 252, 245, 0.6);
  border: 1px dashed var(--line);
  border-radius: 3px;
}
.ad-slot-side {
  min-height: 250px;
  margin-bottom: 20px;
  padding: 8px;
  background: #fffdf8;
  border: 1px dashed var(--line2);
}
.ad-slot.is-loaded { min-height: auto; line-height: normal; }

/* layout */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 26px;
  padding: 26px 0 6px;
  align-items: start;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line2);
  background: linear-gradient(180deg, #fffdf8, #f8f1e3);
  border-radius: 3px 3px 0 0;
}
.card-h h2 {
  font-size: 17.5px;
  margin: 0;
  color: var(--ink);
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-h h2::before {
  content: "";
  width: 4px;
  height: 17px;
  background: var(--cin);
  border-radius: 1px;
  flex: 0 0 4px;
}
.card-h .more { font-size: 12px; color: var(--muted); letter-spacing: 0.5px; white-space: nowrap; }
.card-h a.more:hover { color: var(--cin); text-decoration: none; }
.card-b { padding: 14px 16px; }

.prose h3 { font-size: 15.5px; margin: 22px 0 9px; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.prose h3:first-child { margin-top: 0; }
.prose h3 span { font-family: var(--serif); color: #fff; background: var(--bam); width: 22px; height: 22px; display: grid; place-items: center; font-size: 12.5px; border-radius: 2px; flex: 0 0 22px; font-weight: 400; }
.prose p { margin: 0 0 12px; color: #453c32; line-height: 1.98; }
.prose strong { color: var(--cin2); }
.prose ul { margin: 0 0 14px; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 18px; margin-bottom: 7px; color: #453c32; }
.prose ul li::before { content: "\25C6"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 11px; }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.trust-item { border: 1px solid var(--line2); border-left: 3px solid var(--bam); background: #fffdf8; padding: 12px 14px; border-radius: 2px; }
.trust-item b { display: block; font-family: var(--serif); color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.trust-item p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.8; }

.faq details { border: 1px solid var(--line2); border-radius: 3px; margin-bottom: 10px; background: #fffdf8; }
.faq summary { cursor: pointer; padding: 13px 16px; font-size: 14.5px; font-family: var(--serif); font-weight: 700; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { border-bottom: 1px dashed var(--line); color: var(--cin2); }
.faq .ans { padding: 12px 16px 16px; color: #4a4137; font-size: 14px; line-height: 1.95; }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.mini { border: 1px solid var(--line2); border-radius: 3px; background: #fffdf8; padding: 13px 15px; }
.mini b { display: block; font-family: var(--serif); color: var(--ink); font-size: 14px; margin-bottom: 5px; }
.mini p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.85; }

.bars li { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 13px; color: #453c32; list-style: none; }
.bars .nm { flex: 0 0 96px; }
.bars .bar { flex: 1; height: 9px; background: #efe7d8; border-radius: 1px; overflow: hidden; }
.bars .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--bam), #7ba07f); }
.bars .vv { flex: 0 0 40px; text-align: right; color: var(--muted2); font-size: 12px; }

.ext a.ext-card { display: flex; gap: 11px; align-items: center; padding: 10px; border: 1px solid var(--line2); border-radius: 3px; margin-bottom: 9px; background: #fffdf8; }
.ext a.ext-card:last-child { margin-bottom: 0; }
.ext a.ext-card:hover { border-color: var(--cin); background: #fdf5ec; text-decoration: none; }
.ext .ico { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 3px; display: grid; place-items: center; font-family: var(--serif); font-size: 14px; color: #fff; }
.ext .t { font-size: 13.5px; color: var(--ink); font-weight: 700; display: block; }
.ext .d { font-size: 11.5px; color: var(--muted2); display: block; }

.cloud a { display: inline-block; font-size: 12.5px; padding: 4px 10px; margin: 0 6px 7px 0; border: 1px solid var(--line); border-radius: 2px; color: #5b5142; background: #faf5ea; }
.cloud a:hover { background: var(--ink2); color: #f4e9d6; border-color: var(--ink2); text-decoration: none; }
.cloud a.hot { color: var(--cin); border-color: #e3c3bc; background: #fdf1ee; }

.tb-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 660px;
}
tbody tr[data-href] { cursor: pointer; }
thead th {
  background: var(--ink2);
  color: #e9dcc6;
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 1px;
  padding: 11px 12px;
  text-align: left;
  white-space: nowrap;
  border-right: 1px solid #403931;
}
thead th:last-child { border-right: 0; }
tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line2);
  color: #42392f;
}
tbody tr:hover { background: #fdf3ea; }
tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--cin); }
.tm {
  font-family: "DIN Alternate", Menlo, Consolas, monospace;
  color: var(--cin);
  font-weight: 700;
  white-space: nowrap;
}
.srv { font-weight: 700; color: var(--ink); }
.col-game { font-weight: 600; }
.pill {
  display: inline-block;
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 2px;
  border: 1px solid;
  white-space: nowrap;
}
.p-hj { color: #2f5c3a; border-color: #bcd6c2; background: #eef5ef; }
.p-jd { color: #7a4a12; border-color: #e0cba0; background: #fbf3e2; }
.p-gy { color: #2d5570; border-color: #b9d0de; background: #eef4f8; }
.p-wb { color: #7d3a54; border-color: #e0bfcd; background: #fbf0f4; }
.p-new { color: #fff; border-color: var(--cin); background: var(--cin); }
.p-ok { color: #4c5a3f; border-color: #c5d4b8; background: #f0f5eb; }
.btn-enter {
  display: inline-block;
  font-size: 12px;
  padding: 4px 12px;
  background: var(--cin);
  color: #fff !important;
  border-radius: 2px;
  font-weight: 600;
}
.btn-enter:hover { background: var(--cin2); color: #fff !important; text-decoration: none; }
.tip {
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.85;
  padding: 12px 18px 16px;
  border-top: 1px dashed var(--line2);
  margin: 0;
}

.side .card { margin-bottom: 20px; }
.side .card-h h2 { font-size: 15.5px; }
.rank li {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--line);
}
.rank li:last-child { border-bottom: 0; }
.rank .no {
  font-family: var(--serif);
  font-size: 14px;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: #efe6d5;
  color: #7c6a4f;
}
.rank li:nth-child(1) .no { background: var(--cin); color: #fff; }
.rank li:nth-child(2) .no { background: #c07a3a; color: #fff; }
.rank li:nth-child(3) .no { background: var(--gold); color: #fff; }
.rank a { font-size: 13.5px; color: #3d352c; }
.rank .sub { display: block; font-size: 11.5px; color: var(--muted2); margin-top: 2px; }
.side-links li { padding: 8px 0; border-bottom: 1px dotted var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { font-size: 13.5px; color: #453c32; }

.foot {
  background: var(--ink);
  color: #b3a894;
  margin-top: 16px;
  border-top: 3px solid var(--cin);
  font-size: 13px;
}
.foot-in {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 24px;
  padding: 32px 18px 20px;
}
.foot h4 {
  font-family: var(--serif);
  color: #f2e5cd;
  font-size: 14.5px;
  letter-spacing: 2px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3a342d;
}
.foot a { color: #b3a894; }
.foot a:hover { color: #f0c98c; }
.foot ul li { margin-bottom: 8px; line-height: 1.7; }
.foot .about p { line-height: 1.92; color: #a1968a; margin: 0 0 10px; }
.foot .disc { color: #9c8f7c; font-size: 12px; }
.copy {
  border-top: 1px solid #332e28;
  padding: 14px 18px 24px;
  color: #8b8175;
  font-size: 12px;
  line-height: 2;
}
.copy b { color: #c3b6a0; }

#toTop {
  position: fixed;
  right: 20px;
  bottom: 26px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 3px;
  background: var(--cin);
  color: #fff6ea;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.25;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.28s;
}
#toTop.on { opacity: 1; visibility: visible; transform: none; }
#toTop:hover { background: var(--cin2); }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; padding: 30px 18px 28px; }
  .layout { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 22px; }
  .tb-in { padding: 12px 14px; gap: 12px; }
  .nav-hint { display: none; }
  .nav a { padding: 12px; font-size: 14px; }
  .logo-txt i { display: none; }
  .search { order: 3; flex-basis: 100%; }
  #toTop { right: 14px; bottom: 16px; width: 44px; height: 44px; }
  .foot-in { grid-template-columns: 1fr; gap: 18px; }
  .card-b { padding: 14px; }
}
