:root{
  --bg:#f3f4f6;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;
  --brand:#003a92;
  --brand2:#0b4aa0;
  --good:#16a34a;
  --danger:#dc2626;
  --shadow:0 10px 28px rgba(2,6,23,.08);
  --radius:16px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}

/* Layout */
.container{width:min(430px, calc(100% - 24px));margin:0 auto}
.site-main{padding:14px 0 28px}

/* Header (sticky, does NOT overlap content) */
.fixedHeader{
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.topbar{background:var(--brand);color:#fff}
.topbar .row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;gap:12px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand img{width:32px;height:32px;border-radius:10px;flex:0 0 auto}
.brand strong{font-weight:900;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Nav */
.nav-primary .tabs{list-style:none;margin:0;padding:0;display:flex;gap:14px;align-items:center}
.nav-primary .tabs li{margin:0;padding:0}
.nav-primary .tabs a{color:#fff;font-weight:800;font-size:14px;opacity:.95}
.nav-primary .tabs a:hover{opacity:1;text-decoration:underline}

/* Card */
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:14px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  font-size:14px;
}
.btn.primary{
  background:linear-gradient(180deg,#22c55e,#16a34a);
  border-color:rgba(0,0,0,.18);
  color:#fff;
}
.btn:hover{transform:translateY(-1px)}

/* Hero */
.hero{padding:14px}
.heroGrid{display:grid;grid-template-columns:1fr;gap:14px;align-items:center}
.heroArt{
  border-radius:14px;
  overflow:hidden;
  background:#0b1220;
  border:1px solid rgba(15,23,42,.12);
}
.heroArt img{width:100%;height:220px;object-fit:cover}

/* Titles */
h1{font-size:28px;line-height:1.15;margin:0 0 8px}
h2{font-size:18px;line-height:1.2}

/* App card grid */
.appGrid{display:grid;grid-template-columns:1fr;gap:14px}
.appCard{padding:14px}
.appHead{display:flex;gap:12px;align-items:center}
.appIcon {
  display: block;
  margin: 0 auto;       /* 水平居中 */
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  flex: 0 0 auto;
}
.appTitle{font-size:16px;font-weight:1000;line-height:1.2}

/* Chips */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;gap:6px;align-items:center;background:#f1f5f9;border:1px solid #e2e8f0;color:#0f172a;padding:6px 10px;border-radius:999px;font-weight:900;font-size:12px}

/* Facts table-like grid */
.facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.facts > div{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:10px;
  min-height:56px;
}
.facts strong{display:block;font-size:12px;color:var(--muted);font-weight:1000}
.facts span{display:block;font-size:14px;font-weight:1000;margin-top:4px}

/* Section title blocks */
.sectionTitle{
  background:linear-gradient(180deg,#b91c1c,#991b1b);
  color:#fff;
  border:1px solid rgba(0,0,0,.25);
  border-radius:14px;
  padding:10px 12px;
  text-align:center;
}
.sectionTitle p{font-size:12px}

/* Card actions */
.cardActions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}

/* Link grids */
.linkGrid{display:grid;grid-template-columns:1fr;gap:10px}
.linkItem{padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;font-weight:900}
.linkItem:hover{background:#f8fafc}

/* Popular searches */
.tagList{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.tagList li a{display:inline-flex;padding:8px 10px;border-radius:999px;border:1px solid var(--line);background:#fff;font-weight:900;font-size:13px}

/* Prose */
.prose{color:#111827}
.prose p{margin:0 0 12px}
.prose ul{margin:0 0 12px;padding-left:18px}

/* FAQ */
.app-faq details{border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:#fff}
.app-faq details+details{margin-top:10px}
.app-faq summary{cursor:pointer;font-weight:1000}

/* Footer */
.site-footer, .footer{background:var(--brand);color:#fff;padding:18px 0;margin-top:18px}
.site-footer a, .footer a{color:#fff}

/* Responsive tweaks */
@media (max-width: 520px){
  .nav-primary .tabs{gap:10px}
  .nav-primary .tabs a{font-size:13px}
  h1{font-size:26px}
  .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .heroArt img{height:200px}
}

/* Make sure app page banner doesn't become absurdly tall */
.page-template-page-templates-app-page .heroArt img{
  height:240px;
}

/* Reduce layout shifts for images */
.heroArt img, .appIcon{background:#e5e7eb}


/* --- Article-style app page (Astra-like) --- */
.articleTitle{font-size:28px;line-height:1.15;margin:0 0 8px}
.articleMeta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.articleMeta .dot{opacity:.6}
.articleHero{margin:12px 0 0;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.articleHero img{width:100%;height:auto;display:block}

.ctaRow{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.btnPrimary{background:var(--accent);color:#fff;border-color:transparent}
.btnPrimary:hover{opacity:.95}
.btnGhost{background:transparent}

.factsTableWrap{margin-top:12px}
.factsTable{width:100%;border-collapse:collapse;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.factsTable th,.factsTable td{padding:10px 12px;border-bottom:1px solid var(--line);font-size:14px}
.factsTable th{width:52%;text-align:left;color:#111827;background:#f8fafc}
.factsTable tr:last-child th,.factsTable tr:last-child td{border-bottom:none}

.note18{margin:12px 0 0;color:var(--muted);font-size:13px}

.articleBody h2{margin:0 0 10px}
.articleBody h3{margin:16px 0 8px}
.related-questions{margin:0;padding-left:18px}
.related-questions li{margin:0 0 8px}

.appRows{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.appRow{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:#fff}
.appRowLeft{display:flex;gap:10px;align-items:center;min-width:0}
.appRowIcon{border-radius:12px;border:1px solid var(--line);background:#e5e7eb;flex:0 0 auto}
.appRowIcon.fallback{display:inline-block;width:56px;height:56px;border-radius:12px;border:1px solid var(--line);background:#e5e7eb}
.appRowMeta{min-width:0}
.appRowTitle{font-weight:900;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}
.appRowBadges{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.badge{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border:1px solid var(--line);border-radius:999px;background:#f8fafc;font-size:12px;color:#334155}

.btnSmall{padding:8px 10px;font-size:13px}

/* Sticky CTA */
.stickyCta{position:fixed;left:0;right:0;bottom:12px;z-index:999;padding:0 12px}
.stickyCtaInner{max-width:430px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#ffffff;border:1px solid var(--line);border-radius:999px;box-shadow:0 10px 30px rgba(2,6,23,.18);padding:10px 12px}
.stickyIcon{width:44px;height:44px;border-radius:12px;border:1px solid var(--line);object-fit:cover}
.stickyText{display:flex;flex-direction:column;min-width:0}
.stickyText strong{font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}
.stickyText span{font-size:12px;color:var(--muted)}

/* Footer card text color fix (avoid white-on-white) */
.footer .card{color:var(--text)}
.footer .card p{color:var(--muted)}
.footer small{color:#fff}

/* Give room for sticky CTA */
@media (max-width: 520px){
  body{padding-bottom:84px}
}


/* Footer cards: ensure readable text on white cards inside dark footer */
.site-footer .card, .site-footer .card *{ color:#0b1220; }
.site-footer .card a{ color:#0b3c88; }
/* FAQ container */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Single FAQ */
.faq {
  position: relative;
  border: 3px solid #111;
  border-radius: 14px;
  padding: 14px 16px 14px 52px;
  background: #fff;
}

/* Question number */
.question-number {
  position: absolute;
  left: 14px;
  top: 16px;
  font-weight: 700;
}

/* Question */
.faq h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

/* Toggle button */
.faq .toggle {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

/* Content (collapsed by default) */
.faq-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
  margin-top: 10px;
  line-height: 1.65;
}

/* When open */
.faq.open .faq-content {
  margin-top: 10px;
}

/* UL inside FAQ */
.faq-content ul {
  margin: 8px 0 0 18px;
}
/* Related apps – compact “ally-like” cards (no tailwind needed) */
.rdp-related-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:14px;
}

.rdp-related-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:12px 14px;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
}

.rdp-related-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  text-decoration:none;
  color:inherit;
}

.rdp-related-icon{
  width:56px;
  height:56px;
  border-radius:12px;
  object-fit:cover;
  flex:0 0 56px;
}

.rdp-related-meta{
  min-width:0;
}

.rdp-related-title{
  font-weight:700;
  font-size:16px;
  line-height:1.2;
  margin-bottom:6px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rdp-related-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.rdp-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  line-height:1;
  background:#f4f6fb;
  border:1px solid rgba(0,0,0,.08);
  color:rgba(0,0,0,.72);
}

.rdp-related-cta{
  flex:0 0 auto;
  font-weight:600;
  font-size:13px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  text-decoration:none;
  color:inherit;
}

.rdp-related-cta:hover{
  background:#f7f7f7;
}

/* Mobile tightening */
@media (max-width:480px){
  .rdp-related-card{ padding:10px 12px; }
  .rdp-related-icon{ width:52px; height:52px; flex-basis:52px; }
  .rdp-chip{ font-size:11.5px; padding:6px 9px; }
}
/* =========================
   OTHER RELATED APPS – RESET
   ========================= */

.other-related-apps {
  margin-top: 24px;
}

.other-related-apps h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

/* 列表容器 */
.other-related-apps .app-list {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

/* 每一行 */
.other-related-apps .app-row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

/* 最后一行不需要分割线 */
.other-related-apps .app-row:last-child {
  border-bottom: none;
}

/* 图标 */
.other-related-apps .app-row img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

/* 中间信息区 */
.other-related-apps .app-info {
  flex: 1;
  min-width: 0;
}

.other-related-apps .app-info strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.other-related-apps .app-info small {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 2px;
}

/* 下载按钮 */
.other-related-apps .download-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 0.8rem;
  background: #1a73e8;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.other-related-apps .download-btn:hover {
  background: #1558b0;
}

/* =========================
   MOBILE 微调
   ========================= */

@media (max-width: 600px) {
  .other-related-apps .app-row {
    padding: 8px 10px;
  }

  .other-related-apps .download-btn {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}
/* ===== Other Related Apps – Directory Style ===== */

#other-related-apps {
  background: #f3f4f6;
  padding: 12px;
}

#other-related-apps .max-w-\[1600px\] {
  max-width: 1600px;
  margin: 0 auto;
}

#other-related-apps .space-y-2 > * + * {
  margin-top: 8px;
}

/* Card */
#other-related-apps .bg-white {
  background: #ffffff;
}

#other-related-apps .shadow-md {
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

#other-related-apps .rounded-lg {
  border-radius: 10px;
}

#other-related-apps .flex {
  display: flex;
}

#other-related-apps .items-center {
  align-items: center;
}

#other-related-apps .justify-between {
  justify-content: space-between;
}

#other-related-apps .gap-3 {
  gap: 12px;
}

#other-related-apps .py-2 {
  padding-top: 10px;
  padding-bottom: 10px;
}

#other-related-apps .px-3 {
  padding-left: 12px;
  padding-right: 12px;
}

#other-related-apps .w-full {
  width: 100%;
}

/* Icon */
#other-related-apps img {
  display: block;
  border-radius: 8px;
}

/* Text */
#other-related-apps .font-extrabold {
  font-weight: 800;
}

#other-related-apps .text-black {
  color: #111;
}

#other-related-apps .text-xs {
  font-size: 12px;
}

#other-related-apps .text-gray-600 {
  color: #6b7280;
}

#other-related-apps .space-x-2 > * + * {
  margin-left: 8px;
}

/* CTA Button */
#other-related-apps .button-link {
  background: linear-gradient(90deg,#2563eb,#1d4ed8);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

#other-related-apps .button-link:hover {
  opacity: .9;
}

/* Mobile fix */
@media (max-width: 640px) {
  #other-related-apps .gap-3 {
    gap: 8px;
  }

  #other-related-apps .button-link {
    padding: 6px 10px;
    font-size: 12px;
  }
}
/* ===== Uniform App Icons ===== */

#other-related-apps .relative {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #0b3c91; /* 深蓝占位，和你主题一致 */
  display: flex;
  align-items: center;
  justify-content: center;
}

#other-related-apps .relative img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 核心 */
  object-position: center;
  border-radius: 10px;
}
/* ===== FAQ SECTION ===== */
.app-faq {
  margin-top: 24px;
}

/* 单个 FAQ 卡片 */
.app-faq .faq-item {
  border: 3px solid #0f172a;          /* 黑色粗边框 */
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: #ffffff;
  position: relative;
  box-shadow: 0 4px 0 #0f172a;         /* 底部厚阴影，像对标站 */
}

/* 问题标题 */
.app-faq .faq-question {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  padding-right: 48px;
  line-height: 1.4;
  cursor: pointer;
}

/* + / × 按钮 */
.app-faq .faq-toggle {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border: 2px solid #0f172a;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  background: #fff;
}

/* 答案区域（默认隐藏） */
.app-faq .faq-answer {
  display: none;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #111827;
}

/* 展开状态 */
.app-faq .faq-item.open {
  background: #c7ff6b; /* 荧光绿，对标站风格 */
}

.app-faq .faq-item.open .faq-answer {
  display: block;
}

.app-faq .faq-item.open .faq-toggle {
  content: "×";
  transform: rotate(45deg);
}
/* ==================================================
   DIRECTORY SYSTEM — SITE WIDE
   ================================================== */
/* ===========================
   Directory List (新版：更密、更轻、更像目录)
   适配你现有结构：.dir-list .dir-item .dir-left .dir-meta .dir-btn
   =========================== */

/* 整体列表更紧凑 */
.dir-list {
  display: flex;
  flex-direction: column;
  gap: 10px; /* 原本你太宽松，降低密度 */
  margin-top: 10px;
}

/* 单条：轻边框 + 微阴影 + 紧凑高度 */
.dir-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 10px 12px;       /* ✅ 高度主要靠这里压缩 */
  border-radius: 14px;

  border: 1px solid #e5e7eb; /* ✅ 轻边框 */
  background: #ffffff;

  box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* ✅ 比厚边框更高级 */
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

/* Hover：更像产品目录 */
.dir-item:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

/* 左侧区域占满 */
.dir-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

/* icon变小一点，提升密度 */
.dir-left img,
.dir-left .dir-icon img {
  width: 40px;     /* ✅ 原本太大：缩小 */
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;

  background: #f3f4f6;
  border: 1px solid #eef0f3;
}

/* 中间信息容器 */
.dir-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* App标题：更像目录列表 */
.dir-meta h3,
.dir-meta .dir-title,
.dir-meta a {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.15;
  font-weight: 800;
  color: #111827;
  text-decoration: none;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 48vw; /* ✅ 防止标题把按钮挤掉 */
}

/* bonus、withdrawal信息：压缩成更紧凑的“数据行” */
.dir-meta p,
.dir-meta .dir-sub,
.dir-meta .dir-desc {
  margin: 0;
  font-size: 11.5px;         /* ✅ 更密 */
  line-height: 1.2;
  font-weight: 700;
  color: #374151;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 56vw;
}

/* 右侧按钮容器 */
.dir-btn {
  flex: 0 0 auto;
  margin-left: 6px;
}

/* ✅ 强化按钮：更醒目、更像主要CTA */
.dir-btn a,
.dir-btn .btn,
.dir-btn button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 36px;
  min-width: 92px;
  padding: 0 14px;

  border-radius: 12px;
  border: 0;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
  text-decoration: none;

  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8); /* ✅ 强对比 */
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);

  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

/* hover更有“下载按钮”感觉 */
.dir-btn a:hover,
.dir-btn .btn:hover,
.dir-btn button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.38);
}

