/* 机会情报 H5 — 公众号/手机微信付费后链路适配 */

@media (max-width: 768px) {
  body {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(232, 200, 32, 0.15);
  }

  .site-header-inner {
    height: 56px;
    padding: 0 14px !important;
  }

  .site-header-inner .logo img {
    height: 28px !important;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .header-login-link,
  .intel-member-badge {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    padding: 0 10px;
  }

  .header-avatar-wrap img {
    width: 30px !important;
    height: 30px !important;
  }

  .wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* —— 列表页 —— */
  .page-top {
    padding-top: 18px !important;
  }

  .page-title {
    font-size: 21px !important;
  }

  .page-subtitle {
    font-size: 13px;
    line-height: 1.6;
  }

  .member-welcome-banner {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(232, 200, 32, 0.14), rgba(232, 200, 32, 0.05));
    border: 1px solid rgba(232, 200, 32, 0.28);
  }

  .member-welcome-banner strong {
    display: block;
    font-size: 15px;
    color: var(--gold, #E8C820);
    margin-bottom: 4px;
  }

  .member-welcome-banner p {
    font-size: 13px;
    color: var(--text-secondary, #9090B0);
    margin: 0 0 12px;
  }

  .btn-welcome-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--gold, #E8C820);
    color: #050508;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin: 0 -14px 14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex-shrink: 0;
    min-height: 36px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .today-overview {
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 11px;
    line-height: 1.5;
  }

  .today-overview .ov-sep {
    display: none;
  }

  .free-notice {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.55;
    padding: 12px 14px;
  }

  .free-notice-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
  }

  .opp-item {
    padding: 16px 14px !important;
    gap: 10px;
    min-height: 44px;
  }

  .opp-title {
    font-size: 17px !important;
    line-height: 1.45 !important;
  }

  .opp-demand {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px !important;
  }

  .opp-demand-body {
    width: 100%;
  }

  .opp-demand-meter {
    max-width: none;
  }

  .opp-summary-v {
    max-width: 100%;
    font-size: 13px !important;
    line-height: 1.8 !important;
    -webkit-line-clamp: 5;
  }

  .opp-tag {
    font-size: 12px;
    white-space: normal;
    max-width: 100%;
  }

  .opp-arrow {
    font-size: 22px;
    align-self: center;
  }

  .side-bar {
    display: none !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  /* —— 详情页 —— */
  body {
    overflow-x: hidden;
  }

  .wrapper {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  body.detail-has-mobile-bar .wrapper {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  body.detail-has-mobile-bar.detail-mp-webview .wrapper {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  body.detail-mp-webview .detail-back-float--dock {
    top: calc(8px + env(safe-area-inset-top, 0px)) !important;
    bottom: auto !important;
  }

  .detail-hero {
    padding: 18px 0 14px !important;
  }

  .back-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px !important;
  }

  body.detail-has-back-float .detail-hero {
    padding-top: 8px !important;
  }

  .detail-back-float:not(.detail-back-float--dock) {
    top: calc(10px + env(safe-area-inset-top, 0px));
    left: 10px;
    padding: 10px 16px 10px 12px;
    font-size: 14px;
  }

  .detail-mobile-chrome {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    pointer-events: none;
  }

  .detail-mobile-chrome .detail-mobile-bar {
    pointer-events: auto;
  }

  .hero-title {
    font-size: 20px !important;
    line-height: 1.42 !important;
    margin-bottom: 12px !important;
  }

  .hero-intel-summary {
    padding: 14px 14px 14px 16px !important;
    margin-bottom: 12px !important;
    border-left-width: 2px !important;
  }

  .hero-summary {
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  .hero-meta {
    font-size: 12px !important;
    gap: 8px !important;
  }

  .hero-conf {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }

  .quick-strip {
    margin-bottom: 14px !important;
  }

  .quick-card {
    padding: 12px 14px !important;
  }

  .quick-v {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .quick-v--rec {
    font-size: 16px !important;
  }

  .detail-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .detail-main-col {
    order: 2;
    width: 100%;
    min-width: 0;
  }

  .detail-sidebar {
    order: 1;
    position: sticky;
    top: 56px;
    z-index: 45;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    margin: 0 -14px 4px;
    padding: 0 0 6px;
    background: var(--bg-deep, #050508);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  body.detail-has-mobile-bar .detail-sidebar {
    display: none !important;
  }

  .detail-sidebar .sidebar-card:first-child {
    padding: 10px 14px 8px !important;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    min-width: 0 !important;
    width: 100% !important;
    flex: none !important;
  }

  .detail-sidebar .sidebar-card:not(:first-child) {
    display: none;
  }

  .detail-sidebar .sidebar-title {
    display: none;
  }

  .sidebar-nav-shell {
    position: relative;
  }

  .sidebar-nav-shell::before,
  .sidebar-nav-shell::after {
    content: '';
    position: absolute;
    top: 28px;
    bottom: 4px;
    width: 18px;
    z-index: 2;
    pointer-events: none;
  }

  .sidebar-nav-shell::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-deep, #050508) 20%, transparent);
  }

  .sidebar-nav-shell::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-deep, #050508) 20%, transparent);
  }

  .sidebar-nav-current {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold, #E8C820);
    line-height: 1.35;
    padding: 0 14px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .detail-sidebar .sidebar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 6px;
    scrollbar-width: none;
    padding: 0 14px 6px;
    margin: 0;
  }

  .detail-sidebar .sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .detail-sidebar .sidebar-nav a {
    flex: 0 0 auto;
    flex-shrink: 0;
    scroll-snap-align: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
  }

  .detail-sidebar .sidebar-nav a.is-current {
    background: rgba(232, 200, 32, 0.14);
    border-color: rgba(232, 200, 32, 0.38);
    color: var(--gold, #E8C820);
    box-shadow: 0 0 0 1px rgba(232, 200, 32, 0.08) inset;
  }

  .detail-sidebar .sidebar-nav a .mod-hint-wrap {
    justify-content: center;
    gap: 0;
  }

  .detail-sidebar .sidebar-nav .mod-hint-tip {
    display: none !important;
  }

  .detail-sidebar .sidebar-nav-text {
    display: none !important;
  }

  .detail-sidebar .sidebar-nav-num {
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 800;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .detail-sidebar .sidebar-nav a.is-current .sidebar-nav-num {
    background: transparent;
    border: none;
  }

  .detail-sidebar .sidebar-nav a.sidebar-nav-link--stock {
    min-width: 92px;
    padding: 0 14px;
    border-color: rgba(244, 197, 66, 0.42);
    background: linear-gradient(135deg, rgba(244, 197, 66, 0.18) 0%, rgba(6, 182, 212, 0.08) 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(244, 197, 66, 0.12) inset;
  }

  .detail-sidebar .sidebar-nav a.sidebar-nav-link--stock .sidebar-nav-text {
    display: block !important;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    color: var(--text-primary, #F3F6FA);
  }

  .detail-sidebar .sidebar-nav a.sidebar-nav-link--stock .sidebar-nav-badge {
    display: none;
  }

  .detail-sidebar .sidebar-nav a.sidebar-nav-link--stock .mod-hint-wrap {
    gap: 6px;
  }

  .detail-sidebar .sidebar-nav a.sidebar-nav-link--stock.is-current {
    border-color: rgba(244, 197, 66, 0.58);
    color: var(--gold, #E8C820);
  }

  .detail-sidebar .sidebar-nav a.sidebar-nav-link--stock.is-current .sidebar-nav-text {
    color: var(--gold, #E8C820);
  }

  .mod-section {
    scroll-margin-top: 132px;
  }

  body.detail-has-mobile-bar .mod-section {
    scroll-margin-top: 72px;
  }

  .modules-flow {
    gap: 32px !important;
  }

  .mod-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .mod-title {
    font-size: 17px !important;
  }

  .mod-body,
  .field-value,
  .field-row .prose,
  .prose {
    font-size: 14px !important;
    line-height: 1.72 !important;
  }

  .field-k,
  .field-label,
  .sidebar-fact-k {
    font-size: 12px !important;
  }

  .field-row--card {
    padding: 16px 14px !important;
  }

  .field-grid,
  .field-grid--2,
  .field-grid--3 {
    grid-template-columns: 1fr !important;
  }

  .signal-stage-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 4px 10px !important;
  }

  .signal-stage-label {
    font-size: 10px !important;
  }

  .signal-stage-step--active .signal-stage-label {
    font-size: 11px !important;
  }

  .paywall-banner-inner {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 16px !important;
  }

  .paywall-banner-inner .btn-vip {
    width: 100%;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .paywall-overlay {
    padding: 80px 16px 24px !important;
    align-items: flex-end !important;
  }

  .paywall-overlay .btn-vip-lg {
    width: 100%;
    text-align: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .detail-welcome-toast {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(232, 200, 32, 0.1);
    border: 1px solid rgba(232, 200, 32, 0.25);
    color: var(--gold, #E8C820);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
  }

  /* 详情页统一底栏：目录 | 帮读 | 吐槽 */
  .detail-mobile-bridge {
    position: fixed;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
  }

  body.detail-has-mobile-bar .detail-mobile-bridge .xq-fab-wrap,
  body.detail-has-mobile-bar .detail-mobile-bridge .xq-fab,
  body.detail-has-mobile-bar .detail-mobile-bridge .intel-fb-fab {
    display: none !important;
  }

  body.detail-has-mobile-bar .detail-right-dock,
  body.detail-has-mobile-bar .detail-right-dock--mobile-bar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
  }

  .detail-mobile-bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    padding: 0;
    background: #08080c;
    border-top: 0.5px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55);
    transition: opacity 0.2s ease, transform 0.25s ease;
  }

  .detail-mobile-bar-inner {
    display: flex;
    align-items: stretch;
    max-width: 420px;
    margin: 0 auto;
    padding: 4px 16px calc(6px + env(safe-area-inset-bottom, 0px));
  }

  .detail-mobile-bar-item {
    flex: 1 1 0;
    min-width: 0;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #6b7280;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    transition: color 0.18s ease;
  }

  .detail-mobile-bar-item:active {
    opacity: 0.72;
  }

  .detail-mobile-bar-item.is-active {
    color: var(--gold, #E8C820);
  }

  .detail-mobile-bar-item.is-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--gold, #E8C820);
    opacity: 0.9;
  }

  .detail-mobile-bar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: inherit;
  }

  .detail-mobile-bar-svg {
    width: 22px;
    height: 22px;
    display: block;
  }

  .detail-mobile-bar-icon--avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    padding: 1.5px;
    background: linear-gradient(145deg, rgba(232, 200, 32, 0.55), rgba(232, 200, 32, 0.12));
    box-sizing: border-box;
  }

  .detail-mobile-bar-icon--avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #0e1624;
  }

  .detail-mobile-bar-item.is-active .detail-mobile-bar-icon--avatar {
    background: linear-gradient(145deg, rgba(232, 200, 32, 0.85), rgba(232, 200, 32, 0.35));
  }

  .detail-mobile-bar-txt {
    line-height: 1.15;
    white-space: nowrap;
  }

  body.detail-mp-webview .detail-mobile-bar {
    background: #151D2E;
    border-top-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
  }

  body.detail-mp-webview .detail-mobile-bar-inner {
    max-width: none;
    padding: 4px 8px calc(4px + env(safe-area-inset-bottom, 0px));
  }

  body.detail-mp-webview .detail-mobile-bar-item {
    min-height: 46px;
  }

  body.detail-mp-webview .detail-mobile-bar-item {
    color: #9090B0;
  }

  body.detail-mp-webview .detail-mobile-bar-item.is-active {
    color: var(--gold, #E8C820);
  }

  body.detail-mp-webview .site-header,
  body.detail-mp-webview .footer {
    display: none !important;
  }

  body.detail-mp-webview .wrapper {
    padding-top: 0 !important;
  }

  body.detail-mp-webview .detail-mobile-bar-inner.detail-mobile-bar-inner--mp5,
  body.detail-mp-webview .detail-mobile-bar-inner:has(#mobileShareMomentsBtn) {
    padding: 2px 2px calc(2px + env(safe-area-inset-bottom, 0px));
  }

  body.detail-mp-webview #mobileShareMomentsBtn .detail-mobile-bar-txt,
  body.detail-mp-webview #mobileShareFriendBtn .detail-mobile-bar-txt,
  body.detail-mp-webview .detail-mobile-bar-inner:has(#mobileShareMomentsBtn) .detail-mobile-bar-txt {
    font-size: 9px;
  }

  body.detail-mp-webview .detail-mobile-bar-inner:has(#mobileShareMomentsBtn) .detail-mobile-bar-item {
    min-height: 44px;
    gap: 2px;
  }

  body.detail-mp-webview .detail-mobile-bar-inner:has(#mobileShareMomentsBtn) .detail-mobile-bar-svg {
    width: 20px;
    height: 20px;
  }

  body.detail-overlay-open .detail-fb-float--dock {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.detail-overlay-open .detail-mobile-chrome .detail-mobile-bar,
  body.detail-overlay-open .detail-mobile-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 0.2s ease, transform 0.25s ease;
  }

  body.detail-overlay-open .detail-back-float--dock {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .detail-mod-sheet {
    position: fixed;
    inset: 0;
    z-index: 130;
    pointer-events: none;
    visibility: hidden;
  }

  .detail-mod-sheet.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  .detail-mod-sheet-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.22s ease;
  }

  .detail-mod-sheet.is-open .detail-mod-sheet-mask {
    opacity: 1;
  }

  .detail-mod-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(72vh, 520px);
    display: flex;
    flex-direction: column;
    background: var(--bg-card, #0C0C14);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px 16px 0 0;
    transform: translateY(105%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .detail-mod-sheet.is-open .detail-mod-sheet-panel {
    transform: translateY(0);
  }

  .detail-mod-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #E8E8F0);
    flex-shrink: 0;
  }

  .detail-mod-sheet-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary, #9090B0);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .detail-mod-sheet-current {
    padding: 0 16px 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold, #E8C820);
    flex-shrink: 0;
  }

  .detail-mod-sheet-list {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .detail-mod-sheet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary, #E8E8F0);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
  }

  .detail-mod-sheet-item.is-current {
    background: rgba(232, 200, 32, 0.12);
    border-color: rgba(232, 200, 32, 0.35);
    color: var(--gold, #E8C820);
  }

  .detail-mod-sheet-item--stock {
    border-color: rgba(244, 197, 66, 0.4);
    background: linear-gradient(135deg, rgba(244, 197, 66, 0.12) 0%, rgba(6, 182, 212, 0.06) 100%);
    box-shadow: inset 3px 0 0 #F4C542;
  }

  .detail-mod-sheet-item--stock.is-current {
    background: linear-gradient(135deg, rgba(244, 197, 66, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-color: rgba(244, 197, 66, 0.5);
  }

  .detail-mod-sheet-badge {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 999px;
    color: #1a1408;
    background: linear-gradient(135deg, #F4C542 0%, #FFD85A 100%);
    border: 1px solid rgba(255, 216, 90, 0.65);
  }

  .detail-mod-sheet-num {
    flex-shrink: 0;
    width: 32px;
    font-size: 13px;
    font-weight: 800;
    color: inherit;
    opacity: 0.85;
  }

  .detail-mod-sheet-title {
    flex: 1;
    min-width: 0;
    line-height: 1.4;
  }

  body.detail-mod-sheet-open {
    overflow: hidden;
  }

  /* 正文可选中 → 长按/拖选后问小铅 */
  .detail-main-col,
  .modules-flow,
  .mod-section,
  .mod-body,
  .field-row,
  .field-value,
  .prose,
  .detail-hero,
  .detail-hero .hero-title,
  .detail-hero .hero-summary,
  .quick-strip {
    -webkit-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default;
  }

  body.detail-has-mobile-bar .xq-panel-backdrop {
    z-index: 1540;
    inset: 0 !important;
    padding-bottom: 0 !important;
  }

  body.detail-has-mobile-bar .xq-panel {
    z-index: 1550;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    width: min(360px, calc(100vw - 28px)) !important;
    max-width: min(360px, calc(100vw - 28px)) !important;
    height: auto !important;
    max-height: min(68dvh, calc(100dvh - 96px)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    transform: translate(-50%, calc(100% + 24px)) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  }

  body.detail-has-mobile-bar .xq-panel.is-open {
    transform: translate(-50%, 0) !important;
  }

  body.detail-has-mobile-bar .xq-panel-head {
    padding: 8px 14px 10px;
  }

  body.detail-has-mobile-bar .xq-panel-head::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
  }

  body.detail-has-mobile-bar .xq-panel-title {
    font-size: 16px;
  }

  body.detail-has-mobile-bar .xq-panel-close {
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
  }

  body.detail-has-mobile-bar .xq-panel-modes {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 8px 12px 10px;
  }

  body.detail-has-mobile-bar .xq-panel-modes::-webkit-scrollbar {
    display: none;
  }

  body.detail-has-mobile-bar .xq-mode-chip {
    flex-shrink: 0;
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
  }

  body.detail-has-mobile-bar .xq-panel-viewport {
    padding: 0 12px 10px;
  }

  body.detail-has-mobile-bar .xq-viewport-btn {
    min-height: 44px;
    font-size: 13px;
    padding: 12px 14px;
  }

  body.detail-has-mobile-bar .xq-panel-body {
    padding: 10px 12px 14px;
  }

  body.detail-has-mobile-bar .xq-msg {
    font-size: 13px;
    line-height: 1.7;
  }

  body.detail-has-mobile-bar .xq-panel-foot {
    padding: 8px 12px 12px;
    background: var(--bg-deep, #0E1624);
    border-radius: 0 0 14px 14px;
  }

  body.detail-has-mobile-bar .xq-input-row input {
    font-size: 16px;
    min-height: 44px;
    padding: 11px 12px;
  }

  body.detail-has-mobile-bar .xq-send-btn {
    min-height: 44px;
    min-width: 68px;
    padding: 0 16px;
    font-size: 14px;
  }

  body.detail-has-mobile-bar .xq-panel--sheet {
    left: 50% !important;
    right: auto !important;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    width: min(360px, calc(100vw - 28px)) !important;
    max-width: min(360px, calc(100vw - 28px)) !important;
    height: auto !important;
    max-height: min(68dvh, calc(100dvh - 96px)) !important;
    border-radius: 14px !important;
    transform: translate(-50%, calc(100% + 24px)) !important;
  }

  body.detail-has-mobile-bar .xq-panel--sheet.is-open {
    transform: translate(-50%, 0) !important;
  }

  body.detail-overlay-open {
    overflow: hidden;
  }

  body.detail-overlay-open .detail-mobile-chrome .detail-mobile-bar,
  body.detail-overlay-open .detail-mobile-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 0.2s ease, transform 0.25s ease;
  }

  body.detail-overlay-open .intel-fb-toast,
  body.detail-overlay-open .xq-toast {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 1600;
  }

  /* —— 会员中心 —— */
  .reader-points-grid {
    grid-template-columns: 1fr !important;
  }

  .account-btn,
  .account-cta {
    width: 100%;
    text-align: center;
    min-height: 44px;
  }

  .site-header {
    padding: 12px 14px !important;
  }
}
