/**
 * 芋头CMS
 * ============================================================================
 * 版权所有 2016-2028 沅陵县乌托邦网络服务有限公司，并保留所有权利。
 * 网站地址: http://www.yutoucms.cn
 * ----------------------------------------------------------------------------
 * 如果商业用途务必到官方购买正版授权, 以免引起不必要的法律纠纷.
 * ============================================================================
 * Author: 芋头 <mxgsf@qq.com>
 * Date: 2026-5-20
 */
* {
    box-sizing: border-box;
}

:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #f9fbfe;
    --surface-dark: #0d2548;
    --surface-blue: #edf5ff;
    --text: #1f2d3d;
    --text-soft: #62748b;
    --text-light: rgba(255, 255, 255, 0.78);
    --line: #dfe8f3;
    --line-strong: #c7d6ea;
    --primary: #1989fa;
    --primary-dark: #0f68d1;
    --primary-deep: #123f7a;
    --accent: #00b7ff;
    --success: #0ea66b;
    --warning: #ef8e1b;
    --shadow: 0 16px 40px rgba(15, 43, 84, 0.08);
    --shadow-strong: 0 24px 52px rgba(16, 55, 107, 0.12);
    --radius-xl: 26px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(25, 137, 250, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(0, 183, 255, 0.08), transparent 24%),
        linear-gradient(180deg, #f9fbfe 0%, #f2f6fb 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

input,
button,
textarea {
    font: inherit;
}

.wrap {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.portal-topbar {
    background: linear-gradient(90deg, #f8fbff 0%, #eff6ff 100%);
    border-bottom: 1px solid #e6eef9;
    font-size: 13px;
    color: #44556d;
}

.portal-topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.portal-topbar-text {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.portal-topbar-text::before {
    content: "NEW";
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(25, 137, 250, 0.1);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.portal-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-topbar-actions a {
    color: var(--primary);
    font-weight: 700;
}

.portal-topbar-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #7b8aa3;
    cursor: pointer;
}

.portal-topbar-close:hover {
    background: rgba(25, 137, 250, 0.08);
    color: var(--primary);
}

.portal-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(223, 232, 243, 0.9);
    box-shadow: 0 6px 24px rgba(15, 43, 84, 0.04);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 0 0 auto;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #0f6de0 60%, #35b7ff 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(25, 137, 250, 0.24);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.brand-text strong {
    font-size: 19px;
    line-height: 1.1;
    color: #102846;
}

.brand-text em {
    font-style: normal;
    font-size: 12px;
    color: #7d8ea8;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 1 1 auto;
    min-width: 0;
}

.portal-nav a,
.nav-trigger {
    position: relative;
    color: #4a5e77;
    font-size: 15px;
    font-weight: 600;
    transition: color .2s ease;
}

.portal-nav a {
    padding: 8px 0;
}

.portal-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

.portal-nav a:hover,
.portal-nav a.is-active,
.footer-links a:hover,
.help-link:hover {
    color: var(--primary);
}

.portal-nav a:hover::after,
.portal-nav a.is-active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.btn {
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0f73eb 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(25, 137, 250, 0.24);
}

.btn-primary:hover {
    box-shadow: 0 16px 28px rgba(25, 137, 250, 0.28);
}

.btn-light {
    background: #fff;
    border-color: var(--line);
    color: var(--primary-deep);
}

.btn-light:hover {
    border-color: #bfd7f5;
    box-shadow: 0 10px 22px rgba(24, 72, 130, 0.08);
}

.btn-dark {
    background: linear-gradient(135deg, #11386d 0%, #0b2445 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(10, 35, 70, 0.18);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 56px 0 72px;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-section::before {
    width: 420px;
    height: 420px;
    right: -120px;
    top: -160px;
    background: radial-gradient(circle, rgba(25, 137, 250, 0.13) 0%, rgba(25, 137, 250, 0) 72%);
}

.hero-section::after {
    width: 260px;
    height: 260px;
    left: -60px;
    bottom: -110px;
    background: radial-gradient(circle, rgba(0, 183, 255, 0.12) 0%, rgba(0, 183, 255, 0) 72%);
}

.hero-grid,
.hero-actions,
.hero-metrics,
.feature-grid,
.pricing-grid,
.scene-grid,
.help-grid,
.notice-grid,
.updates-grid,
.query-grid,
.showcase-grid,
.showcase-strip-grid,
.brand-stats-grid,
.two-col-grid,
.news-listing,
.result-grid {
    display: grid;
}

.hero-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 28px;
    align-items: start;
}

.hero-grid-single {
    grid-template-columns: 1fr;
    max-width: 920px;
}

.hero-copy,
.hero-panel {
    min-width: 0;
}

.hero-copy-refined {
    max-width: 860px;
}

.eyebrow,
.section-tag,
.pill,
.card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow,
.section-tag,
.card-label {
    color: var(--primary);
}

.eyebrow::before,
.section-tag::before,
.card-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 0 5px rgba(25, 137, 250, 0.08);
}

.hero-copy h1 {
    margin: 18px 0 14px;
    font-size: clamp(36px, 4.6vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0b2546;
}

.hero-copy p,
.section-head p,
.feature-card p,
.help-card p,
.notice-card p,
.result-empty,
.query-tip,
.hero-card p,
.portal-footer p,
.faq-body,
.scene-card p,
.showcase-body p,
.news-row-body p,
.help-article-body {
    color: var(--text-soft);
    line-height: 1.9;
}

.hero-copy-refined p {
    max-width: 760px;
    font-size: 16px;
}

.hero-copy-note {
    margin-top: 16px;
    color: var(--primary-deep);
    font-size: 14px;
    font-weight: 600;
}

.hero-inline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 18px;
    color: var(--text-soft);
    font-size: 13px;
}

.hero-inline-meta a {
    color: var(--primary);
    font-weight: 700;
}

.hero-actions {
    grid-auto-flow: column;
    justify-content: start;
    gap: 12px;
    margin-top: 28px;
}

.hero-actions-refined {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: initial;
    max-width: 920px;
}

.hero-actions-refined .btn {
    min-height: 52px;
}

.hero-intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.intro-badge-card {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(212, 225, 243, 0.95);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 22px rgba(15, 43, 84, 0.05);
}

.intro-badge-card span {
    display: block;
    color: var(--text-soft);
    font-size: 12px;
    margin-bottom: 7px;
}

.intro-badge-card strong {
    display: block;
    font-size: 16px;
    line-height: 1.65;
    color: #123256;
}

.hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
    padding: 0;
}

.hero-metrics li {
    list-style: none;
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 225, 243, 0.95);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 24px rgba(15, 43, 84, 0.05);
}