/* 按钮按下 */
.dir-btn a:active,
.dir-btn .btn:active,
.dir-btn button:active {
  transform: translateY(0px) scale(0.98);
}

/* ===========================
   移动端进一步压缩（核心）
   =========================== */
@media (max-width: 480px) {
  .dir-list {
    gap: 9px;
  }

  .dir-item {
    padding: 9px 10px; /* ✅ 更密 */
    border-radius: 14px;
  }

  .dir-left img,
  .dir-left .dir-icon img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .dir-meta h3,
  .dir-meta .dir-title,
  .dir-meta a {
    font-size: 14px;
    max-width: 55vw;
  }

  .dir-meta p,
  .dir-meta .dir-sub,
  .dir-meta .dir-desc {
    font-size: 11px;
    max-width: 60vw;
  }

  .dir-btn a,
  .dir-btn .btn,
  .dir-btn button {
    height: 34px;
    min-width: 88px;
    padding: 0 12px;
    border-radius: 12px;
  }
}
/* ===========================
   Other Related Apps - Directory List (精确适配你HTML)
   结构：
   .dir-item
     .dir-left
     a.dir-btn
   =========================== */

/* 列表间距更紧凑 */
#other-related-apps .dir-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:12px;
}

/* 单条卡片：轻边框 + 更密 */
#other-related-apps .dir-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  padding:10px 12px;
  border-radius:14px;

  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 1px 2px rgba(0,0,0,0.05);

  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

