:root {
  --base: #0b0b0b; --sizecolor: #f2f2f2; --clickcolor: #fe2c55; --contrast: #222; --contrast-2: #aaa;
}
body { background: #1a1a1a; margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; }

:root {
  --body: #fff;
  --size: #000;
  --header: #fff;
  --size_checker: #ff1f9b;
  --content: #f5f5f5;
}

* {
  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);
}



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: #eee;
  color: #222;
  z-index: 9999;
  transition: .3s;
}

.drawer.show {
  left: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.drawer-logo {
  font-size: 18px;
  font-weight: bold;
}

.drawer-close {
  font-size: 22px;
  cursor: pointer;
}

.drawer-menu {
  padding: 20px;
  background-color: #eaeaea;
}

.drawer-menu a {
  display: block;
  padding: 22px 10px;
  font-size: 18px;
  color: #222;
}

.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);
}
.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;
  }
  
}

/* ------ */
#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;
}

/* ------ */

:root {
  --body: #fff;
  --size: #000;
  --header: #fff;
  --size_checker: #ff1f9b;
  --content: #f5f5f5;
}

* {
  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);
}



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: #eee;
  color: #222;
  z-index: 9999;
  transition: .3s;
}

.drawer.show {
  left: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.drawer-logo {
  font-size: 18px;
  font-weight: bold;
}

.drawer-close {
  font-size: 22px;
  cursor: pointer;
}

.drawer-menu {
  padding: 20px;
  background-color: #eaeaea;
}

.drawer-menu a {
  display: block;
  padding: 22px 10px;
  font-size: 18px;
  color: #222;
}

.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);
}
.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;
  }
  
}

/* ------ */
#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;
}

/* ------ */

/* === shell layout (paired with target theme CSS above) === */
.header-box { width: 100%; }
.header {
  height: 70px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; position: sticky; top: 0; z-index: 1000;
  background: var(--base, #000); color: var(--sizecolor, #fff);
}
.logo img { height: 50px; width: auto; border-radius: 10px; }
.nav { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.nav a { color: var(--sizecolor, #fff); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--clickcolor, #fe2c55); }
button.menu-btn {
  display: none; background: none; border: none; color: var(--sizecolor, #fff);
  font-size: 26px; cursor: pointer;
}
main {
  max-width: 1100px; margin: 16px auto; padding: 28px 24px;
  background: var(--base, #111); border-radius: 8px;
  color: var(--sizecolor, #eee);
}
.content a { color: var(--clickcolor, #fe2c55); font-weight: 600; }
.content h1, .content h2 {
  font-size: 20px; padding: 0.9em 1em; text-align: center; margin: 0 0 18px;
  background: #fff; color: #111;
}
.content h3 { margin: 1.2em 0 0.6em; font-size: 18px; }
.content p { margin: 0 0 1.2em; line-height: 1.75; }
.content ul, .content ol { margin: 0 0 1.2em 1.6em; }
.img-box { text-align: center; margin: 16px 0 22px; }
.img-box img, .content img {
  max-width: 860px; width: 100%; height: auto; border-radius: 12px; display: block; margin: 0 auto;
}
.footer {
  background: var(--base, #000); color: var(--sizecolor, #fff);
  padding: 28px 16px; margin-top: 28px; text-align: center;
}
.footer a { color: var(--sizecolor, #fff); margin: 0 10px 8px; display: inline-block; text-decoration: none; }
.footer-bottom { margin-top: 14px; font-size: 13px; opacity: 0.85; }
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; z-index: 2000;
}
.overlay.is-open { display: block; }
.sidebar {
  width: 280px; height: 100%; background: var(--base, #111); padding: 20px; position: relative;
}
.sidebar .menu a {
  display: block; padding: 14px 8px; color: var(--sizecolor, #fff); text-decoration: none; font-size: 18px;
}
button.close-btn {
  position: absolute; top: 16px; right: -52px; width: 40px; height: 40px;
  background: #333; color: #fff; border: none; cursor: pointer;
}
.right-area { position: absolute; left: 280px; right: 0; top: 0; bottom: 0; }
.ads-top-bar { margin: 10px 0 22px; }
#applist {
  text-align: center; margin: 8px 0; padding: 14px 10px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; background: rgba(0,0,0,0.35);
}
#applist .applist-title { font-weight: bold; margin-bottom: 10px; }
#ads { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
#ads .ads-item, #ads > div { width: 70px; text-align: center; }
#ads img { width: 65px; height: 65px; object-fit: cover; border-radius: 18px; display: block; margin: 0 auto; }
#ads .caption, #ads figcaption {
  font-size: 12px; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 4px auto 0;
}
.related { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 768px) {
  .nav { display: none !important; }
  button.menu-btn { display: block !important; }
}
