/* roulang page: index */
:root {
            --brand-50: #eff6ff;
            --brand-100: #dbeafe;
            --brand-500: #3b82f6;
            --brand-600: #2563eb;
            --brand-700: #1d4ed8;
            --accent-500: #d97706;
            --accent-600: #b45309;
            --bg-soft: #f8fafc;
            --text-main: #1e293b;
            --text-body: #475569;
            --text-muted: #94a3b8;
            --border-light: #e2e8f0;
            --radius-card: 1rem;
            --radius-btn: 9999px;
            --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
            --shadow-card-hover: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.02);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: var(--bg-soft);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            padding-bottom: 4rem;
        }

        @media (min-width: 768px) {
            body {
                padding-bottom: 0;
            }
        }

        img {
            max-width: 100%;
            height: auto;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        button,
        input {
            font-family: inherit;
        }

        .hero-bg {
            background-color: #eff6ff;
            background-image:
                radial-gradient(circle, rgba(59, 130, 246, 0.07) 1px, transparent 1px),
                linear-gradient(135deg, #eff6ff 0%, #f8fafc 55%, #ffffff 100%);
            background-size: 28px 28px, 100% 100%;
        }

        .cta-bg {
            background:
                radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 85% 80%, rgba(217, 119, 6, 0.08) 0%, transparent 30%),
                linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
        }

        .line-clamp-1 {
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        details>summary {
            list-style: none;
            cursor: pointer;
        }

        details>summary::-webkit-details-marker {
            display: none;
        }

        details[open] .faq-icon {
            transform: rotate(45deg);
        }

        .faq-icon {
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .mobile-tabbar {
            padding-bottom: env(safe-area-inset-bottom);
        }

        @keyframes floatBadge {
            0%,
            100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-8px);
            }
        }

        .float-badge {
            animation: floatBadge 3s ease-in-out infinite;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: .5rem;
            background-color: var(--brand-600);
            color: #fff;
            font-weight: 500;
            padding: .75rem 1.75rem;
            border-radius: var(--radius-btn);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            transition: background-color .2s, box-shadow .2s, transform .2s;
        }

        .btn-primary:hover {
            background-color: var(--brand-700);
            box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.4);
            transform: translateY(-1px);
        }

        .btn-primary:active {
            background-color: #1e40af;
        }

        .btn-primary:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-500);
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: .5rem;
            border: 1px solid var(--border-light);
            background: #fff;
            color: var(--text-body);
            font-weight: 500;
            padding: .75rem 1.75rem;
            border-radius: var(--radius-btn);
            transition: border-color .2s, color .2s, box-shadow .2s;
        }

        .btn-outline:hover {
            border-color: var(--brand-400);
            color: var(--brand-600);
            box-shadow: 0 4px 12px -4px rgba(59, 130, 246, 0.15);
        }

        .btn-outline:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-500);
        }

        .card-hover {
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .card-hover:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-card-hover);
        }