/* hover：更像目录产品 */
#other-related-apps .dir-item:hover{
  transform:translateY(-1px);
  border-color:#d1d5db;
  box-shadow:0 10px 22px rgba(0,0,0,0.10);
}

/* 左侧占满，防止按钮被挤 */
#other-related-apps .dir-left{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
  min-width:0;
}

/* icon：缩小一点，提高密度 */
#other-related-apps .dir-icon img{
  width:40px;
  height:40px;
  border-radius:10px;
  object-fit:cover;

  background:#f3f4f6;
  border:1px solid #eef0f3;
}

/* 标题：更像数据库列表 */
#other-related-apps .dir-title{
  margin:0;
  font-size:14.5px;
  line-height:1.15;
  font-weight:900;
  color:#111827;

  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* 子信息：更密 */
#other-related-apps .dir-sub{
  display:block;
  margin:0;
  font-size:11.5px;
  line-height:1.2;
  font-weight:700;
  color:#374151;

  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* ✅ 重点：你的按钮就是 a.dir-btn（不是 .dir-btn a） */
#other-related-apps a.dir-btn{
  flex:0 0 auto;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  height:36px;
  min-width:92px;
  padding:0 14px;

  border-radius:12px;
  border:0;

  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;
  text-decoration:none;

  color:#fff;
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  box-shadow:0 8px 18px rgba(37,99,235,0.28);

  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

