: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; }

/* 抖阴 douyinfree.cyou 全站样式 */

:root {

  --primary: #ff3d6e;

  --primary-dark: #d91f55;

  --primary-light: #ff6b8a;

  --accent: #ff8a3d;

  --bg: #0d0d12;

  --bg-card: #18181f;

  --bg-card-hover: #22222c;

  --text: #f2f2f7;

  --text-muted: #9a9aab;

  --border: #2a2a36;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);

  --radius: 12px;

  --max-width: 1200px;

}



*,

*::before,

*::after {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

}



html {

  scroll-behavior: smooth;

  font-size: 16px;

}



body {

  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  color: var(--text);

  background: var(--bg);

  line-height: 1.8;

}



a {

  color: var(--primary-light);

  text-decoration: none;

  transition: color 0.2s;

}



a:hover {

  color: var(--accent);

}



img {

  max-width: 100%;

  height: auto;

  display: block;

}



.container {

  max-width: var(--max-width);

  margin: 0 auto;

  padding: 0 20px;

}



/* Header */

.site-header {

  background: linear-gradient(135deg, #0a0810, #1a1020);

  position: sticky;

  top: 0;

  z-index: 1000;

  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);

  border-bottom: 1px solid var(--border);

}



.header-inner {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 12px 20px;

  max-width: var(--max-width);

  margin: 0 auto;

  gap: 16px;

}



.logo-link {

  display: flex;

  align-items: center;

  gap: 12px;

  color: #fff;

  flex-shrink: 0;

}



.logo-link:hover {

  color: #fff;

  opacity: 0.92;

}



.logo-img {

  width: 44px;

  height: 44px;

  border-radius: 10px;

  object-fit: cover;

}



.logo-text {

  font-size: 1.15rem;

  font-weight: 700;

  white-space: nowrap;

}



.logo-text span {

  color: var(--primary);

}



.menu-toggle {

  display: none;

  flex-direction: column;

  justify-content: center;

  gap: 5px;

  width: 44px;

  height: 44px;

  padding: 10px;

  background: transparent;

  border: 1px solid var(--border);

  border-radius: 8px;

  cursor: pointer;

  z-index: 1002;

}



.menu-toggle span {

  display: block;

  width: 100%;

  height: 2px;

  background: #fff;

  border-radius: 2px;

  transition: transform 0.25s, opacity 0.25s;

}



.menu-toggle.active span:nth-child(1) {

  transform: translateY(7px) rotate(45deg);

}



.menu-toggle.active span:nth-child(2) {

  opacity: 0;

}



.menu-toggle.active span:nth-child(3) {

  transform: translateY(-7px) rotate(-45deg);

}



.main-nav {

  display: flex;

  align-items: center;

  gap: 4px;

  flex-wrap: wrap;

}



.main-nav a {

  color: rgba(255, 255, 255, 0.88);

  padding: 8px 12px;

  border-radius: 6px;

  font-size: 0.88rem;

  white-space: nowrap;

}



.main-nav a:hover,

.main-nav a.active {

  background: rgba(255, 61, 110, 0.18);

  color: var(--primary-light);

}



.header-actions {

  display: flex;

  gap: 8px;

  flex-shrink: 0;

}



.nav-overlay {

  display: none;

  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  z-index: 999;

}



.nav-overlay.open {

  display: block;

}



.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 10px 22px;

  border-radius: 8px;

  font-size: 0.9rem;

  font-weight: 600;

  border: none;

  cursor: pointer;

  transition: all 0.2s;

}



.btn-primary {

  background: linear-gradient(135deg, var(--primary), var(--accent));

  color: #fff;

}



.btn-primary:hover {

  filter: brightness(1.1);

  color: #fff;

}



.btn-outline {

  background: transparent;

  color: #fff;

  border: 2px solid rgba(255, 61, 110, 0.5);

}



.btn-outline:hover {

  background: rgba(255, 61, 110, 0.12);

  color: #fff;

}



/* Ad Bar */

.ad-bar {

  background: linear-gradient(180deg, #14141e 0%, var(--bg) 100%);

  padding: 14px 0 10px;

  border-bottom: 1px solid var(--border);

}



.applist-title {

  text-align: center;

  color: var(--text);

  font-size: 0.95rem;

  font-weight: 600;

  margin-bottom: 10px;

}



#ads {

  display: flex;

  justify-content: center;

  align-items: flex-start;

  flex-wrap: wrap;

  gap: 10px 12px;

  background: transparent;

  margin: 0;

}



