/* ===== dm-binance.com — 币答 CoinAsk ===== */
/* Teal theme #0d9488 · Container 1160px */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:56px}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans SC",sans-serif;color:#1e293b;background:#f8fafc;line-height:1.7;font-size:16px}
a{color:#0d9488;text-decoration:none}
a:hover{color:#0f766e}
img{max-width:100%;height:auto}
.container{max-width:1160px;margin:0 auto;padding:0 20px}

/* ===== Buttons ===== */
.btn{display:inline-flex;align-items:center;gap:6px;padding:10px 22px;border-radius:8px;font-size:.9rem;font-weight:600;transition:all .2s;border:none;cursor:pointer}
.btn--primary{background:#0d9488;color:#fff}
.btn--primary:hover{background:#0f766e;color:#fff}
.btn--outline{border:1.5px solid #0d9488;color:#0d9488;background:transparent}
.btn--outline:hover{background:#0d9488;color:#fff}
.btn--dark{background:#1e293b;color:#fff}
.btn--dark:hover{background:#0f172a;color:#fff}
.btn--sm{padding:8px 16px;font-size:.85rem}

/* ===== Header — left brand + right nav ===== */
.site-header{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100;transition:box-shadow .3s}
.site-header--scrolled{box-shadow:0 2px 12px rgba(0,0,0,.08)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;height:60px}
.site-header__right{display:flex;align-items:center;gap:20px}
.site-header__right a:not(.lang-switch){color:#475569;font-size:.9rem;font-weight:500;transition:color .2s}
.site-header__right a:not(.lang-switch):hover{color:#0d9488}
.site-header__brand{display:flex;align-items:center;gap:8px;flex-shrink:0}
.site-header__logo{width:36px;height:36px;background:#0d9488;color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:700}
.site-header__brand-name{font-size:1.1rem;font-weight:700;color:#0f172a}
.lang-switch{display:flex;align-items:center;gap:2px;font-size:.8rem;color:#94a3b8;margin-left:12px}
.lang-switch a{color:#94a3b8;padding:2px 4px}
.lang-switch a:hover,.lang-switch a.active{color:#0d9488;font-weight:600}
.lang-switch__sep{color:#cbd5e1}
.site-header__burger{display:none;background:none;border:none;cursor:pointer;color:#475569;width:32px;height:32px}
.site-header__burger svg{width:24px;height:24px}

/* ===== Mobile full-screen overlay ===== */
.mobile-overlay{display:none;position:fixed;inset:0;background:rgba(15,23,42,.92);z-index:200;flex-direction:column;align-items:center;justify-content:center;gap:24px;opacity:0;transition:opacity .3s}
.mobile-overlay--open{display:flex;opacity:1}
.mobile-overlay__close{position:absolute;top:16px;right:20px;background:none;border:none;color:#fff;width:40px;height:40px;cursor:pointer}
.mobile-overlay__close svg{width:28px;height:28px}
.mobile-overlay a{color:#fff;font-size:1.4rem;font-weight:600;padding:8px 0;transition:color .2s}
.mobile-overlay a:hover{color:#14b8a6}
.mobile-overlay__lang{display:flex;gap:12px;margin-top:16px}
.mobile-overlay__lang a{font-size:.95rem;font-weight:400;color:#94a3b8}
.mobile-overlay__lang a:hover,.mobile-overlay__lang a.active{color:#14b8a6}

@media(max-width:768px){
  .site-header__right{display:none}
  .site-header__brand{margin:0}
  .site-header__burger{display:block}
}

/* ===== Hero ===== */
.hero{background:linear-gradient(135deg,#0d9488 0%,#14b8a6 100%);color:#fff;padding:64px 0 56px}
.hero__inner{display:flex;align-items:center;gap:48px}
.hero__text{flex:1}
.hero__title{font-size:2.2rem;font-weight:800;line-height:1.3;margin-bottom:12px}
.hero__desc{font-size:1.05rem;opacity:.9;margin-bottom:28px;line-height:1.6}
.hero__btns{display:flex;gap:12px;flex-wrap:wrap}
.hero__btns .btn--primary{background:#fff;color:#0d9488}
.hero__btns .btn--primary:hover{background:#f0fdfa;color:#0f766e}
.hero__btns .btn--outline{border-color:rgba(255,255,255,.6);color:#fff}
.hero__btns .btn--outline:hover{background:rgba(255,255,255,.15)}
.hero__visual{flex:0 0 280px;text-align:center;font-size:8rem;line-height:1}
@media(max-width:768px){
  .hero{padding:40px 0 36px}
  .hero__inner{flex-direction:column;gap:24px;text-align:center}
  .hero__title{font-size:1.6rem}
  .hero__visual{flex:none;font-size:5rem}
  .hero__btns{justify-content:center}
}

/* ===== Stats bar ===== */
.stats-bar{background:#fff;border-bottom:1px solid #e2e8f0;padding:16px 0}
.stats-bar__inner{display:flex;align-items:center;justify-content:center;gap:32px;font-size:.95rem;color:#475569;font-weight:500}
.stats-bar__dot{color:#0d9488}

/* ===== Tab browser (homepage) ===== */
.tab-browser{padding:48px 0}
.tab-browser__title{font-size:1.5rem;font-weight:700;text-align:center;margin-bottom:24px}
.tab-bar{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;margin-bottom:32px;scrollbar-width:none;-ms-overflow-style:none}
.tab-bar::-webkit-scrollbar{display:none}
.tab-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 18px;border-radius:24px;border:1.5px solid #e2e8f0;background:#fff;color:#475569;font-size:.88rem;font-weight:500;white-space:nowrap;cursor:pointer;transition:all .2s}
.tab-btn:hover{border-color:#0d9488;color:#0d9488}
.tab-btn--active{background:#0d9488;color:#fff;border-color:#0d9488}
.tab-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tab-grid__card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;transition:all .25s;display:block;color:inherit}
.tab-grid__card:hover{border-color:#0d9488;box-shadow:0 4px 16px rgba(13,148,136,.1);transform:translateY(-2px)}
.tab-grid__card-tag{font-size:.78rem;color:#0d9488;font-weight:600;margin-bottom:6px}
.tab-grid__card-title{font-size:1rem;font-weight:600;color:#0f172a;line-height:1.5;margin-bottom:8px}
.tab-grid__card-desc{font-size:.85rem;color:#64748b;line-height:1.5}
@media(max-width:768px){
  .tab-grid{grid-template-columns:1fr}
}

/* ===== Hot articles horizontal scroll ===== */
.hot-section{padding:40px 0;background:#fff}
.hot-section__title{font-size:1.3rem;font-weight:700;margin-bottom:20px}
.hot-scroll{display:flex;gap:16px;overflow-x:auto;padding-bottom:12px;scrollbar-width:none;-ms-overflow-style:none}
.hot-scroll::-webkit-scrollbar{display:none}
.hot-card{min-width:260px;max-width:300px;flex-shrink:0;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:20px;display:block;color:inherit;transition:all .2s}
.hot-card:hover{border-color:#0d9488;box-shadow:0 2px 12px rgba(13,148,136,.08)}
.hot-card__rank{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:#0d9488;color:#fff;border-radius:6px;font-size:.75rem;font-weight:700;margin-bottom:8px}
.hot-card__title{font-size:.95rem;font-weight:600;color:#0f172a;line-height:1.5;margin-bottom:6px}
.hot-card__desc{font-size:.82rem;color:#64748b;line-height:1.5}

/* ===== CTA banner (full-width) ===== */
.cta-banner{background:linear-gradient(135deg,#0d9488,#14b8a6);padding:48px 0;text-align:center;color:#fff}
.cta-banner__title{font-size:1.5rem;font-weight:700;margin-bottom:8px}
.cta-banner__desc{opacity:.9;margin-bottom:24px}
.cta-banner .btn--primary{background:#fff;color:#0d9488}
.cta-banner .btn--primary:hover{background:#f0fdfa}

/* ===== FAQ accordion ===== */
.faq-section{padding:48px 0}
.faq-section__title{font-size:1.3rem;font-weight:700;text-align:center;margin-bottom:24px}
.faq-list{max-width:780px;margin:0 auto}
.faq-item{border:1px solid #e2e8f0;border-radius:10px;margin-bottom:10px;overflow:hidden;background:#fff}
.faq-item__q{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 20px;background:none;border:none;cursor:pointer;font-size:.95rem;font-weight:600;color:#0f172a;text-align:left}
.faq-item__q svg{width:20px;height:20px;flex-shrink:0;transition:transform .2s;color:#94a3b8}
.faq-item__a{max-height:0;overflow:hidden;padding:0 20px;font-size:.9rem;color:#475569;line-height:1.7;transition:max-height .3s,padding .3s}
.faq-item--open .faq-item__q svg{transform:rotate(180deg)}
.faq-item--open .faq-item__a{max-height:300px;padding:0 20px 16px}

/* ===== CTA section (inline) ===== */
.cta-section{text-align:center;padding:40px 24px;margin:40px 0;background:linear-gradient(135deg,#f0fdfa,#ccfbf1);border-radius:16px}
.cta-section__title{font-size:1.2rem;font-weight:700;margin-bottom:8px}
.cta-section__desc{font-size:.9rem;color:#475569;margin-bottom:20px}
.cta-section__btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ===== Breadcrumb ===== */
.breadcrumb{padding:16px 0 8px;font-size:.85rem;color:#94a3b8}
.breadcrumb a{color:#64748b}
.breadcrumb a:hover{color:#0d9488}
.breadcrumb__sep{margin:0 6px;color:#cbd5e1}

/* ===== Article listing / archive ===== */
.archive{padding:24px 0 48px}
.archive__header{margin-bottom:28px}
.archive__title{font-size:1.5rem;font-weight:700}
.archive__desc{color:#64748b;margin-top:4px}
.archive__list{display:flex;flex-direction:column;gap:12px}

/* ===== Post card ===== */
.post-card{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;color:inherit;transition:all .2s}
.post-card:hover{border-color:#0d9488;box-shadow:0 2px 12px rgba(13,148,136,.08)}
.post-card__meta{display:flex;align-items:center;gap:8px;font-size:.8rem;color:#94a3b8;margin-bottom:6px}
.post-card__tag{color:#0d9488;font-weight:500}
.post-card__title{font-size:1rem;font-weight:600;color:#0f172a;line-height:1.5;margin-bottom:4px}
.post-card__desc{font-size:.85rem;color:#64748b;line-height:1.5}

/* ===== Tags page ===== */
.tags-page{padding:24px 0 48px}
.tags-page__title{font-size:1.5rem;font-weight:700;margin-bottom:24px}
.tags-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.tag-card{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px 20px;color:inherit;transition:all .2s}
.tag-card:hover{border-color:#0d9488;box-shadow:0 2px 8px rgba(13,148,136,.08)}
.tag-card__left{display:flex;align-items:center;gap:10px}
.tag-card__icon{font-size:1.4rem}
.tag-card__name{font-weight:600;color:#0f172a}
.tag-card__count{color:#94a3b8;font-size:.85rem;font-weight:500}

/* ===== Tag detail page ===== */
.tag-detail{padding:24px 0 48px}
.tag-detail__header{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.tag-detail__icon{font-size:1.8rem}
.tag-detail__title{font-size:1.4rem;font-weight:700}
.tag-detail__count{color:#94a3b8;font-size:.9rem}
.tag-detail__list{display:flex;flex-direction:column;gap:12px}

/* ===== Post page ===== */
.post-page{padding:24px 0 48px}
.post-page__header{margin-bottom:24px}
.post-page__tags{display:flex;gap:8px;margin-bottom:12px}
.post-page__tag{font-size:.78rem;color:#0d9488;font-weight:600;background:#f0fdfa;padding:4px 12px;border-radius:20px}
.post-page__title{font-size:1.8rem;font-weight:800;line-height:1.35;margin-bottom:12px}
.post-page__meta{display:flex;align-items:center;gap:12px;font-size:.85rem;color:#94a3b8}

/* ===== Horizontal TOC pill bar (unique to 币答) ===== */
.toc-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px}
.toc-pill{display:inline-block;padding:6px 16px;border-radius:20px;font-size:.82rem;font-weight:500;color:#64748b;background:#f1f5f9;white-space:nowrap;transition:all .2s}
.toc-pill:hover{color:#0d9488;background:#f0fdfa}
.toc-pill--active{background:#0d9488;color:#fff}

/* ===== Post body ===== */
.post-body{}
.post-body h2{font-size:1.35rem;font-weight:700;margin:36px 0 12px;padding-top:8px;color:#0f172a}
.post-body h3{font-size:1.1rem;font-weight:600;margin:28px 0 10px;color:#1e293b}
.post-body p{margin-bottom:16px;color:#374151;line-height:1.8}
.post-body ul,.post-body ol{padding-left:24px;margin-bottom:16px}
.post-body li{margin-bottom:6px;color:#374151;line-height:1.7}
.post-body a{color:#0d9488;text-decoration:underline;text-underline-offset:2px}
.post-body a:hover{color:#0f766e}
.post-body strong{color:#0f172a}
.post-body blockquote{border-left:4px solid #0d9488;padding:12px 20px;margin:20px 0;background:#f0fdfa;border-radius:0 8px 8px 0;color:#475569}
.post-body table{width:100%;border-collapse:collapse;margin:20px 0;font-size:.9rem}
.post-body th{background:#f0fdfa;font-weight:600;text-align:left;padding:10px 14px;border:1px solid #e2e8f0}
.post-body td{padding:10px 14px;border:1px solid #e2e8f0}
.post-body hr{border:none;border-top:1px solid #e2e8f0;margin:32px 0}
.post-body code{background:#f1f5f9;padding:2px 6px;border-radius:4px;font-size:.88em;color:#0f766e}

/* ===== Download CTA (in-post) ===== */
.dl-cta{display:flex;align-items:center;justify-content:space-between;background:#f0fdfa;border:1px solid #ccfbf1;border-radius:12px;padding:20px 24px;margin:32px auto;max-width:780px;gap:16px;flex-wrap:wrap}
.dl-cta__text{font-size:.9rem;color:#475569;flex:1}
.dl-cta__links{display:flex;gap:10px;flex-shrink:0}

/* ===== Share row ===== */
.share-row{display:flex;align-items:center;gap:12px;padding:20px 0;margin:24px auto;max-width:780px;border-top:1px solid #e2e8f0}
.share-row__label{font-size:.85rem;color:#94a3b8;font-weight:500}
.share-row__btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:#f1f5f9;border:none;color:#64748b;cursor:pointer;transition:all .2s}
.share-row__btn:hover{background:#f0fdfa;color:#0d9488}
.share-row__btn svg{width:18px;height:18px}

/* ===== Related posts ===== */
.related{max-width:780px;margin:32px auto 0;padding-top:24px;border-top:1px solid #e2e8f0}
.related__title{font-size:1.1rem;font-weight:700;margin-bottom:16px}
.related__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.related__item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;transition:all .2s}
.related__item:hover{border-color:#0d9488}
.related__item a{font-size:.9rem;font-weight:600;color:#0f172a;display:block;margin-bottom:6px;line-height:1.5}
.related__item a:hover{color:#0d9488}
.related__item time{font-size:.78rem;color:#94a3b8}
@media(max-width:768px){
  .related__grid{grid-template-columns:1fr}
}

/* ===== Footer — teal top line + compact horizontal ===== */
.site-footer__line{height:3px;background:linear-gradient(90deg,#0d9488,#14b8a6,#0d9488)}
.site-footer{background:#fff;padding:32px 0 0;border-top:1px solid #e2e8f0}
.site-footer__inner{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;padding-bottom:24px}
.site-footer__brand{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.site-footer__brand-logo{width:32px;height:32px;background:#0d9488;color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700}
.site-footer__brand-name{font-weight:700;color:#0f172a}
.site-footer__desc{font-size:.82rem;color:#64748b;max-width:340px;line-height:1.6}
.site-footer__links{display:flex;flex-direction:column;gap:6px;font-size:.85rem}
.site-footer__links a{color:#475569}
.site-footer__links a:hover{color:#0d9488}
.site-footer__lang{display:flex;gap:8px;font-size:.82rem}
.site-footer__lang a{color:#94a3b8;padding:2px 4px}
.site-footer__lang a:hover,.site-footer__lang a.active{color:#0d9488}
.site-footer__risk{padding:16px 0;border-top:1px solid #e2e8f0;font-size:.78rem;color:#94a3b8;line-height:1.6}
.site-footer__bottom{padding:12px 0;border-top:1px solid #e2e8f0;font-size:.8rem;color:#94a3b8;display:flex;align-items:center;justify-content:space-between}
.site-footer__bottom a{color:#94a3b8}
.site-footer__bottom a:hover{color:#0d9488}
@media(max-width:768px){
  .site-footer__inner{flex-direction:column;gap:20px}
}

/* ===== 404 page ===== */
.error-page{text-align:center;padding:80px 20px}
.error-page__code{font-size:6rem;font-weight:800;color:#e2e8f0;line-height:1}
.error-page__title{font-size:1.5rem;font-weight:700;margin:12px 0 8px}
.error-page__desc{color:#64748b;margin-bottom:28px}
.error-page__links{display:flex;gap:12px;justify-content:center}
.error-page__links a{color:#0d9488;font-weight:600}

/* ===== Download page ===== */
.dl-page__hero{text-align:center;padding:40px 0 32px}
.dl-page__hero h1{font-size:1.8rem;font-weight:800;margin-bottom:8px}
.dl-page__hero p{color:#64748b}
.dl-platforms{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-bottom:40px}
.dl-platform{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:28px}
.dl-platform__badge{display:inline-block;font-size:.72rem;font-weight:700;color:#0d9488;background:#f0fdfa;padding:4px 10px;border-radius:6px;margin-bottom:12px;letter-spacing:1px}
.dl-platform__title{font-size:1.15rem;font-weight:700;margin-bottom:8px}
.dl-platform__desc{font-size:.88rem;color:#64748b;margin-bottom:16px}
.dl-platform__steps{padding-left:20px;margin-bottom:20px}
.dl-platform__steps li{margin-bottom:8px;font-size:.88rem;color:#475569}
.dl-platform__tip{font-size:.85rem;color:#475569;background:#f0fdfa;padding:12px 16px;border-radius:8px;margin-bottom:16px}
.dl-issues{margin-bottom:40px}
.dl-issues__title{font-size:1.2rem;font-weight:700;margin-bottom:16px}
.dl-issues__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.dl-issue{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px}
.dl-issue__title{font-weight:600;margin-bottom:6px}
.dl-issue__desc{font-size:.85rem;color:#64748b;line-height:1.6}
@media(max-width:768px){
  .dl-platforms{grid-template-columns:1fr}
  .dl-issues__grid{grid-template-columns:1fr}
}

/* ===== About page ===== */
.about-page{padding:40px 0 48px;max-width:780px;margin:0 auto}
.about-page h1{font-size:1.8rem;font-weight:800;margin-bottom:20px}
.about-page h2{font-size:1.2rem;font-weight:700;margin:28px 0 10px;color:#0f172a}
.about-page p{margin-bottom:14px;color:#475569;line-height:1.8}
.about-page ul{padding-left:20px;margin-bottom:16px}
.about-page li{margin-bottom:6px;color:#475569}

/* ===== Disclaimer page ===== */
.disclaimer-page{padding:40px 0 48px;max-width:780px;margin:0 auto}
.disclaimer-page h1{font-size:1.8rem;font-weight:800;margin-bottom:20px}
.disclaimer-page h2{font-size:1.15rem;font-weight:700;margin:24px 0 10px;color:#0f172a}
.disclaimer-page p{margin-bottom:14px;color:#475569;line-height:1.8}
.disclaimer-page ul{list-style:disc;padding-left:20px;margin-bottom:16px}
.disclaimer-page li{margin-bottom:6px;color:#475569}

/* ===== View all link ===== */
.view-all{display:inline-flex;align-items:center;gap:4px;color:#0d9488;font-weight:600;font-size:.9rem;margin-top:16px}
.view-all:hover{color:#0f766e}