/* hover */
#other-related-apps a.dir-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
  box-shadow:0 12px 26px rgba(37,99,235,0.38);
}

/* active */
#other-related-apps a.dir-btn:active{
  transform:translateY(0) scale(0.98);
}

/* Telegram Join按钮：颜色区分一下（可选） */
#other-related-apps a.dir-btn-join{
  background:linear-gradient(135deg,#10b981,#059669);
  box-shadow:0 8px 18px rgba(16,185,129,0.25);
}
#other-related-apps a.dir-btn-join:hover{
  box-shadow:0 12px 26px rgba(16,185,129,0.35);
}

/* ===========================
   移动端更密（重要）
   =========================== */
@media (max-width:480px){
  #other-related-apps .dir-list{ gap:9px; }

  #other-related-apps .dir-item{
    padding:9px 10px;
    border-radius:14px;
  }

  #other-related-apps .dir-icon img{
    width:38px;
    height:38px;
  }

  #other-related-apps .dir-title{ font-size:14px; }
  #other-related-apps .dir-sub{ font-size:11px; }

  #other-related-apps a.dir-btn{
    height:34px;
    min-width:88px;
    padding:0 12px;
  }
}
#other-related-apps .dir-item{
  border-color:#f1f5f9;
  box-shadow:0 1px 2px rgba(0,0,0,0.04);
}
#other-related-apps .dir-sub{
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
#other-related-apps a.dir-btn{
  box-shadow:0 4px 10px rgba(37,99,235,0.20);
}