/* roulang page: article */
:root {
            --brand-50: #EFF6FF;
            --brand-100: #DBEAFE;
            --brand-200: #BFDBFE;
            --brand-300: #93C5FD;
            --brand-400: #60A5FA;
            --brand-500: #3B82F6;
            --brand-600: #2563EB;
            --brand-700: #1D4ED8;
            --accent-400: #FBBF24;
            --accent-500: #F59E0B;
            --accent-600: #D97706;
            --bg-base: #F8FAFC;
            --bg-hero: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
            --text-main: #1E293B;
            --text-body: #334155;
            --text-sub: #64748B;
            --text-muted: #94A3B8;
            --border-light: #E2E8F0;
            --radius-card: 1rem;
            --radius-btn: 9999px;
            --shadow-card: 0 1px 3px rgba(30, 41, 59, 0.07);
            --shadow-hover: 0 8px 24px rgba(30, 41, 59, 0.10);
            --font-sans: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-sans);
            background: var(--bg-base);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        img {
            max-width: 100%;
            height: auto;
        }
        button,
        input {
            font-family: inherit;
        }
        .container-x {
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }
        .header-wrap {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #F1F5F9;
        }
        .nav-link {
            color: #475569;
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.2s ease;
        }
        .nav-link:hover {
            color: var(--brand-600);
        }
        .nav-link.active {
            color: var(--brand-600);
            font-weight: 600;
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: var(--brand-500);
            color: #fff;
            font-weight: 500;
            padding: 0.65rem 1.5rem;
            border-radius: var(--radius-btn);
            font-size: 0.95rem;
            transition: all 0.2s ease;
            box-shadow: 0 1px 3px rgba(30, 41, 59, 0.08);
            cursor: pointer;
            border: none;
        }
        .btn-primary:hover {
            background: var(--brand-600);
            box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
            transform: translateY(-1px);
        }
        .btn-primary:active {
            background: var(--brand-700);
            transform: translateY(0);
        }
        .btn-primary:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
        }
        .btn-outline {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            border: 1px solid #CBD5E1;
            background: #fff;
            color: #475569;
            font-weight: 500;
            padding: 0.6rem 1.5rem;
            border-radius: var(--radius-btn);
            font-size: 0.9rem;
            transition: all 0.2s ease;
            cursor: pointer;
        }
        .btn-outline:hover {
            border-color: var(--brand-400);
            color: var(--brand-600);
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
        }
        .btn-outline:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
        }
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            background: var(--brand-50);
            color: var(--brand-600);
            font-size: 0.75rem;
            font-weight: 500;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
        }
        .breadcrumb {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            font-size: 0.85rem;
            color: var(--text-muted);
            gap: 0.35rem;
        }
        .breadcrumb a {
            color: var(--text-sub);
            transition: color 0.2s;
        }
        .breadcrumb a:hover {
            color: var(--brand-600);
        }
        .article-content {
            font-size: 1.0625rem;
            line-height: 1.9;
            color: #334155;
        }
        .article-content h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1E293B;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        .article-content h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1E293B;
            margin-top: 2rem;
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }
        .article-content h4 {
            font-size: 1.125rem;
            font-weight: 600;
            color: #1E293B;
            margin-top: 1.75rem;
            margin-bottom: 0.5rem;
        }
        .article-content p {
            margin-bottom: 1.25rem;
        }
        .article-content a {
            color: var(--brand-600);
            border-bottom: 1px solid rgba(59, 130, 246, 0.3);
            transition: border-color 0.2s;
        }
        .article-content a:hover {
            border-bottom-color: var(--brand-600);
        }
        .article-content blockquote {
            border-left: 4px solid var(--brand-500);
            padding: 0.75rem 1.25rem;
            margin: 1.75rem 0;
            background: #F8FAFC;
            border-radius: 0 0.75rem 0.75rem 0;
            color: #475569;
            font-style: italic;
        }
        .article-content ul {
            list-style: disc;
            padding-left: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .article-content ol {
            list-style: decimal;
            padding-left: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .article-content li {
            margin-bottom: 0.4rem;
        }
        .article-content code {
            background: #F1F5F9;
            color: #BE185D;
            padding: 0.2rem 0.45rem;
            border-radius: 0.375rem;
            font-size: 0.875em;
            font-family: "SFMono-Regular", Consolas, "Roboto Mono", monospace;
        }
        .article-content pre {
            background: #1E293B;
            color: #E2E8F0;
            padding: 1.25rem;
            border-radius: 0.875rem;
            overflow-x: auto;
            margin: 1.75rem 0;
            line-height: 1.7;
        }
        .article-content pre code {
            background: transparent;
            color: inherit;
            padding: 0;
        }
        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.75rem 0;
            font-size: 0.95rem;
        }
        .article-content table th {
            background: #F8FAFC;
            font-weight: 600;
            text-align: left;
            border: 1px solid #E2E8F0;
            padding: 0.75rem 1rem;
            color: #1E293B;
        }
        .article-content table td {
            border: 1px solid #E2E8F0;
            padding: 0.75rem 1rem;
        }
        .article-content img {
            border-radius: 1rem;
            margin: 1.75rem 0;
            box-shadow: var(--shadow-card);
        }
        .article-content hr {
            border: none;
            border-top: 1px solid #E2E8F0;
            margin: 2rem 0;
        }
        .card-hover {
            transition: all 0.25s ease;
        }
        .card-hover:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }
        .empty-state {
            border: 2px dashed #CBD5E1;
            border-radius: 1rem;
            padding: 2.5rem 1.5rem;
            text-align: center;
            background: #fff;
        }
        .mobile-tab {
            height: 3.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 0.2rem;
            font-size: 0.65rem;
            color: #94A3B8;
            transition: color 0.2s;
        }
        .mobile-tab.active {
            color: var(--brand-600);
        }
        .mobile-tab svg {
            width: 1.3rem;
            height: 1.3rem;
        }
        @media (max-width: 767px) {
            body {
                padding-bottom: 3.5rem;
            }
            .article-content {
                font-size: 1rem;
                line-height: 1.8;
            }
            .article-content h2 {
                font-size: 1.3rem;
            }
            .article-content h3 {
                font-size: 1.15rem;
            }
        }
        @media (max-width: 640px) {
            .container-x {
                padding-left: 0.75rem;
                padding-right: 0.75rem;
            }
            .breadcrumb {
                font-size: 0.75rem;
            }
        }

