:root {
    --red: #0055c2;
    --red-dark: #0047a8;
    --red-deep: #003a8c;
    --red-soft: #edf6ff;
    --gold: #3d8fd9;
    --teal: #007ad8;
    --brand: #0055c2;
    --text: #222;
    --text-2: #555;
    --text-3: #888;
    --line: #e4eef7;
    --bg: #f3f7fb;
    --white: #fff;
    --shadow: 0 8px 24px rgba(15, 55, 110, 0.06);
    --w: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

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

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

button,
input {
    font-family: inherit;
}

.wrap {
    width: var(--w);
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

/* ========== 顶栏 ========== */
.topbar {
    background: #eaf3fb;
    border-bottom: 1px solid #d7e6f4;
    color: #5a7188;
    font-size: 12px;
    height: 36px;
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-links a:hover {
    color: var(--red);
}

.topbar-links span {
    color: #ddd;
}

/* ========== 头部 ========== */
.header {
    background: var(--white);
}

.header .wrap {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 112px;
    padding: 16px 0;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    flex: 0 1 auto;
    min-width: 0;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    flex: 0 0 96px;
}

.brand-logo {
    width: 96px;
    height: 60px;
    object-fit: contain;
}

.brand-text {
    min-width: 0;
}

.brand-name {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.15;
    color: #000;
    white-space: nowrap;
}

.brand-en {
    margin-top: 6px;
    color: #000;
    font-size: 11px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.search-box {
    width: 380px;
    flex: 0 1 380px;
    min-width: 200px;
    margin-left: auto;
}

.header-decor {
    width: 220px;
    flex: 0 0 220px;
}

.header-decor img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    object-position: center 78%;
    opacity: 0.72;
    filter: grayscale(20%) hue-rotate(175deg) saturate(0.75);
}

.search {
    display: flex;
    align-items: stretch;
    height: 40px;
    border: 1px solid var(--red);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.search input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 18px;
    font-size: 13px;
}

.search button {
    width: 88px;
    border: 0;
    background: var(--red);
    color: #fff;
    font-size: 15px;
    letter-spacing: 2px;
    cursor: pointer;
}

.search:focus-within {
    border-color: var(--red);
}

.hot-search {
    margin-top: 8px;
    padding-left: 6px;
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

.hot-search a {
    margin-right: 8px;
    color: #888;
}

.hot-search a:hover {
    color: var(--red);
}

/* ========== 导航 ========== */
.nav {
    background: var(--red);
    position: relative;
    z-index: 20;
}

.nav-list {
    display: flex;
    list-style: none;
    height: 56px;
}

.nav-item {
    flex: 1;
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
}

.nav-item > a svg,
.nav-item > a img.icon-flag {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.nav-item > a img.icon-flag {
    filter: brightness(0) invert(1);
}

.nav-item:hover > a,
.nav-item.is-active > a {
    background: #0047a8;
}

.nav-item.is-active > a {
    box-shadow: inset 0 -3px 0 #fff;
}

.dropdown {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border-radius: 0 0 6px 6px;
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 8px 16px;
    color: #444;
    text-align: center;
    font-size: 13px;
}

.dropdown a:hover {
    color: var(--red);
    background: #edf6ff;
}

.nav-toggle,
.nav-mask,
.nav-drawer-head,
.nav-more {
    display: none;
}

/* ========== 通用区块 ========== */
.section {
    background: #fff;
}

.section-inner {
    padding: 36px 0 8px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.section-title {
    position: relative;
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 10px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.more {
    color: #999;
    font-size: 13px;
}

.more:hover {
    color: var(--red);
}

/* ========== 首屏 ========== */
.hero {
    padding-top: 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.hero-slider {
    position: relative;
    height: 318px;
}

.hero-viewport {
    height: 318px;
    border-radius: 6px;
    overflow: hidden;
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s ease;
}

.hero-banner {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 318px;
    overflow: hidden;
    background: #003a8c center/cover no-repeat;
}

.hero-banner img {
    width: 100%;
    height: 318px;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.55s ease;
}

.hero-slider:hover .hero-banner img {
    transform: scale(1.08);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.hero-arrow:hover {
    background: rgba(0, 85, 194, 0.85);
}

.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }

.hero-dots {
    position: absolute;
    left: auto;
    right: 16px;
    bottom: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    z-index: 3;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: #fff;
}

.hero-banner-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 50, 120, 0.12) 0%, rgba(0, 35, 90, 0.32) 55%, rgba(0, 20, 55, 0.52) 100%);
}

.hero-banner-copy {
    position: absolute;
    left: 36px;
    right: 36px;
    top: 50%;
    transform: translateY(-58%);
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-banner-copy .kicker {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 4px;
}

.hero-banner-copy h2 {
    margin: 8px 0 14px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.25;
}

.hero-banner-copy p {
    font-size: 16px;
    letter-spacing: 4px;
    opacity: 0.95;
}

.hero-banner-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 88px 0 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15));
    z-index: 2;
}

.hero-banner.is-db .hero-banner-mask {
    background: linear-gradient(180deg, transparent 58%, rgba(0, 20, 55, 0.35) 100%);
}

/* ========== 新闻列表 ========== */
.news-panel {
    height: 318px;
    overflow: hidden;
}

.tabs {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d7e6f4;
}

.tabs button {
    position: relative;
    height: 42px;
    padding: 0 4px;
    margin-right: 22px;
    border: 0;
    background: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
}

.tabs button.is-active {
    color: var(--red);
    font-weight: 700;
}

.tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--red);
}

.tabs .more {
    margin-left: auto;
}

.news-list {
    list-style: none;
    padding-top: 8px;
}

.news-list li a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    box-shadow: inset 0 -1px 0 #e6eef6;
}

