:root {
  --body: #000000;
  --size: #fffafa;
  --header: #000000;
  --size_checker: #ef748a;
  --content: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  margin-bottom: 1.5em;
  font-size: medium;
  white-space: normal;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
  background-color: var(--body);
  color: var(--size);
}

h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--size);
}

ol,
ul {
  margin: 0 0 1.5em 3em;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

.logo-div {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  border-radius: 10px;

}

/* ===== 头部 ===== */
.header {
  background-color: var(--header);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--size_checker);
  margin: 5px;
}

/* ===== PC导航 ===== */
.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  font-size: 14px;
  opacity: .8;
  font-size: 17px;
  font-weight: bold;
}

.nav a:hover {
  opacity: 1;
  color: var(--size_checker);
}

.nav a.active {
  color: var(--size_checker);
  font-weight: 600;
}

/* ===== 汉堡按钮（默认隐藏） ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ===== 抽屉菜单 ===== */
.drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--content);
  color: #222;
  z-index: 9999;
  transition: .3s;
}

.drawer.show {
  left: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--header);
  border-bottom: 1px solid #eee;
}

.drawer-logo {
  font-size: 18px;
  font-weight: bold;
  color: var(--size_checker);
}

.drawer-close {
  font-size: 22px;
  cursor: pointer;
  color: var(--size);
}

.drawer-menu {
  padding: 20px;
  background-color: var(--content);
}

.drawer-menu a {
  display: block;
  padding: 22px 10px;
  font-size: 18px;
  color: var(--size);
}

.drawer-menu a.active {
  color: var(--size_checker);
  font-weight: 600;
}

/* ===== Banner ===== */
.hero {
  padding: 60px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 26px;
}

.hero p {
  opacity: .7;
  margin-top: 10px;
}

/* ===== 内容 ===== */
.section {
  padding: 30px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.card {
  background-color: #1a1a1a;
  border-radius: 10px;
}

.thumb {
  height: 160px;
  background-color: #333;
}

.card p {
  padding: 10px;
  font-size: 14px;
}

h1,
h2 {
  font-size: 20px;
  padding: 1.25em 2.375em;
  text-align: center;
  background-color: #ffffff;
  margin-bottom: 20px;
  color: #000;
}

a {
  color: var(--size);
}

.content a {
  color: var(--size_checker);
  font-weight: bold;
}

.content {
  font-size: 17px;
}

.image-container {
  width: 100%;
  text-align: center;
}

.image-container img {
  max-width: 250px;
  height: auto;
  border-radius: 10px;
}

/* ===== 底部 ===== */
.footer {
  background-color: var(--header);
  padding: 30px 0;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer p {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  opacity: .5;
}

main {
  background-color: var(--base);
  padding: 0 100px;
  border-radius: 5px;
  margin: 10px auto;
  box-shadow: 0 0 10px var(--base);
}

.content {
  background-color: var(--content);
  padding: 10px 40px;
}

/* ===== 📱 手机端 ===== */
@media(max-width:768px) {

  main {
    background-color: var(--base);
    padding: 0 10px;
    border-radius: 5px;
    margin: 10px auto;
    box-shadow: 0 0 10px var(--base);
  }

  .content {
    background-color: var(--content);
    padding: 10px;
  }

  /* 隐藏PC导航 */
  .nav {
    display: none;
  }

  /* 显示汉堡按钮 */
  .menu-toggle {
    display: block;
  }

  /* 内容布局 */
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:480px) {
  .grid {
    grid-template-columns: 1fr;
  }

}

table {
  margin: 25px auto;
  width: 83%;
  max-width: 800px;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

table th {
  background-color: var(--size_checker);
  color: var(--body);
  font-weight: 600;
  padding: 14px 16px;
  border: none;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.3px;
}

table td {
  background-color: var(--header);
  color: var(--size);
  padding: 12px 16px;
  border: none;
  text-align: center;
}

/* ------ */
#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  background: transparent;
  margin: 10px 0;
}

#ads>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}

#ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: linear-gradient(135deg, #fff, #fff);
}

#ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

#ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

#ads figcaption,
#ads .caption {
  height: 15px;
  font-size: 12px;
  color: #666;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#applist {
  text-align: center;
}

#applist .applist-title {
  font-weight: bold;
}

/* ------ */