/* roulang page: category1 */
:root {
            --brand-50: #EFF6FF;
            --brand-100: #DBEAFE;
            --brand-500: #3B82F6;
            --brand-600: #2563EB;
            --brand-700: #1D4ED8;
            --accent-600: #D97706;
            --bg-base: #F8FAFC;
            --bg-card: #FFFFFF;
            --text-primary: #1E293B;
            --text-secondary: #64748B;
            --border-color: #E2E8F0;
            --radius-card: 1rem;
            --radius-btn: 9999px;
            --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06);
            --shadow-hover: 0 12px 24px rgba(15, 23, 42, 0.09);
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg-base);
            color: var(--text-primary);
            line-height: 1.6;
        }

        .container-base {
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        @media (min-width: 768px) {
            .container-base {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
        }

        .hero-texture {
            background-image: radial-gradient(circle, rgba(37, 99, 235, 0.10) 1px, transparent 1px);
            background-size: 22px 22px;
        }

        .nav-link {
            position: relative;
            transition: color 0.2s ease;
        }

        .nav-link.active {
            color: var(--brand-600);
            font-weight: 600;
        }

        .nav-link.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -6px;
            height: 2px;
            border-radius: 2px;
            background-color: var(--brand-600);
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background-color: var(--brand-600);
            color: #fff;
            padding: 0.8rem 1.75rem;
            border-radius: var(--radius-btn);
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.2s ease;
            box-shadow: 0 1px 2px rgba(37, 99, 235, 0.3);
        }

        .btn-primary:hover {
            background-color: var(--brand-700);
            transform: translateY(-1px);
        }

        .btn-primary:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-500);
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background-color: #fff;
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 0.8rem 1.75rem;
            border-radius: var(--radius-btn);
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .btn-secondary:hover {
            border-color: var(--brand-500);
            color: var(--brand-600);
        }

        .btn-secondary:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-500);
        }

        .step-card {
            transition: all 0.3s ease;
        }

        .step-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }

        .feature-card {
            transition: all 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }

        .tip-card {
            transition: all 0.3s ease;
        }

        .tip-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }

        details.faq-item {
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            overflow: hidden;
            background: #fff;
            transition: box-shadow 0.2s ease;
        }

        details.faq-item summary {
            list-style: none;
            cursor: pointer;
            padding: 1.25rem 1.5rem;
            font-weight: 500;
            color: var(--text-primary);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            transition: background 0.2s ease;
        }

        details.faq-item summary::-webkit-details-marker {
            display: none;
        }

        details.faq-item summary:hover {
            background: #F8FAFC;
        }

        details.faq-item .faq-icon {
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        details[open].faq-item .faq-icon {
            transform: rotate(45deg);
        }

        .faq-answer {
            padding: 0 1.5rem 1.25rem;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.75;
        }

        .chip-link {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 9999px;
            padding: 0.5rem 1.25rem;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-primary);
            transition: all 0.2s ease;
        }

        .chip-link:hover {
            border-color: var(--brand-500);
            color: var(--brand-600);
            box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
        }

/* roulang page: category2 */
:root {
    --brand-50: #EFF6FF;
    --brand-100: #DBEAFE;
    --brand-500: #3B82F6;
    --brand-600: #2563EB;
    --brand-700: #1D4ED8;
    --bg-base: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --amber-600: #D97706;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 12px 28px -6px rgb(0 0 0 / 0.12);
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
  }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; }

  .dot-texture {
    background-image: radial-gradient(rgba(59, 130, 246, 0.12) 1px, transparent 1px);
    background-size: 26px 26px;
  }

  details.faq-item summary::-webkit-details-marker { display: none; }
  details.faq-item .faq-icon { transition: transform 0.3s ease; }
  details.faq-item[open] .faq-icon { transform: rotate(45deg); }
  details.faq-item[open] { background-color: #F8FAFC; }
  details.faq-item { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
  details.faq-item:hover { box-shadow: var(--shadow-md); }

  .hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .hover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  .anchor-nav a { transition: all 0.25s ease; }

  @media (max-width: 767px) {
    .hmobile-scroll {
      scrollbar-width: none;
    }
    .hmobile-scroll::-webkit-scrollbar { display: none; }
  }