.hero-metrics strong {
    display: block;
    margin-bottom: 6px;
    font-size: 28px;
    color: var(--primary-deep);
}

.hero-metrics span,
.mini-item span,
.package-meta em,
.notice-date,
.query-tip,
.help-link,
.price-card p,
.news-row-meta span,
.download-log-box span {
    color: var(--text-soft);
    font-size: 13px;
}

.hero-panel {
    display: grid;
    gap: 18px;
}

.trust-strip {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-strip span {
    min-height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(212, 225, 243, 0.95);
    color: #50647c;
    font-size: 13px;
    font-weight: 700;
}

.hero-card,
.feature-card,
.price-card,
.scene-card,
.help-card,
.notice-card,
.query-panel,
.result-panel,
.package-panel,
.compare-table-wrap,
.showcase-card,
.news-row-card,
.brand-stat-card,
.showcase-strip-card,
.brand-message-card,
.cta-banner,
.download-log-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(219, 232, 245, 0.96);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 28px;
}

.highlight-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 248, 255, 0.98) 100%);
}

.highlight-card h3 {
    margin: 16px 0 10px;
    font-size: 30px;
    line-height: 1.24;
    color: #102946;
}

.stack-card {
    display: grid;
    gap: 14px;
}

.mini-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.mini-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.mini-item strong,
.package-item strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    color: #13345a;
}

.section {
    padding: 34px 0 78px;
}

.section-soft {
    background: transparent;
}