#ads > div {

  display: flex;

  flex-direction: column;

  align-items: center;

  width: 70px;

  box-sizing: border-box;

}



#ads figure {

  margin: 0;

  display: flex;

  flex-direction: column;

  align-items: center;

}



#ads img {

  width: 65px;

  height: 65px;

  object-fit: cover;

  border-radius: 18px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);

  transition: transform 180ms ease, box-shadow 180ms ease;

  display: block;

  border: 2px solid rgba(255, 61, 110, 0.2);

  background: #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(255, 61, 110, 0.28);

  border-color: var(--primary);

}



#ads figcaption,

#ads .caption {

  margin-top: 6px;

  height: 15px;

  font-size: 11px;

  color: var(--text-muted);

  text-align: center;

  max-width: 70px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

}



/* Hero */

.hero {

  background: linear-gradient(135deg, #0a0812 0%, #1a1028 50%, #201018 100%);

  color: #fff;

  padding: 56px 0;

  position: relative;

  overflow: hidden;

}



.hero::after {

  content: "";

  position: absolute;

  inset: 0;

  background: radial-gradient(ellipse at 70% 50%, rgba(255, 61, 110, 0.14) 0%, transparent 60%);

  pointer-events: none;

}



.hero-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 40px;

  align-items: center;

  position: relative;

  z-index: 1;

}



.hero h1 {

  font-size: 1.95rem;

  line-height: 1.35;

  margin-bottom: 16px;

}



.hero-desc {

  color: rgba(255, 255, 255, 0.82);

  font-size: 1.05rem;

  margin-bottom: 24px;

}



.hero-btns {

  display: flex;

  gap: 12px;

  flex-wrap: wrap;

}



.hero-img {

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  border: 1px solid var(--border);

  width: 100%;

  object-fit: cover;

  object-position: top center;

  max-height: 420px;

}



/* Sections */

section {

  padding: 56px 0;

}



section:nth-child(even) {

  background: rgba(255, 255, 255, 0.02);

}



.section-header {

  text-align: center;

  margin-bottom: 40px;

}



.section-header h2 {

  font-size: 1.75rem;

  margin-bottom: 12px;

  color: #fff;

}



.section-header p {

  color: var(--text-muted);

  max-width: 680px;

  margin: 0 auto;

}



.feature-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 24px;

}



.feature-item {

  background: var(--bg-card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 28px;

  transition: border-color 0.2s, transform 0.2s;

}



.feature-item:hover {

  border-color: rgba(255, 61, 110, 0.4);

  transform: translateY(-2px);

}



.feature-item h3 {

  color: var(--primary-light);

  margin-bottom: 12px;

  font-size: 1.1rem;

}



.feature-item p {

  color: var(--text-muted);

  font-size: 0.95rem;

}



.card-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 24px;

}



.card {

  background: var(--bg-card);

  border-radius: var(--radius);

  overflow: hidden;

  border: 1px solid var(--border);

  transition: transform 0.2s, box-shadow 0.2s;

}



.card:hover {

  transform: translateY(-4px);

  box-shadow: var(--shadow);

  border-color: rgba(255, 61, 110, 0.3);

}



.card-img {

  width: 100%;

  height: 220px;

  object-fit: cover;

  object-position: top center;

}



.card-body {

  padding: 20px;

}



.card-body h3 {

  margin-bottom: 10px;

  color: #fff;

  font-size: 1.05rem;

}



.card-body p {

  color: var(--text-muted);

  font-size: 0.92rem;

}



.stats-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

  gap: 24px;

  text-align: center;

}



