/* roulang page: index */
:root {
            --tea-primary: #1e3a8a;
            --tea-primary-dark: #0f172a;
            --tea-primary-light: #3b82f6;
            --tea-accent: #0f766e;
            --tea-accent-light: #14b8a6;
            --tea-accent-subtle: #f0fdfa;
            --tea-bg-light: #f8fafc;
            --tea-bg-card: #ffffff;
            --tea-text-main: #0f172a;
            --tea-text-muted: #475569;
            --tea-text-light: #94a3b8;
            --tea-border-color: #e2e8f0;
            --tea-card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
            --tea-hover-shadow: 0 20px 35px -5px rgba(30, 58, 138, 0.12), 0 8px 12px -4px rgba(30, 58, 138, 0.06);
            --tea-radius: 12px;
            --tea-transition: all 0.28s ease-in-out;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background-color: var(--tea-bg-light);
            color: var(--tea-text-main);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--tea-transition);
        }

        /* 顶部导航 */
        .site-header {
            background: #ffffff;
            border-bottom: 1px solid var(--tea-border-color);
            position: sticky;
            top: 0;
            z-index: 1030;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
        }
        .navbar-brand-custom {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--tea-primary-dark);
            display: flex;
            align-items: center;
            gap: 10px;
            letter-spacing: -0.5px;
        }
        .navbar-brand-custom .logo-badge {
            background: var(--tea-primary);
            color: #fff;
            font-size: 0.75rem;
            padding: 3px 8px;
            border-radius: 6px;
            font-weight: 600;
        }
        .nav-link-custom {
            color: var(--tea-text-muted);
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            transition: var(--tea-transition);
        }
        .nav-link-custom:hover, .nav-link-custom.active {
            color: var(--tea-primary);
            background: #eff6ff;
        }
        .nav-action-btn {
            background-color: var(--tea-primary);
            color: #ffffff !important;
            font-weight: 600;
            padding: 0.5rem 1.25rem;
            border-radius: 8px;
            transition: var(--tea-transition);
            border: none;
        }
        .nav-action-btn:hover {
            background-color: #1d4ed8;
            transform: translateY(-1px);
        }

        /* 通用板块与排版 */
        .page-section {
            padding: 5rem 0;
            position: relative;
        }
        .section-alt {
            background-color: #ffffff;
            border-top: 1px solid var(--tea-border-color);
            border-bottom: 1px solid var(--tea-border-color);
        }
        .section-header {
            margin-bottom: 3rem;
        }
        .section-tag {
            display: inline-block;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--tea-accent);
            background: var(--tea-accent-subtle);
            border: 1px solid rgba(15, 118, 110, 0.2);
            padding: 4px 14px;
            border-radius: 30px;
            margin-bottom: 0.85rem;
            text-transform: uppercase;
        }
        .section-title {
            font-size: 2.1rem;
            font-weight: 700;
            color: var(--tea-primary-dark);
            margin-bottom: 1rem;
            letter-spacing: -0.5px;
        }
        .section-desc {
            font-size: 1.05rem;
            color: var(--tea-text-muted);
            max-width: 820px;
            line-height: 1.8;
            margin: 0 auto;
        }

        /* Hero: 深色面板与右侧 Faux 榜单 */
        .hero-banner {
            background: linear-gradient(135deg, #0b1329 0%, #172554 100%);
            color: #ffffff;
            padding: 4.5rem 0 5rem 0;
            position: relative;
            overflow: hidden;
        }
        .hero-banner::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 450px;
            height: 450px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
            pointer-events: none;
        }
        .hero-badge {
            background: rgba(255, 255, 255, 0.12);
            color: #93c5fd;
            border: 1px solid rgba(147, 197, 253, 0.3);
            font-size: 0.85rem;
            font-weight: 600;
            padding: 5px 14px;
            border-radius: 20px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 1.25rem;
        }
        .hero-title {
            font-size: 2.65rem;
            font-weight: 800;
            line-height: 1.28;
            color: #ffffff;
            margin-bottom: 1.5rem;
            letter-spacing: -0.8px;
        }
        .hero-text {
            font-size: 1.05rem;
            color: #cbd5e1;
            line-height: 1.85;
            margin-bottom: 2rem;
        }
        .hero-btn-primary {
            background-color: #2563eb;
            color: #ffffff;
            font-weight: 600;
            padding: 0.85rem 1.8rem;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid transparent;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
        }
        .hero-btn-primary:hover {
            background-color: #1d4ed8;
            color: #ffffff;
            transform: translateY(-2px);
        }
        .hero-btn-secondary {
            background: rgba(255, 255, 255, 0.08);
            color: #f1f5f9;
            font-weight: 600;
            padding: 0.85rem 1.6rem;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            margin-left: 0.75rem;
        }
        .hero-btn-secondary:hover {
            background: rgba(255, 255, 255, 0.16);
            color: #ffffff;
        }

        /* Hero 右侧数据榜单卡 */
        .hero-rank-panel {
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            padding: 1.75rem;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }
        .rank-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 1rem;
            margin-bottom: 1.25rem;
        }
        .rank-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 0;
            border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
        }
        .rank-item:last-child {
            border-bottom: none;
        }
        .rank-index {
            width: 26px;
            height: 26px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 700;
            margin-right: 10px;
        }
        .rank-top-1 { background: #f59e0b; color: #fff; }
        .rank-top-2 { background: #94a3b8; color: #fff; }
        .rank-top-3 { background: #b45309; color: #fff; }
        .rank-normal { background: rgba(255, 255, 255, 0.1); color: #cbd5e1; }

        /* 卡片与网格统一体系 */
        .tea-card {
            background: var(--tea-bg-card);
            border: 1px solid var(--tea-border-color);
            border-radius: var(--tea-radius);
            box-shadow: var(--tea-card-shadow);
            transition: var(--tea-transition);
            padding: 1.75rem;
            height: 100%;
            position: relative;
        }
        .tea-card:hover {
            box-shadow: var(--tea-hover-shadow);
            transform: translateY(-4px);
            border-color: #cbd5e1;
        }
        .card-icon-box {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            background: #eff6ff;
            color: var(--tea-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            margin-bottom: 1.25rem;
        }
        .card-icon-box.teal {
            background: var(--tea-accent-subtle);
            color: var(--tea-accent);
        }
        .tea-card h4, .tea-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--tea-primary-dark);
        }
        .tea-card p {
            font-size: 0.95rem;
            color: var(--tea-text-muted);
            margin-bottom: 0;
            line-height: 1.7;
        }

        /* 资讯与热榜专栏 */
        .news-item {
            background: #ffffff;
            border: 1px solid var(--tea-border-color);
            border-radius: 12px;
            padding: 1.25rem;
            margin-bottom: 1rem;
            transition: var(--tea-transition);
        }
        .news-item:hover {
            border-color: var(--tea-primary-light);
            background: #fdfefe;
        }
        .news-meta {
            font-size: 0.8rem;
            color: var(--tea-text-light);
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 0.5rem;
        }
        .news-title {
            font-size: 1.08rem;
            font-weight: 700;
            color: var(--tea-primary-dark);
            margin-bottom: 0.4rem;
        }

        /* 对比卡片样式 */
        .compare-box {
            border-radius: 12px;
            padding: 1.75rem;
            border: 1px solid;
            height: 100%;
        }
        .compare-bad {
            background: #fff8f8;
            border-color: #fee2e2;
        }
        .compare-good {
            background: #f0fdf4;
            border-color: #bbf7d0;
        }

        /* 工艺流程步骤 */
        .step-pill {
            background: #ffffff;
            border: 1px solid var(--tea-border-color);
            border-radius: 12px;
            padding: 1.5rem;
            position: relative;
        }
        .step-num {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--tea-accent);
            opacity: 0.85;
            margin-bottom: 0.5rem;
        }

        /* 数据指标网格 */
        .metric-card {
            background: #ffffff;
            border: 1px solid var(--tea-border-color);
            border-radius: 12px;
            padding: 1.75rem;
            text-align: center;
        }
        .metric-value {
            font-size: 2.35rem;
            font-weight: 800;
            color: var(--tea-primary);
            line-height: 1.2;
            margin-bottom: 0.35rem;
        }
        .metric-label {
            font-size: 0.95rem;
            color: var(--tea-text-muted);
            font-weight: 500;
        }

        /* 标签与合集目录 */
        .collection-badge {
            font-size: 0.8rem;
            background: #eff6ff;
            color: var(--tea-primary);
            padding: 3px 10px;
            border-radius: 4px;
            font-weight: 600;
        }

        /* 单一收口 CTA 区 */
        .cta-box-single {
            background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
            border-radius: 16px;
            color: #ffffff;
            padding: 3.5rem 2.5rem;
            box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
        }

        /* 页脚统一规范 */
        .site-footer {
            background-color: #0f172a;
            color: #94a3b8;
            padding: 4.5rem 0 2.5rem 0;
            font-size: 0.95rem;
            border-top: 1px solid #1e293b;
        }
        .footer-title {
            color: #f8fafc;
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1.25rem;
        }
        .footer-link-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-link-list li {
            margin-bottom: 0.75rem;
        }
        .footer-link-list a:hover {
            color: #38bdf8;
            padding-left: 3px;
        }
        .footer-bottom {
            border-top: 1px solid #1e293b;
            padding-top: 2rem;
            margin-top: 3.5rem;
            font-size: 0.88rem;
        }

        @media (max-width: 991.98px) {
            .hero-title { font-size: 2.15rem; }
            .section-title { font-size: 1.75rem; }
            .page-section { padding: 3.5rem 0; }
        }

/* roulang page: category1 */
:root {
      --tea-primary: #1e3a8a;
      --tea-primary-dark: #0f172a;
      --tea-primary-light: #3b82f6;
      --tea-accent: #0f766e;
      --tea-accent-light: #14b8a6;
      --tea-accent-subtle: #f0fdfa;
      --tea-bg-light: #f8fafc;
      --tea-bg-card: #ffffff;
      --tea-text-main: #0f172a;
      --tea-text-muted: #475569;
      --tea-text-light: #94a3b8;
      --tea-border-color: #e2e8f0;
      --tea-card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
      --tea-hover-shadow: 0 20px 35px -5px rgba(30, 58, 138, 0.12), 0 8px 12px -4px rgba(30, 58, 138, 0.06);
      --tea-radius: 12px;
      --tea-transition: all 0.28s ease-in-out;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--tea-bg-light);
      color: var(--tea-text-main);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--tea-transition);
    }

    /* 顶部导航 */
    .site-header {
      background: #ffffff;
      border-bottom: 1px solid var(--tea-border-color);
      position: sticky;
      top: 0;
      z-index: 1030;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }
    .navbar-brand-custom {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--tea-primary-dark);
      display: flex;
      align-items: center;
      gap: 10px;
      letter-spacing: -0.5px;
    }
    .navbar-brand-custom .logo-badge {
      background: var(--tea-primary);
      color: #fff;
      font-size: 0.75rem;
      padding: 3px 8px;
      border-radius: 6px;
      font-weight: 600;
    }
    .nav-link-custom {
      color: var(--tea-text-muted);
      font-weight: 500;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      transition: var(--tea-transition);
    }
    .nav-link-custom:hover, .nav-link-custom.active {
      color: var(--tea-primary);
      background: #eff6ff;
    }
    .nav-action-btn {
      background-color: var(--tea-primary);
      color: #ffffff !important;
      font-weight: 600;
      padding: 0.5rem 1.25rem;
      border-radius: 8px;
      transition: var(--tea-transition);
      border: none;
    }
    .nav-action-btn:hover {
      background-color: #1d4ed8;
      transform: translateY(-1px);
    }

    /* 页面基础板块 */
    .page-section {
      padding: 4.8rem 0;
      position: relative;
    }
    .section-alt {
      background-color: #ffffff;
      border-top: 1px solid var(--tea-border-color);
      border-bottom: 1px solid var(--tea-border-color);
    }
    .section-header {
      margin-bottom: 2.8rem;
    }
    .section-tag {
      display: inline-block;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--tea-accent);
      background: var(--tea-accent-subtle);
      border: 1px solid rgba(15, 118, 110, 0.2);
      padding: 4px 14px;
      border-radius: 30px;
      margin-bottom: 0.85rem;
    }
    .section-title {
      font-size: 2.1rem;
      font-weight: 700;
      color: var(--tea-primary-dark);
      margin-bottom: 0.85rem;
      letter-spacing: -0.5px;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--tea-text-muted);
      max-width: 820px;
      line-height: 1.8;
      margin: 0 auto;
    }

    /* Hero：资源库搜索与快捷标签版式 */
    .catalog-hero {
      background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
      padding: 4rem 0 3.5rem;
      border-bottom: 1px solid var(--tea-border-color);
    }
    .hero-search-box {
      max-width: 760px;
      margin: 0 auto;
      background: #ffffff;
      padding: 8px 10px 8px 20px;
      border-radius: 50px;
      box-shadow: 0 12px 35px -8px rgba(30, 58, 138, 0.12);
      border: 1px solid #bfdbfe;
      display: flex;
      align-items: center;
      transition: var(--tea-transition);
    }
    .hero-search-box:focus-within {
      border-color: var(--tea-primary);
      box-shadow: 0 15px 40px -5px rgba(30, 58, 138, 0.2);
    }
    .hero-search-input {
      border: none;
      outline: none;
      width: 100%;
      font-size: 1rem;
      color: var(--tea-text-main);
      background: transparent;
    }
    .hero-search-btn {
      background-color: var(--tea-primary);
      color: #fff;
      border: none;
      border-radius: 40px;
      padding: 10px 26px;
      font-weight: 600;
      white-space: nowrap;
      transition: var(--tea-transition);
    }
    .hero-search-btn:hover {
      background-color: #1d4ed8;
      color: #fff;
    }
    .quick-tag-pills {
      margin-top: 1.5rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }
    .tag-pill {
      font-size: 0.875rem;
      color: var(--tea-primary);
      background: #ffffff;
      border: 1px solid #dbeafe;
      padding: 5px 14px;
      border-radius: 20px;
      font-weight: 500;
      transition: var(--tea-transition);
    }
    .tag-pill:hover {
      background: #dbeafe;
      color: var(--tea-primary-dark);
    }

    /* 结构卡片通用 */
    .custom-card {
      background: var(--tea-bg-card);
      border: 1px solid var(--tea-border-color);
      border-radius: var(--tea-radius);
      box-shadow: var(--tea-card-shadow);
      transition: var(--tea-transition);
      height: 100%;
    }
    .custom-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--tea-hover-shadow);
      border-color: #cbd5e1;
    }

    /* 商圈茶馆列表特化卡片 */
    .teahouse-card-horizontal {
      background: #ffffff;
      border: 1px solid var(--tea-border-color);
      border-radius: var(--tea-radius);
      padding: 1.5rem;
      margin-bottom: 1.25rem;
      box-shadow: var(--tea-card-shadow);
      transition: var(--tea-transition);
    }
    .teahouse-card-horizontal:hover {
      border-color: #93c5fd;
      box-shadow: var(--tea-hover-shadow);
    }
    .district-badge {
      background: #e0f2fe;
      color: #0369a1;
      font-weight: 600;
      font-size: 0.75rem;
      padding: 4px 10px;
      border-radius: 6px;
    }
    .metric-value {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--tea-primary);
    }

    /* 表格风格对比 */
    .comparison-table-wrapper {
      background: #ffffff;
      border: 1px solid var(--tea-border-color);
      border-radius: var(--tea-radius);
      overflow-x: auto;
      box-shadow: var(--tea-card-shadow);
    }
    .table-custom {
      margin-bottom: 0;
      width: 100%;
      vertical-align: middle;
    }
    .table-custom thead th {
      background-color: #f1f5f9;
      color: var(--tea-primary-dark);
      font-weight: 700;
      border-bottom: 2px solid var(--tea-border-color);
      padding: 1rem 1.25rem;
      white-space: nowrap;
    }
    .table-custom tbody td {
      padding: 1.15rem 1.25rem;
      border-bottom: 1px solid var(--tea-border-color);
      color: var(--tea-text-main);
    }
    .table-custom tbody tr:last-child td {
      border-bottom: none;
    }
    .table-custom tbody tr:hover {
      background-color: #f8fafc;
    }

    /* 贴吧杯测流手记卡片 */
    .review-post-item {
      background: #ffffff;
      border: 1px solid var(--tea-border-color);
      border-radius: var(--tea-radius);
      padding: 1.6rem;
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: var(--tea-card-shadow);
      transition: var(--tea-transition);
    }
    .review-post-item:hover {
      box-shadow: var(--tea-hover-shadow);
      border-color: #cbd5e1;
    }
    .user-tieba-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #dbeafe;
      color: var(--tea-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.1rem;
    }
    .tasting-metric-pill {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      font-size: 0.8rem;
      padding: 3px 8px;
      border-radius: 4px;
      color: var(--tea-text-muted);
    }

    /* 投票与议题样式 */
    .poll-panel-card {
      background: #ffffff;
      border: 1px solid var(--tea-border-color);
      border-radius: var(--tea-radius);
      padding: 1.75rem;
      box-shadow: var(--tea-card-shadow);
    }
    .poll-progress {
      height: 8px;
      border-radius: 6px;
      background: #e2e8f0;
      margin-top: 6px;
      overflow: hidden;
    }
    .poll-progress-bar {
      background-color: var(--tea-primary);
      height: 100%;
      border-radius: 6px;
    }

    /* CTA 转化面板 */
    .cta-banner-wrapper {
      background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
      color: #ffffff;
      border-radius: 16px;
      padding: 3.5rem 2.5rem;
      box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
      position: relative;
      overflow: hidden;
    }
    .cta-banner-wrapper::after {
      content: '';
      position: absolute;
      top: -30px;
      right: -30px;
      width: 260px;
      height: 260px;
      background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
      pointer-events: none;
    }

    /* 页脚样式 */
    .site-footer {
      background: #0f172a;
      color: #94a3b8;
      padding: 4.5rem 0 2.5rem;
      border-top: 1px solid #1e293b;
    }
    .footer-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: #f1f5f9;
      margin-bottom: 1.25rem;
    }
    .footer-link-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-link-list li {
      margin-bottom: 0.65rem;
    }
    .footer-link-list a {
      color: #94a3b8;
    }
    .footer-link-list a:hover {
      color: #38bdf8;
      padding-left: 4px;
    }
    .footer-bottom {
      border-top: 1px solid #1e293b;
      margin-top: 3.5rem;
      padding-top: 2rem;
      font-size: 0.85rem;
    }

    @media (max-width: 991px) {
      .section-title { font-size: 1.8rem; }
      .page-section { padding: 3.5rem 0; }
    }
    @media (max-width: 576px) {
      .hero-search-box {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
      }
      .hero-search-btn {
        width: 100%;
        margin-top: 10px;
        border-radius: 8px;
      }
      .cta-banner-wrapper {
        padding: 2.2rem 1.2rem;
      }
    }