.news-list li a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}

.news-list li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
    pointer-events: none;
}

.news-list li a:hover::after {
    transform: scaleX(1);
}

.news-list .ttl {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #333;
}

.news-list .date {
    color: #aaa;
    font-size: 13px;
    flex-shrink: 0;
}

.news-list li a:hover .ttl {
    color: var(--red);
}

.tab-pane {
    display: none;
}

.tab-pane.is-active {
    display: block;
}

/* ========== 快捷入口 ========== */
.section-quick {
    padding: 42px 0 36px;
    background: #fff;
}

.quick {
    padding: 0;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d7e6f4;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(20, 20, 20, 0.03);
    overflow: hidden;
}

.quick-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    list-style: none;
}

.quick-item {
    position: relative;
}

.quick-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 50%;
    transform: translateY(-50%);
    background: #eee;
}

.quick-item a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 128px;
    padding: 22px 8px 20px;
    color: #333;
    font-size: 15px;
}

.quick-item:nth-child(6) .quick-ico { animation: quick-icon-lit 7s 0s ease-in-out infinite; }
.quick-item:nth-child(5) .quick-ico { animation: quick-icon-lit 7s 0.5s ease-in-out infinite; }
.quick-item:nth-child(4) .quick-ico { animation: quick-icon-lit 7s 1s ease-in-out infinite; }
.quick-item:nth-child(3) .quick-ico { animation: quick-icon-lit 7s 1.5s ease-in-out infinite; }
.quick-item:nth-child(2) .quick-ico { animation: quick-icon-lit 7s 2s ease-in-out infinite; }
.quick-item:nth-child(1) .quick-ico { animation: quick-icon-lit 7s 2.5s ease-in-out infinite; }

@keyframes quick-icon-lit {
    0%, 100% {
        transform: scale(1);
        background: transparent;
        box-shadow: 0 0 0 0 rgba(0, 85, 194, 0);
    }
    8% {
        transform: scale(1.12);
        background: rgba(0, 85, 194, 0.12);
        box-shadow: 0 0 0 6px rgba(0, 85, 194, 0.18);
    }
    18%, 99.9% {
        transform: scale(1);
        background: transparent;
        box-shadow: 0 0 0 0 rgba(0, 85, 194, 0);
    }
}