.stat-item {

  background: var(--bg-card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 32px 20px;

}



.stat-num {

  font-size: 2.2rem;

  font-weight: 800;

  color: var(--primary);

  line-height: 1.2;

}



.stat-label {

  color: var(--text-muted);

  margin-top: 8px;

  font-size: 0.9rem;

}



.cta-banner {

  background: linear-gradient(135deg, #1a1020, #2a1528);

  border: 1px solid rgba(255, 61, 110, 0.3);

  border-radius: var(--radius);

  padding: 48px 32px;

  text-align: center;

  margin-top: 40px;

}



.cta-banner h2 {

  margin-bottom: 12px;

  color: #fff;

}



.cta-banner p {

  color: var(--text-muted);

  margin-bottom: 24px;

}



.faq-list {

  max-width: 800px;

  margin: 0 auto;

}



.faq-item {

  background: var(--bg-card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  margin-bottom: 12px;

  overflow: hidden;

}



.faq-item summary {

  padding: 18px 24px;

  cursor: pointer;

  font-weight: 600;

  color: #fff;

  list-style: none;

}



.faq-item summary::-webkit-details-marker {

  display: none;

}



.faq-item summary::after {

  content: "+";

  float: right;

  color: var(--primary);

}



.faq-item[open] summary::after {

  content: "−";

}



.faq-answer {

  padding: 0 24px 18px;

  color: var(--text-muted);

  font-size: 0.95rem;

}



.article-content {

  max-width: 860px;

  margin: 0 auto;

}



.article-content h2 {

  margin: 32px 0 16px;

  color: #fff;

  font-size: 1.5rem;

}



.article-content h3 {

  margin: 24px 0 12px;

  color: var(--primary-light);

  font-size: 1.15rem;

}



.article-content p {

  margin-bottom: 16px;

  color: var(--text-muted);

}



.article-content ul,

.article-content ol {

  margin: 0 0 16px 24px;

  color: var(--text-muted);

}



.article-content li {

  margin-bottom: 8px;

}



.internal-links {

  background: var(--bg-card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 24px;

  margin-top: 32px;

}



.internal-links h3 {

  margin-bottom: 12px;

  color: #fff;

  font-size: 1rem;

}



.internal-links ul {

  list-style: none;

  margin: 0;

  display: flex;

  flex-wrap: wrap;

  gap: 8px 20px;

}



.internal-links li::before {

  content: "› ";

  color: var(--primary);

}



.breadcrumb {

  padding: 14px 0;

  background: rgba(255, 255, 255, 0.02);

  border-bottom: 1px solid var(--border);

  font-size: 0.88rem;

  color: var(--text-muted);

}



.breadcrumb a {

  color: var(--text-muted);

}



.breadcrumb a:hover {

  color: var(--primary-light);

}



.breadcrumb span {

  margin: 0 8px;

  opacity: 0.5;

}



.page-header {

  padding: 40px 0;

  text-align: center;

  background: linear-gradient(135deg, #0a0812, #1a1020);

}



.page-header h1 {

  font-size: 2rem;

  margin-bottom: 8px;

}



.page-header p {

  color: var(--text-muted);

}



.page-body {

  padding: 48px 0 64px;

}



.page-body .article-content {

  max-width: 800px;

}



.showcase-row {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 32px;

  align-items: center;

  margin-bottom: 48px;

}



.showcase-row.reverse {

  direction: rtl;

}



.showcase-row.reverse > * {

  direction: ltr;

}



.showcase-img {

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  border: 1px solid var(--border);

  width: 100%;

  max-height: 380px;

  object-fit: cover;

  object-position: top center;

}



.screenshot-gallery {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

  gap: 28px;

}



.screenshot-item {

  background: var(--bg-card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  overflow: hidden;

  transition: transform 0.2s, border-color 0.2s;

}



.screenshot-item:hover {

  transform: translateY(-3px);

  border-color: rgba(255, 61, 110, 0.35);

}



.screenshot-item img {

  width: 100%;

  height: 240px;

  object-fit: cover;

  object-position: top center;

  border-bottom: 1px solid var(--border);

}



.screenshot-item .shot-body {

  padding: 20px;

}



.screenshot-item h3 {

  font-size: 1.05rem;

  color: #fff;

  margin-bottom: 10px;

}



.screenshot-item p {

  font-size: 0.9rem;

  color: var(--text-muted);

  line-height: 1.75;

}



.brand-showcase {

  display: flex;

  align-items: center;

  gap: 32px;

  background: var(--bg-card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 32px;

  margin-bottom: 40px;

}



.brand-showcase img {

  width: 120px;

  height: 120px;

  border-radius: 24px;

  flex-shrink: 0;

  box-shadow: var(--shadow);

}



.brand-showcase h3 {

  color: var(--primary-light);

  margin-bottom: 10px;

}



.brand-showcase p {

  color: var(--text-muted);

  font-size: 0.95rem;

}



.deep-dive-block {

  background: var(--bg-card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 32px;

  margin-bottom: 32px;

}



.deep-dive-block .showcase-row {

  margin-bottom: 0;

}



.deep-dive-block h3 {

  font-size: 1.25rem;

  color: #fff;

  margin-bottom: 14px;

}



.deep-dive-block p {

  color: var(--text-muted);

  margin-bottom: 12px;

  font-size: 0.95rem;

}



.deep-dive-block ul {

  margin: 0 0 12px 20px;

  color: var(--text-muted);

  font-size: 0.92rem;

}



.deep-dive-block li {

  margin-bottom: 6px;

}



.content-img-row {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  margin: 28px 0;

}



.content-img-row img {

  border-radius: var(--radius);

  border: 1px solid var(--border);

  box-shadow: var(--shadow);

  width: 100%;

  height: 200px;

  object-fit: cover;

  object-position: top center;

}



.content-img-row figcaption {

  text-align: center;

  font-size: 0.82rem;

  color: var(--text-muted);

  margin-top: 8px;

}



.tag-list {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin: 16px 0;

}



.tag-list span {

  background: rgba(255, 61, 110, 0.12);

  color: var(--primary-light);

  padding: 4px 12px;

  border-radius: 20px;

  font-size: 0.82rem;

  border: 1px solid rgba(255, 61, 110, 0.25);

}



.steps {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

  gap: 20px;

  margin-top: 28px;

}



.step-card {

  background: var(--bg-card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 24px;

  position: relative;

}



.step-num {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 36px;

  height: 36px;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--primary), var(--accent));

  color: #fff;

  font-weight: 700;

  margin-bottom: 12px;

}



.step-card h3 {

  color: #fff;

  margin-bottom: 8px;

  font-size: 1.05rem;

}



.step-card p {

  color: var(--text-muted);

  font-size: 0.92rem;

}



/* Footer */

.site-footer {

  background: #08080e;

  border-top: 1px solid var(--border);

  padding: 48px 0 24px;

}



.footer-grid {

  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 32px;

  margin-bottom: 32px;

}



.footer-brand p {

  color: var(--text-muted);

  font-size: 0.9rem;

  margin-top: 12px;

  line-height: 1.7;

}



.footer-col h4 {

  color: #fff;

  margin-bottom: 14px;

  font-size: 0.95rem;

}



.footer-col ul {

  list-style: none;

}



.footer-col li {

  margin-bottom: 8px;

}



.footer-col a {

  color: var(--text-muted);

  font-size: 0.9rem;

}



.footer-col a:hover {

  color: var(--primary-light);

}



.footer-bottom {

  border-top: 1px solid var(--border);

  padding-top: 20px;

  text-align: center;

}



.footer-bottom p {

  color: var(--text-muted);

  font-size: 0.85rem;

}



/* Error pages */

.error-page {

  padding: 80px 0;

  text-align: center;

  min-height: 60vh;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

}



.error-code {

  font-size: 6rem;

  font-weight: 900;

  color: var(--primary);

  line-height: 1;

  opacity: 0.85;

}



.error-title {

  font-size: 1.75rem;

  margin: 16px 0;

}



.error-desc {

  color: var(--text-muted);

  margin-bottom: 28px;

  max-width: 480px;

}



/* Responsive + Hamburger */

@media (max-width: 980px) {

  .menu-toggle {

    display: flex;

  }



  .header-actions {

    display: none;

  }



  .main-nav {

    display: none;

    position: fixed;

    top: 0;

    right: 0;

    width: min(300px, 82vw);

    height: 100vh;

    background: #12121a;

    flex-direction: column;

    align-items: stretch;

    padding: 80px 20px 32px;

    gap: 4px;

    z-index: 1001;

    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);

    border-left: 1px solid var(--border);

    overflow-y: auto;

  }



  .main-nav.open {

    display: flex;

  }



  .main-nav a {

    padding: 14px 16px;

    font-size: 1rem;

    border-radius: 8px;

  }



  .hero-grid,

  .showcase-row,

  .two-col {

    grid-template-columns: 1fr;

  }



  .showcase-row.reverse {

    direction: ltr;

  }



  .footer-grid {

    grid-template-columns: 1fr 1fr;

  }



  .brand-showcase {

    flex-direction: column;

    text-align: center;

  }



  .content-img-row {

    grid-template-columns: 1fr;

  }

}



@media (max-width: 600px) {

  .footer-grid {

    grid-template-columns: 1fr;

  }



  .hero h1 {

    font-size: 1.45rem;

  }



  .hero {

    padding: 40px 0;

  }



  .screenshot-gallery {

    grid-template-columns: 1fr;

  }



  .section-header h2 {

    font-size: 1.4rem;

  }



  .page-header h1 {

    font-size: 1.5rem;

  }

}



/* === 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; }
}