/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .dir-item {
    padding: 12px;
  }

  .dir-icon img {
    width: 50px;
    height: 50px;
  }

  .dir-title {
    font-size: 14px;
  }

  .dir-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}
.appHero.compact {
  padding: 12px;
}

.appHero.compact .appHeroTop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.appHero.compact .appIcon {
  border-radius: 12px;
  flex-shrink: 0;
}

.appHero.compact .appTitle {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.appHero.compact .appSubtitle {
  font-size: 10px;
  margin: 2px 0 0;
  color: #555;
}

.appHero.compact .appHeroCtas {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .appHero.compact {
    padding: 16px;
  }
}
.appHeroStore {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
}

.appHeroMain {
  display: flex;
  gap: 14px;
  align-items: center;
}

.appIcon {
  border-radius: 14px;
}

.appHeroInfo .appTitle {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  text-align: center;  /* 水平居中 */
}

.appSubtitle {
  font-size: 10px;
  color: #6c757d;
  margin-top: 2px;
}

.appHeroStats {
  display: flex;
  flex-wrap: wrap;          /* 多行时自动换行 */
  justify-content: center;  /* 水平居中 */
  gap: 6px;                 /* 间距，可替代 margin */
}

.appHeroStats span {
  display: inline-block;
  background: #f1f4f8;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  /* 移除 margin-right / margin-bottom，使用 gap */
  margin: 0;
}

.appHeroCta {
  margin-top: 16px;
}

.btnDownloadMain {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #ff4d6d, #ff7a18);
  box-shadow: 0 6px 18px rgba(255, 77, 109, 0.35);
  margin-bottom: 10px;
}

.btnTelegram {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  background: #eef6ff;
  color: #0d6efd;
  border: 1px solid #d6e4ff;
}

.hero-disclaimer{
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #6b7280;
  text-align: center;
}
/* 折叠免责声明（默认一行，不占首屏） */
.trust-box--compact{
  margin: 8px 0 0;
}

.trust-box--compact details{
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.trust-box--compact summary{
  list-style: none;
  cursor: pointer;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 900;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-box--compact summary::-webkit-details-marker{
  display:none;
}

.trust-box--compact summary::after{
  content: "▼";
  margin-left: auto;
  font-size: 10px;
  opacity: .7;
}

.trust-box--compact details[open] summary::after{
  content: "▲";
}

.trust-box--compact ul{
  margin: 0;
  padding: 8px 12px 10px 24px;
  font-size: 11.5px;
  font-weight: 700;
  color: #374151;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-box--compact .trust-links{
  margin: 0;
  padding: 0 12px 10px;
  font-size: 11.5px;
  font-weight: 800;
  color: #374151;
}

.trust-box--compact .trust-links a{
  font-weight: 900;
  text-decoration: underline;
}
/* 首页搜索框（目录站风格） */
.site-search{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  max-width:520px;
}

.site-search__input{
  flex:1;
  height:40px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  font-size:14px;
  font-weight:700;
  outline:none;
}

.site-search__input:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,0.15);
}

.site-search__btn{
  height:40px;
  padding:0 14px;
  border-radius:12px;
  border:0;
  font-weight:900;
  font-size:13px;
  cursor:pointer;

  color:#fff;
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  box-shadow:0 8px 18px rgba(37,99,235,0.25);
}
.site-search__btn:hover{
  filter:brightness(1.05);
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}