.quick-ico {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    border-radius: 10px;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.quick-item a:hover {
    background: #f3f8ff;
}

.quick-item a:hover .quick-ico {
    transform: translateY(-3px);
}

.quick-ico svg,
.quick-ico img {
    display: block;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
}

.quick-ico img {
    width: 30px;
    height: 30px;
    filter: hue-rotate(215deg) saturate(1.15);
}

.quick-ico img.icon-party {
    width: 36px;
    height: 36px;
}

/* ========== 会员风采 ========== */
.members {
    padding: 10px 0 24px;
}

.members-head,
.links-head {
    position: relative;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.members-head::before,
.members-head::after,
.links-head::before,
.links-head::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #8bb8e8;
    pointer-events: none;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.members-head::before,
.links-head::before {
    transform-origin: left center;
}

.members-head::after,
.links-head::after {
    transform-origin: right center;
}

.members:hover .members-head::before,
.members:hover .members-head::after,
.links:hover .links-head::before,
.links:hover .links-head::after {
    transform: scaleX(1);
}

.members-title {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    padding: 0;
}

.members-title span {
    position: relative;
    display: inline-block;
    padding: 0 18px;
}

.members-title span::before,
.members-title span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    transform: translateY(-50%);
}

.members-title span::before {
    left: 0;
}

.members-title span::after {
    right: 0;
}

.members-empty {
    height: 264px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8aa0b5;
    font-size: 14px;
}

.member-slider {
    --member-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --member-dur: 0.72s;
    position: relative;
    height: 264px;
}

.member-track-wrap {
    overflow: hidden;
    height: 264px;
    padding: 0 10px;
    box-sizing: border-box;
}

.member-track {
    display: flex;
    align-items: flex-end;
    height: 100%;
    gap: 20px;
    padding-bottom: 12px;
    will-change: transform;
}

.member-card {
    flex: 0 0 calc((100% - 80px) / 5);
    background: transparent;
    text-align: center;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.member-card .pic {
    position: relative;
    height: 118px;
    border-radius: 6px;
    overflow: visible;
    background: #eee;
    border: 1px solid #c5daf5;
    transform-origin: center bottom;
    transition:
        height var(--member-dur) var(--member-ease),
        box-shadow var(--member-dur) var(--member-ease),
        border-color var(--member-dur) var(--member-ease),
        border-radius var(--member-dur) var(--member-ease);
}

.member-card .pic::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow:
        0 0 0 1px #b7d6f5,
        0 0 4px 1px rgba(126, 180, 234, 0.35);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    offset-path: inset(-0.5px round 8px);
    offset-anchor: center;
    offset-rotate: 0deg;
    transition: opacity 0.35s var(--member-ease);
}

.member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.04);
    border-radius: inherit;
    clip-path: inset(0 round 6px);
    transition: clip-path var(--member-dur) var(--member-ease);
}

.member-card p {
    position: relative;
    padding: 12px 6px 0;
    text-align: center;
    color: #333;
    font-size: 13px;
    line-height: 1.45;
    transition:
        font-size var(--member-dur) var(--member-ease),
        padding var(--member-dur) var(--member-ease);
}

.member-card p::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin: 10px auto 0;
    background: var(--red);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 0.45s var(--member-ease), transform 0.45s var(--member-ease);
}

.member-card.is-center {
    position: relative;
    z-index: 2;
}

.member-card.is-center .pic {
    height: 196px;
    border-radius: 8px;
    border-color: #7eb4ea;
    box-shadow: 0 10px 28px rgba(20, 20, 20, 0.12);
}

.member-card.is-center img {
    clip-path: inset(0 round 8px);
}

.member-card.is-center .pic::after {
    opacity: 1;
    animation: member-spark 3.2s linear infinite;
}

@keyframes member-spark {
    to {
        offset-distance: 100%;
    }
}

.member-card.is-center p {
    padding-top: 16px;
    font-size: 16px;
    font-weight: 700;
}

.member-card.is-center p::after {
    opacity: 1;
    transform: scaleX(1);
}

.slider-btn {
    position: absolute;
    top: 46%;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: #666;
    cursor: pointer;
    z-index: 3;
    transform: translateY(-50%);
}

.slider-btn.prev { left: -8px; }
.slider-btn.next { right: -8px; }

.slider-dots {
    display: none;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}

.slider-dots button.is-active {
    background: var(--red);
}

/* ========== 中部三栏 ========== */
.mid-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 0.55fr);
    gap: 28px;
    padding: 10px 0 36px;
}