.section-dark {
    background:
        radial-gradient(circle at top right, rgba(25, 137, 250, 0.18), transparent 24%),
        linear-gradient(135deg, #102848 0%, #0a1f39 100%);
    color: #fff;
}

.section-head {
    max-width: 820px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-head.left {
    margin-left: 0;
    text-align: left;
}

.section-head.light p,
.section-head.light .section-tag,
.section-dark .help-link,
.section-dark .faq-body,
.section-dark .help-card p {
    color: rgba(255, 255, 255, 0.76);
}

.section-head h2 {
    margin: 14px 0 10px;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.16;
    color: #0b2546;
}

.section-dark .section-head h2,
.section-dark .faq-item summary {
    color: #fff;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.scene-grid,
.showcase-grid,
.help-grid,
.notice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.showcase-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.brand-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.two-col-grid,
.updates-grid,
.query-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.feature-card,
.notice-card,
.help-card,
.scene-card,
.price-card,
.query-panel,
.result-panel,
.package-panel,
.showcase-card,
.news-row-card,
.brand-message-card,
.showcase-strip-card {
    padding: 26px;
}

.feature-card,
.scene-card,
.help-card,
.notice-card,
.showcase-card,
.showcase-strip-card,
.brand-message-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.scene-card::before,
.showcase-card::before,
.notice-card::before,
.brand-message-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity .18s ease;
}

.feature-card:hover::before,
.scene-card:hover::before,
.showcase-card:hover::before,
.notice-card:hover::before,
.brand-message-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(25, 137, 250, 0.14), rgba(0, 183, 255, 0.18));
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card h3,
.notice-card h3,
.help-card h3,
.package-panel h3,
.query-panel h3,
.result-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.35;
    color: #102946;
}

.scene-card h3,
.showcase-body h3,
.news-row-body h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.28;
    color: #102946;
}

.scene-card .btn {
    margin-top: 18px;
}

.scene-glow {
    display: none;
}

.brand-stat-card {
    padding: 24px;
}

.brand-stat-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 40px;
    line-height: 1;
    color: var(--primary);
}

.brand-stat-card span {
    display: block;
    color: var(--text-soft);
    font-size: 14px;
}

.showcase-strip-card {
    display: flex;
    align-items: stretch;
    gap: 18px;
}

.showcase-strip-card .showcase-preview {
    flex: 0 0 120px;
    min-height: 120px;
}

.showcase-preview {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(53, 183, 255, 0.24), transparent 38%),
        linear-gradient(135deg, #0f59c8 0%, #1989fa 58%, #45c1ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.showcase-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.showcase-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.showcase-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.showcase-top strong {
    color: var(--primary);
    font-size: 20px;
}

.showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.active-template-card {
    border-color: #9cc8ff;
    box-shadow: 0 20px 44px rgba(25, 137, 250, 0.14);
}

.notice-card {
    min-height: 238px;
}

.notice-date {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(25, 137, 250, 0.08);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 16px;
}

.pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(25, 137, 250, 0.1);
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.price-card {
    position: relative;
}

.price-card.featured {
    border-color: #9cc8ff;
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.price-card.featured::after {
    content: "推荐";
    position: absolute;
    top: 18px;
    right: 18px;
    min-height: 30px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #45b9ff);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.price-top h3 {
    margin: 18px 0 10px;
    font-size: 28px;
}

.price-value {
    margin-top: 16px;
    color: #0f5fce;
    font-size: 40px;
    font-weight: 700;
}

.price-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.price-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    line-height: 1.76;
    color: var(--text-soft);
}

.price-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.price-actions {
    margin-top: 24px;
}

.price-actions .btn {
    width: 100%;
}

.compare-table-wrap {
    overflow-x: auto;
    padding: 0;
}

.compare-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.compare-table .heading-row th {
    background: #f6faff;
    color: #0f4c95;
    font-size: 15px;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
    border-bottom: 0;
}

.cta-banner {
    padding: 34px 38px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 24%),
        linear-gradient(135deg, #0f63da 0%, #1989fa 58%, #4dc3ff 100%);
    color: #fff;
    box-shadow: 0 22px 44px rgba(25, 137, 250, 0.18);
}

.cta-banner h2,
.cta-banner p,
.cta-banner .section-tag {
    color: #fff;
}

.cta-banner p {
    max-width: 720px;
}

.cta-banner .section-tag::before {
    background: #fff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
}

.cta-banner-light {
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow);
}

.cta-banner-light h2,
.cta-banner-light p,
.cta-banner-light .section-tag {
    color: inherit;
}

