/* PC snapshot only. No unverified mobile layout is introduced. */
.detail-hotboard > div:first-child:empty { display:none; }
.detail-hotboard.is-floating > div:last-child { position:fixed; top:88px; width:318px; }
.local-toast { position:fixed; z-index:100000; left:50%; top:80px; transform:translateX(-50%); background:rgba(0,0,0,.8); color:white; padding:12px 22px; border-radius:4px; font:14px sans-serif; }
.local-feedback-mask { position:fixed; inset:0; background:#0006; z-index:10000; display:grid; place-items:center; }
.local-feedback { background:#fff; width:640px; padding:28px 40px; box-sizing:border-box; font:14px Arial,sans-serif; color:#222; }
.local-feedback h2 { font-size:20px; margin:0 0 24px; }
.local-feedback .close {float:right; border:0; background:none; font-size:24px; cursor:pointer}
.local-feedback .tabs {border-bottom:1px solid #eee; padding-bottom:16px; margin-bottom:24px; color:#f04142}
.local-feedback label {display:inline-block; margin:14px 22px 16px 0}
.local-feedback textarea {display:block; width:100%; height:130px; padding:12px; box-sizing:border-box; border:1px solid #ddd; resize:none}
.local-feedback .counter {text-align:right; color:#999; margin:8px 0}
.local-feedback input[type=tel] {display:block; width:100%; padding:12px; border:1px solid #ddd; box-sizing:border-box; margin:12px 0 24px}
.local-feedback .submit {background:#f04142; color:#fff; border:0; width:100%; padding:12px; cursor:pointer}
.local-feedback .draft-note {font-size:12px; color:#888; margin-top:12px}
button,[role=button],[role=menuitem] { -webkit-tap-highlight-color:transparent }

/* Navigation anchors replace JS-driven local-page redirects. */
.ttp-channel-nav .ttp-channel-default-nav-item{display:block;}
.ttp-channel-nav a:focus-visible{outline:2px solid #f04142;outline-offset:3px;}


/* BullGo article image — keep PC source layout intact. */
.article-content .bullgo-figure{margin:20px 0 27px;max-width:100%;}
.article-content .bullgo-figure img{display:block;width:100%;height:auto;object-fit:contain;}
.mobile-bullgo-page{display:none;}

@media (max-width: 767px) {
  html,body{margin:0;padding:0;width:100%;max-width:100%;min-width:0!important;overflow-x:hidden;background:#fff;color:#222;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
  #root{display:none!important;}
  .mobile-bullgo-page{display:block;width:100%;max-width:100%;min-width:0;min-height:100vh;overflow-x:clip;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;}
  .mobile-head{position:fixed;top:0;left:0;right:0;width:100%;max-width:100vw;z-index:1100;height:62px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;padding:0 16px;background:#fff;border-bottom:1px solid #f5f5f5;}
  .mobile-brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:#111;min-width:0;}
  .mobile-brand-icon{display:grid;place-items:center;width:36px;height:36px;background:#fa4245;color:#fff;font-size:16px;font-weight:700;box-shadow:0 2px 4px #00000014;white-space:nowrap;}
  .mobile-brand-text{font-size:24px;line-height:1;font-weight:700;letter-spacing:-.5px;white-space:nowrap;}
  .mobile-open-app{display:grid;place-items:center;min-width:104px;min-height:37px;padding:0 10px;box-sizing:border-box;border-radius:6px;background:#f43b3e;color:#fff;text-decoration:none;font-weight:600;font-size:16px;white-space:nowrap;}
  .mobile-body{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:700px;padding:86px 20px 100px;margin:0 auto;}
  .mobile-body h1{margin:0 0 27px;font-size:23px;line-height:1.48;font-weight:650;letter-spacing:.1px;color:#151515;overflow-wrap:anywhere;}
  .mobile-author{margin-bottom:28px;}
  .mobile-author-primary{display:flex;align-items:center;justify-content:center;gap:7px;min-height:32px;}
  .mobile-author-avatar img{border-radius:50%;display:block;width:25px;height:25px;object-fit:cover;}
  .mobile-author-name{color:#222;text-decoration:none;font-size:15px;}
  .mobile-follow{display:inline-block;background:#f5f5f5;color:#202020;text-decoration:none;font-size:13px;padding:4px 10px;border-radius:4px;font-weight:600;white-space:nowrap;}
  .mobile-author-subline{margin-top:9px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px;font-size:12px;color:#aaa;}
  .mobile-verify{border-radius:50%;background:#6b9df0;color:#fff;font-size:9px;padding:0 3px;}
  .mobile-story{display:block;width:100%;max-width:100%;min-width:0;margin:0;padding:0;font-family:inherit!important;color:#242424!important;font-size:19px!important;line-height:1.8!important;letter-spacing:.3px;overflow-wrap:anywhere;}
  .mobile-story p{font-size:inherit!important;line-height:inherit!important;margin:0 0 22px!important;color:inherit!important;text-align:left!important;}
  .mobile-story strong{font-weight:650;}
  .mobile-story .bullgo-figure{margin:24px -8px 26px;}
  .mobile-story .bullgo-figure img{display:block;width:100%;max-width:100%;height:auto;border-radius:2px;}
  .mobile-bottom{position:fixed;bottom:0;left:0;right:0;width:100%;max-width:100vw;height:calc(53px + env(safe-area-inset-bottom, 0px));padding:0 6px env(safe-area-inset-bottom, 0px);z-index:1101;display:flex;justify-content:space-between;align-items:center;background:#fff;box-sizing:border-box;border-top:1px solid #ededed;box-shadow:0 -1px 3px #00000007;}
  .mobile-action{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;flex:1;background:none;border:none;color:#202020;padding:10px 0;font:14px/1.1 inherit;cursor:pointer;}
  .mobile-action svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0;}
  .mobile-action[aria-pressed="true"]{color:#f43b3e;}
  .ttp-comment-drawer .ttp-drawer{width:min(100vw,442px)!important;}
  .local-feedback{width:calc(100vw - 30px);max-width:640px;padding:24px 18px;}
}
@media (max-width: 350px) {
  .mobile-head{padding-left:12px;padding-right:12px;}
  .mobile-brand-text{font-size:21px;}
  .mobile-open-app{min-width:86px;font-size:14px;}
  .mobile-body{padding-left:16px;padding-right:16px;}
  .mobile-body h1{font-size:21px;}
}


/* V4: Sohu V19-inspired mobile reading rhythm; content remains Toutiao-specific. */
@media (max-width:767px) {
  .mobile-bullgo-page, .mobile-bullgo-page * {box-sizing:border-box;}
  .mobile-body {padding:83px 16px calc(86px + env(safe-area-inset-bottom, 0px)); width:100%; max-width:680px; margin:0 auto; overflow:visible;}
  .mobile-body h1 {margin:0 0 25px; font-size:23px; line-height:1.52; font-weight:700; letter-spacing:0; overflow-wrap:anywhere;}
  .mobile-author {margin-bottom:28px;}
  .mobile-story {width:100%;max-width:100%;min-width:0;overflow-wrap:break-word;word-break:normal; font-size:19px!important;line-height:1.9!important;letter-spacing:0!important;}
  .mobile-story p {display:block; margin:0 0 25px!important; padding:0!important;font-size:inherit!important;line-height:inherit!important; letter-spacing:0!important;text-indent:0!important;white-space:normal!important;}
  .mobile-story h2 {display:block; margin:36px 0 14px!important; padding:0!important; font-size:19px!important;line-height:1.62!important;font-weight:700!important;color:#222!important;letter-spacing:0!important;overflow-wrap:anywhere;}
  .mobile-story strong {font-weight:650!important;}
  .mobile-story .mobile-risk-note {margin-bottom:26px!important;}
  .mobile-story .mobile-guide-line {margin-bottom:13px!important;}
  .mobile-story .mobile-guide-line + p:not(.mobile-guide-line) {margin-top:25px!important;}
  .mobile-story figure.bullgo-figure {
    display:block!important;position:relative!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;margin:25px 0 29px!important;padding:0!important;
    float:none!important;transform:none!important;
    overflow:hidden!important;
  }
  .mobile-story .bullgo-image-link {display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;line-height:0!important;overflow:hidden!important;}
  .mobile-story .bullgo-figure img {
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;max-height:none!important;margin:0 auto!important;padding:0!important;
    object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;
    border:0!important;border-radius:2px!important;float:none!important;transform:none!important;
  }
  .mobile-story .bullgo-figure figcaption {margin:8px 0 0!important;text-align:center!important;font:12px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif!important;color:#999!important;}
  .mobile-bottom {left:0!important;right:0!important;bottom:0!important;position:fixed!important;}
}
@media (max-width:350px) {
  .mobile-body {padding-left:14px;padding-right:14px;}
  .mobile-story {font-size:18px!important;}
  .mobile-story h2 {font-size:18px!important;}
}

/* V5 — micro-adjustments matching the supplied native Toutiao mobile reference. */
@media (max-width:767px) {
  /* Native mobile mark is a short red horizontal badge, not a square block. */
  .mobile-bullgo-page .mobile-brand-icon {
    display:flex; align-items:center; justify-content:center;
    flex:0 0 38px; width:38px; min-width:38px; height:23px;
    padding:0; border-radius:0; line-height:1; font-size:15px;
    font-weight:700; letter-spacing:-.7px; color:#fff!important;
    background:#fa4347; box-shadow:0 1px 3px rgba(0,0,0,.13);
  }
  .mobile-bullgo-page .mobile-brand-icon, .mobile-bullgo-page .mobile-brand-icon * {
    -webkit-text-fill-color:#fff!important;
  }
  /* Override stronger vendor anchor / visited rules that made the label gray. */
  .mobile-bullgo-page a.mobile-open-app,
  .mobile-bullgo-page a.mobile-open-app:link,
  .mobile-bullgo-page a.mobile-open-app:visited,
  .mobile-bullgo-page a.mobile-open-app:hover,
  .mobile-bullgo-page a.mobile-open-app:active {
    color:#fff!important; -webkit-text-fill-color:#fff!important;
    opacity:1!important; font-weight:700!important;
    text-decoration:none!important;
    background-color:#f43b3e!important;
  }
  .mobile-article-ending {
    display:block; width:100%; margin:50px auto 0; padding:0 0 16px;
    text-align:center; clear:both;
  }
  .mobile-bullgo-page a.mobile-more-hot,
  .mobile-bullgo-page a.mobile-more-hot:link,
  .mobile-bullgo-page a.mobile-more-hot:visited {
    display:inline-flex; align-items:center; justify-content:center;
    gap:2px; max-width:100%; padding:6px 0;
    font-size:18px; font-weight:600; line-height:1.5;
    white-space:normal; text-decoration:none!important;
    color:#d64a49!important; -webkit-text-fill-color:#d64a49!important;
  }
  .mobile-more-hot span {font-size:24px; line-height:1; font-weight:400; transform:translateY(-1px);}
  .mobile-bullgo-page .mobile-copyright {
    display:block; padding:0; margin:40px auto 0;
    font-size:13px; font-weight:400; line-height:1.5;
    letter-spacing:.4px; text-align:center; color:#a9a9a9;
  }
}
