/* ============================================================================
   湖韵专题 H5 App 化  mobile/destination.css
   模块：destination/list.php（.hy-page）+ destination/show.php（.destination-detail）
   仅移动端 (max-width:768px) 生效；PC 端(≥769px) 完全不加载本文件规则。
   ============================================================================ */

@media (max-width: 768px) {

  /* ===================== list.php：湖韵专题频道首页 ===================== */
  .hy-page .hy-hero { padding: 64px 0 40px; }
  .hy-page .hy-hero h1 { font-size: 32px; letter-spacing: 3px; }
  .hy-page .hy-sub { font-size: 13.5px; margin: 12px auto 20px; line-height: 1.8; padding: 0 8px; }
  .hy-page .hy-stats { gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
  .hy-page .hy-stat .cs-num { font-size: 26px; }

  /* 板块分类导航：横向滑动，吸顶在 App 顶栏之下 */
  .hy-page .hy-cat-nav { position: sticky; top: 52px; z-index: 90; }
  .hy-page .hy-cat-nav-inner {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px;
    padding: 10px 16px; justify-content: flex-start;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .hy-page .hy-cat-nav-inner::-webkit-scrollbar { display: none; }
  .hy-page .hy-cat-nav a { flex: 0 0 auto; white-space: nowrap; min-height: 38px; display: inline-flex; align-items: center; }

  .hy-page .hy-section { padding: 34px 0; }
  .hy-page .hy-section-header { margin-bottom: 20px; }
  .hy-page .hy-section-title { font-size: 23px; }
  .hy-page .hy-section-desc { font-size: 12.5px; padding: 0 16px; }

  /* 点位卡片：2 列紧凑流 */
  .hy-page .hy-spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hy-page .hy-container { padding: 0 14px; }
  .hy-page .hy-sc-img { height: 110px; }
  .hy-page .hy-sc-body { padding: 10px 11px 12px; }
  .hy-page .hy-sc-name { font-size: 13.5px; line-height: 1.4; }
  .hy-page .hy-sc-lines { font-size: 11px; line-height: 1.6; }
  .hy-page .hy-sc-line { word-break: break-word; }
  .hy-page .hy-sc-line.hy-sc-desc { display: none; }
  .hy-page .hy-sc-btn { display: inline-flex; align-items: center; justify-content: center;
    width: 100%; margin-top: 8px; min-height: 38px; font-size: 12px; }

  /* ===================== show.php：专题详情 ===================== */
  .destination-detail .hero { padding: 56px 0 28px; }
  .destination-detail .hero-inner { padding: 0 16px 24px; }
  .destination-detail .hero h1 { font-size: 24px; letter-spacing: 1px; }
  .destination-detail .hero .en { display: block; margin-left: 0; margin-top: 6px; font-size: 13px; }
  .destination-detail .hero-actions { gap: 8px; margin-top: 14px !important; }
  .destination-detail .hero-btn { min-height: 44px; padding: 10px 16px; font-size: 14px; }

  .destination-detail .section { padding: 30px 0; }
  .destination-detail .container { padding: 0 14px; }
  .destination-detail .section-title { font-size: 21px; }
  .destination-detail .section-header { margin-bottom: 18px; }

  /* 信息栏：2 列，紧凑 */
  .destination-detail .info-bar-inner { padding: 12px 14px; gap: 10px; }
  .destination-detail .ii-icon { font-size: 18px; }
  .destination-detail .ii-label { font-size: 11px; }
  .destination-detail .ii-value { font-size: 12.5px; }

  /* 地图 tab 横向滑动 */
  .destination-detail .map-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .destination-detail .map-tabs::-webkit-scrollbar { display: none; }
  .destination-detail .map-tab { white-space: nowrap; padding: 10px 14px; }
  .destination-detail .map-content { flex-direction: column; }
  .destination-detail .route-panel { max-height: none; margin-top: 12px; }

  /* 途经路线节点换行 */
  .destination-detail .route-nodes { flex-wrap: wrap; }
  .destination-detail .route-node { white-space: normal; }

  /* 门票卡：单列，按钮满高 */
  .destination-detail .ticket-grid { grid-template-columns: 1fr; gap: 12px; }
  .destination-detail .tc-btn { min-height: 44px; font-size: 14px; display: flex; align-items: center; justify-content: center; }

  /* 住宿/餐饮卡：保持横向行卡，但不挤 */
  .destination-detail .venue-grid { grid-template-columns: 1fr; gap: 10px; }
  .destination-detail .venue-card { flex-direction: row; }
  .destination-detail .vc-img { width: 96px; min-height: 96px; }
  .destination-detail .vc-name { white-space: normal; }
  .destination-detail .vc-btn { min-height: 36px; display: inline-flex; align-items: center; padding: 6px 12px; }

  /* 好物卡：2 列，修复“去购买”越界（R=404） */
  .destination-detail .goods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .destination-detail .goods-card .gc-body { padding: 10px 11px 12px; }
  .destination-detail .goods-card .gc-name { font-size: 12.5px; line-height: 1.4;
    white-space: normal; overflow: visible; text-overflow: clip;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .destination-detail .goods-card .gc-bottom { flex-wrap: wrap; gap: 6px; }
  .destination-detail .goods-card .gc-price { font-size: 14px; }
  .destination-detail .goods-card .gc-btn {
    flex: 1 1 auto; text-align: center; min-height: 34px; padding: 6px 8px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; white-space: nowrap; max-width: 100%;
  }

  /* 评价卡 */
  .destination-detail .review-summary { padding: 18px; gap: 16px; }
  .destination-detail .review-score-box { padding-bottom: 14px; margin-bottom: 14px; }
  .destination-detail .ri-tags img { width: 72px; height: 54px; }

  /* 返回顶部：上移避开底部 Tab 栏 */
  .destination-detail .back-top {
    bottom: calc(72px + env(safe-area-inset-bottom)); right: 14px;
  }

  /* 社区 CTA / 增值服务 / 相关推荐 不撑破 */
  .destination-detail .community-section { padding: 24px 18px; }
  .destination-detail .cs-cta { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 380px) {
  .hy-page .hy-spot-grid { gap: 10px; }
  .destination-detail .hero h1 { font-size: 22px; }
}