.cta-banner-light .section-tag {
    color: var(--primary);
}

.cta-banner-light .section-tag::before {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 0 5px rgba(25, 137, 250, 0.08);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.updates-grid,
.query-grid {
    align-items: start;
}

.timeline-list {
    display: grid;
    gap: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px dashed var(--line);
}

.timeline-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dot {
    width: 12px;
    height: 12px;
    margin-top: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 0 5px rgba(25, 137, 250, 0.1);
}

.package-list {
    display: grid;
    gap: 14px;
}

.package-item {
    display: block;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--surface-soft);
    border: 1px solid #e4edf8;
}

.package-item:hover {
    border-color: #bad5f6;
    transform: translateY(-1px);
    transition: transform .18s ease, border-color .18s ease;
}

.package-item.empty {
    opacity: 0.82;
}

.package-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.package-meta b {
    color: var(--primary);
}

.download-log-box {
    margin-top: 16px;
    padding: 16px 18px;
    border-style: dashed;
    background: #f7fbff;
    box-shadow: none;
}

.download-log-box strong {
    display: block;
    margin-bottom: 8px;
    color: #123b6f;
}

.download-log-box p {
    margin: 0 0 8px;
}

.download-log-box span {
    display: block;
    line-height: 1.8;
}

.query-panel,
.result-panel,
.package-panel {
    min-height: 100%;
}

.query-form label {
    display: block;
    margin-bottom: 10px;
    color: #11325c;
    font-size: 15px;
    font-weight: 700;
}

.query-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.query-form input,
.help-search {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.query-form input:focus,
.help-search:focus {
    border-color: #8ec1ff;
    box-shadow: 0 0 0 4px rgba(25, 137, 250, 0.1);
}

.result-card h3 {
    margin-bottom: 16px;
}

.result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.result-item {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #e4edf8;
    background: #fbfdff;
}

.result-item span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: 13px;
}

.result-item strong {
    display: block;
    color: #11325c;
    line-height: 1.6;
    word-break: break-all;
}

.result-domains {
    margin-top: 18px;
}

.result-domains strong {
    display: block;
    margin-bottom: 12px;
    color: #11325c;
}

.domain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.domain-tags span {
    min-height: 34px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(25, 137, 250, 0.08);
    color: var(--primary-deep);
    font-size: 13px;
    font-weight: 700;
    word-break: break-all;
}

.result-empty,
.result-error {
    min-height: 120px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 1px dashed #cad9ec;
    background: #f9fbfe;
    text-align: center;
}

.result-error {
    min-height: auto;
    border-style: solid;
    border-color: #f5c9c9;
    background: #fff5f5;
    color: #be3a3a;
}

.help-toolbar {
    margin-bottom: 20px;
}

.help-grid {
    margin-top: 0;
}

.help-card.is-hidden {
    display: none;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--primary);
    font-weight: 700;
}

.help-link::after {
    content: "›";
    font-size: 18px;
    line-height: 1;
}