.mid-grid > * {
    min-width: 0;
}

.mid-grid > .js-tabs {
    overflow: hidden;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.feature-card {
    position: relative;
    height: 132px;
    border-radius: 6px;
    overflow: hidden;
    color: #fff;
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.55s ease;
}

.feature-card:hover img {
    transform: scale(1.08);
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.45));
}

.feature-card span,
.feature-card strong {
    position: absolute;
    left: 16px;
    z-index: 1;
}

.feature-card strong {
    bottom: 12px;
    right: 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.feature-card span {
    bottom: 12px;
    font-size: 12px;
    opacity: 0.9;
}

.side-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 66px;
    border: 1px solid #c5daf5;
    border-radius: 4px;
    color: var(--red);
    font-size: 16px;
    background: #fff;
}

.side-links a svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.side-links a:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* ========== 友情链接 ========== */
.links {
    padding-bottom: 36px;
}

.links-head {
    margin-bottom: 28px;
}

.link-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.link-tabs button {
    height: 42px;
    padding: 0 8px;
    border: 1px solid #e6e6e6;
    background: #f5f5f5;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    border-radius: 2px;
}

.link-tabs button.is-active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    font-weight: 700;
}

.link-cloud {
    display: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.link-cloud.is-active {
    display: grid;
}

.link-cloud a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #555;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
}

.link-cloud a:hover {
    color: var(--red);
    border-color: #c5daf5;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--red);
    color: #fff;
    padding: 36px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) auto minmax(200px, 0.9fr);
    gap: 32px 72px;
    align-items: start;
    padding-bottom: 32px;
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-info p {
    max-width: 34em;
}

.footer p,
.footer li {
    font-size: 13px;
    line-height: 1.9;
    opacity: 0.95;
}

.footer ul {
    list-style: none;
}

.qr-box {
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

.qr-item {
    text-align: center;
}

.qr {
    width: 108px;
    height: 108px;
    background: #fff;
    border-radius: 4px;
    padding: 7px;
    margin: 0 auto 10px;
}

.qr svg,
.qr img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.qr-item span {
    font-size: 13px;
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
    padding: 14px 0 18px;
    font-size: 12px;
    opacity: 0.85;
}

/* ========== 弹层 ========== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal.is-open {
    display: flex;
}

.modal-card {
    width: 420px;
    background: #fff;
    border-radius: 8px;
    padding: 28px 28px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-card h3 {
    font-size: 20px;
    margin-bottom: 18px;
}

.modal-card label {
    display: block;
    margin-bottom: 12px;
    color: #666;
    font-size: 13px;
}

.modal-card input {
    width: 100%;
    height: 40px;
    margin-top: 6px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 0 12px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.btn {
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.btn-ghost {
    background: #f3f3f3;
    color: #555;
}

.btn-red {
    background: var(--red);
    color: #fff;
}

.toast {
    position: fixed;
    left: 50%;
    top: 24px;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    padding: 10px 18px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 200;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
    .header-decor {
        display: none;
    }

    .hero-grid,
    .mid-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .link-tabs,
    .link-cloud.is-active {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .member-slider,
    .member-track-wrap {
        height: 236px;
    }

    .member-card {
        flex-basis: calc((100% - 40px) / 3);
    }

    .member-card .pic {
        height: 110px;
    }

    .member-card.is-center .pic {
        height: 168px;
    }

    .quick-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .quick-item:nth-child(3n)::after {
        display: none;
    }

    .quick-item:nth-child(-n + 3)::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 50%;
        height: 1px;
        transform: translateX(-50%);
        background: #eee;
    }
}

@media (max-width: 720px) {
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    .brand-en {
        display: none;
    }

    .topbar {
        height: auto;
        padding: 8px 0;
        line-height: 1.45;
    }

    .topbar .wrap {
        height: auto;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .header .wrap {
        min-height: 0;
        height: auto;
        padding: 10px 0 12px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand-mark {
        width: 64px;
        flex-basis: 64px;
    }

    .brand-logo {
        width: 64px;
        height: 40px;
    }

    .brand-name {
        font-size: 17px;
        letter-spacing: 0;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 0 auto;
        background: var(--red);
        border-radius: 1px;
    }

    .search-box,
    .search {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }

    .hot-search {
        white-space: normal;
        line-height: 1.7;
    }

    .header-decor {
        display: none;
    }

    .nav-mask {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 70;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .nav-mask {
        display: block;
    }

    .nav {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 82%;
        max-width: 320px;
        height: 100%;
        background: #fff;
        z-index: 80;
        transform: translateX(-105%);
        transition: transform 0.28s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.nav-open .nav {
        transform: translateX(0);
        box-shadow: 8px 0 28px rgba(0, 0, 0, 0.18);
    }

    .nav-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 52px;
        padding: 0 8px 0 20px;
        background: var(--red);
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .nav-close {
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
    }

    .nav .wrap {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .nav-item > a svg,
    .nav-item > a img.icon-flag {
        display: none;
    }

    .nav-list {
        display: block;
        height: auto;
        overflow: visible;
    }

    .nav-item {
        flex: none;
        width: 100%;
        border-bottom: 1px solid #edf2f7;
    }

    .nav-item > a {
        justify-content: flex-start;
        height: 48px;
        padding: 0 48px 0 20px;
        color: #222;
        font-size: 16px;
        letter-spacing: 0;
    }

    .nav-item:hover > a,
    .nav-item.is-active > a {
        background: #edf6ff;
        color: var(--red);
        box-shadow: none;
    }

    .nav-item:hover .dropdown {
        display: none;
    }

    .nav-item.is-expanded .dropdown {
        display: block;
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #f6f9fc;
        padding: 4px 0 8px;
    }

    .dropdown a {
        text-align: left;
        padding: 8px 20px 8px 36px;
        color: #555;
    }

    .nav-more {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 48px;
        height: 48px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .nav-more::before {
        content: "";
        display: block;
        width: 8px;
        height: 8px;
        margin: 16px auto 0;
        border-right: 2px solid #8899aa;
        border-bottom: 2px solid #8899aa;
        transform: rotate(45deg);
    }

    .nav-item.is-expanded .nav-more::before {
        margin-top: 20px;
        transform: rotate(-135deg);
    }

    .quick-list,
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quick-item:nth-child(3n)::after {
        display: block;
    }

    .quick-item:nth-child(2n)::after {
        display: none;
    }

    .quick-item:nth-child(-n + 3)::before {
        display: none;
    }

    .quick-item:nth-child(-n + 4)::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 50%;
        height: 1px;
        transform: translateX(-50%);
        background: #eee;
    }

    .member-slider,
    .member-track-wrap {
        height: 248px;
    }

    .member-card {
        flex-basis: calc(100% - 20px);
    }

    .member-card .pic,
    .member-card.is-center .pic {
        height: 180px;
    }

    .hero-banner-copy h2 {
        font-size: 24px;
    }

    .link-tabs,
    .link-cloud.is-active {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inner-grid > .subnav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow: hidden;
    }

    .inner-grid > .subnav h2 {
        grid-column: 1 / -1;
        width: auto;
    }

    .inner-grid > .subnav a {
        flex: none;
        width: auto;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 10px 6px;
        font-size: 14px;
        border-top: 1px solid #edf4fb;
        border-left: 1px solid #edf4fb;
        writing-mode: horizontal-tb;
    }

    .inner-grid > .subnav a:nth-of-type(-n + 2) {
        border-top: 0;
    }

    .inner-grid > .subnav a:nth-of-type(odd) {
        border-left: 0;
    }

    .inner-grid > .subnav a:last-of-type:nth-of-type(odd) {
        grid-column: 1 / -1;
    }

    .inner-grid > .subnav a.is-current {
        box-shadow: inset 0 -3px 0 var(--red);
    }

    .list-head .en {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-item .quick-ico {
        animation: none;
    }

    .feature-card img,
    .feature-card:hover img,
    .hero-banner img,
    .hero-slider:hover .hero-banner img {
        transition: none;
        transform: none;
    }

    .news-list li a::after {
        transition: none;
    }

    .member-card.is-center .pic::after {
        animation: none;
        opacity: 0;
    }
}