.faq-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.faq-item {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 18px 20px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-body {
    padding-top: 12px;
}

.help-article-body {
    color: #415268;
    font-size: 16px;
    line-height: 1.9;
}

.help-article-body h1,
.help-article-body h2,
.help-article-body h3,
.help-article-body h4 {
    margin: 28px 0 14px;
    color: #12335a;
    line-height: 1.35;
}

.help-article-body p,
.help-article-body ul,
.help-article-body ol,
.help-article-body table,
.help-article-body blockquote {
    margin: 0 0 16px;
}

.help-article-body ul,
.help-article-body ol {
    padding-left: 22px;
}

.help-article-body table {
    width: 100%;
    border-collapse: collapse;
}

.help-article-body table th,
.help-article-body table td {
    padding: 12px 14px;
    border: 1px solid var(--line);
}

.help-article-body blockquote {
    padding: 16px 18px;
    border-left: 4px solid var(--primary);
    background: #f7fbff;
    border-radius: 0 14px 14px 0;
}

.news-listing {
    gap: 18px;
}

.news-row-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.news-row-meta {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.news-row-meta strong {
    min-height: 32px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(14, 166, 107, 0.1);
    color: var(--success);
    font-size: 12px;
}

.news-row-body em {
    display: inline-block;
    margin-top: 12px;
    font-style: normal;
    color: #8da0b7;
    font-size: 13px;
}

.portal-footer {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid rgba(223, 232, 243, 0.92);
}

.footer-inner {
    padding: 30px 0 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.portal-footer strong {
    display: block;
    margin-bottom: 10px;
    color: #0f2746;
    font-size: 18px;
}

.portal-footer p {
    margin: 0;
    max-width: 720px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 14px;
    color: #7a8da7;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 24px;
    color: #50647c;
    font-size: 14px;
    font-weight: 600;
}

.nav-trigger {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.nav-trigger-lines {
    width: 18px;
    display: grid;
    gap: 4px;
}

.nav-trigger-lines span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: #12345c;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 22, 43, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 78;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 86vw);
    height: 100vh;
    padding: 24px;
    background: #fff;
    box-shadow: -20px 0 50px rgba(15, 43, 84, 0.18);
    transform: translateX(100%);
    transition: transform .22s ease;
    z-index: 79;
    overflow-y: auto;
}

.mobile-nav-panel .brand {
    margin-bottom: 22px;
}

.mobile-nav-panel .portal-nav,
.mobile-actions {
    display: grid;
    gap: 12px;
}

.mobile-nav-panel .portal-nav a {
    padding: 10px 0;
    border-bottom: 1px solid #edf3fb;
}

.mobile-nav-panel .portal-nav a::after {
    display: none;
}

.mobile-actions {
    margin-top: 20px;
}

body.mobile-nav-open {
    overflow: hidden;
}

body.mobile-nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
}

body.mobile-nav-open .mobile-nav-panel {
    transform: translateX(0);
}

@media screen and (max-width: 1200px) {
    .feature-grid,
    .brand-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-strip-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions-refined {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 1024px) {
    .header-inner {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .portal-nav {
        order: 3;
        flex: 1 0 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px 18px;
        padding-top: 8px;
    }

    .header-actions {
        margin-left: auto;
    }

    .portal-js .header-inner {
        min-height: 82px;
        padding: 0;
        align-items: center;
        flex-wrap: nowrap;
    }

    .portal-js .portal-nav,
    .portal-js .header-actions {
        display: none;
    }

    .portal-js .nav-trigger {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .hero-grid,
    .hero-grid-single,
    .updates-grid,
    .query-grid,
    .two-col-grid,
    .cta-banner,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .pricing-grid,
    .scene-grid,
    .showcase-grid,
    .help-grid,
    .notice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-actions,
    .footer-links {
        justify-content: flex-start;
    }

    .news-row-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-row-meta {
        grid-auto-flow: column;
        justify-content: start;
        align-items: center;
    }
}

@media screen and (max-width: 767px) {
    .wrap {
        width: min(100%, calc(100% - 24px));
    }

    .portal-topbar-inner {
        min-height: auto;
        padding: 10px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        font-size: 21px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .hero-section {
        padding: 42px 0 58px;
    }

    .portal-nav {
        gap: 10px 16px;
    }

    .portal-nav a {
        font-size: 14px;
    }

    .header-actions {
        width: 100%;
        margin-left: 0;
        padding-top: 4px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .header-actions .btn {
        min-height: 40px;
        padding: 0 16px;
    }

    .portal-js .header-actions {
        display: none;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .hero-actions,
    .hero-actions-refined,
    .query-row,
    .feature-grid,
    .pricing-grid,
    .scene-grid,
    .showcase-grid,
    .help-grid,
    .notice-grid,
    .brand-stats-grid,
    .result-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        grid-auto-flow: initial;
    }

    .hero-intro-grid,
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .feature-card,
    .price-card,
    .scene-card,
    .help-card,
    .notice-card,
    .query-panel,
    .result-panel,
    .package-panel,
    .showcase-card,
    .news-row-card,
    .brand-message-card,
    .showcase-strip-card {
        padding: 20px;
    }

    .showcase-strip-card {
        flex-direction: column;
    }

    .showcase-strip-card .showcase-preview {
        flex-basis: auto;
    }

    .cta-banner {
        padding: 24px;
    }

    .help-article-body {
        font-size: 15px;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 14px;
    }
}
