/* ===================================
   GACL 2027 — Public Front Style
   匹配设计图统一视觉
   =================================== */

:root {
    --gacl-blue:        #0066ff;
    --gacl-blue-deep:   #0044cc;
    --gacl-blue-dark:   #001155;
    --gacl-blue-light:  #eaf3ff;
    --gacl-text:        #333333;
    --gacl-text-light:  #666666;
    --gacl-muted:       #999999;
    --gacl-border:      #e0e0e0;
    --gacl-border-foc:  #0066ff;
    --gacl-danger:      #e60012;
    --gacl-gold:        #ffcc00;
}

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

html, body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--gacl-text);
    background: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

body { padding-bottom: 0; }

/* ===================================
   蓝色科技感 Banner（4 张设计图共用）
   =================================== */
.gacl-banner {
    position: relative;
    width: 100%;
    min-height: 260px;
    background:
        linear-gradient(100deg, rgba(0, 17, 68, 0.95) 0%, rgba(0, 34, 102, 0.85) 42%, rgba(0, 51, 153, 0.45) 100%),
        url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=modern%20data%20center%20with%20blue%20liquid%20cooling%20server%20racks%20and%20network%20cables%2C%20dark%20blue%20technological%20atmosphere%2C%20wide%20angle%2C%20photorealistic&image_size=landscape_16_9') center / cover no-repeat;
    overflow: hidden;
    color: #ffffff;
}

/* 科技感：斜切 + 光斑 + 细网格 */
.banner-bg {
    position: absolute; inset: 0;
    background:
        /* 右上斜切暗面 */
        linear-gradient(135deg, transparent 55%, rgba(0,0,0,0.35) 55%),
        /* 右下亮光斑 */
        radial-gradient(ellipse 60% 50% at 85% 90%, rgba(0,150,255,0.5) 0%, transparent 60%),
        /* 左上光斑 */
        radial-gradient(ellipse 40% 40% at 10% 20%, rgba(100,200,255,0.3) 0%, transparent 60%);
    pointer-events: none;
}

/* 细网格叠层 */
.banner-bg::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.banner-content { position: relative; z-index: 2; }
.banner-inner   { padding: 30px 40px 40px; max-width: 1100px; margin: 0 auto; }

/* GACL Logo */
.gacl-logo {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    backdrop-filter: blur(6px);
}
.logo-main {
    font-family: "Impact", "Arial Black", sans-serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(100,200,255,0.6);
    margin-right: 10px;
}
.logo-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    letter-spacing: 1px;
}

/* 展会主标题 */
.banner-main-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
    color: #ffffff;
}
.banner-title-cn {
    font-size: 26px;
    font-weight: 600;
    opacity: 0.92;
}
.banner-title-cn-big {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* 英文副标题 */
.banner-sub {
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* 日期地点 */
.banner-date-cn {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

/* Slogan */
.banner-slogan {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}
.slogan-item { letter-spacing: 4px; }
.slogan-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gacl-gold);
    box-shadow: 0 0 10px var(--gacl-gold);
}

/* 斜切底边 */
.gacl-banner::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 28px;
    background: #ffffff;
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
    z-index: 3;
}

/* ===================================
   主内容区
   =================================== */
.gacl-main {
    background: #ffffff;
    padding-bottom: 60px;
    min-height: 300px;
}

/* ===================================
   首页：三种登记入口
   =================================== */
.home-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px 30px;
}

.home-section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--gacl-text);
    margin: 0 auto 40px;
    padding-bottom: 16px;
    position: relative;
    line-height: 1.3;
}

/* 标题下方蓝色短横线 */
.home-section-title::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    width: 56px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gacl-blue), var(--gacl-blue-deep));
    transform: translateX(-50%);
}

/* 标题英文副标 */
.title-en {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gacl-muted);
    margin-top: 6px;
}

.home-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.home-card {
    border: 1px solid var(--gacl-border);
    border-radius: 10px;
    padding: 36px 28px;
    text-align: center;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.home-card:hover {
    border-color: var(--gacl-blue);
    box-shadow: 0 8px 24px rgba(0,102,255,0.15);
    transform: translateY(-4px);
}
.home-card-icon {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: var(--gacl-blue-light);
    color: var(--gacl-blue);
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
}
.home-card-icon svg {
    width: 34px; height: 34px;
}
.home-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gacl-text);
    margin-bottom: 10px;
}
.home-card-desc {
    font-size: 14px;
    color: var(--gacl-text-light);
    margin-bottom: 22px;
    line-height: 1.7;
}
.home-card-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--gacl-blue);
    color: #fff !important;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}
.home-card-btn:hover { background: var(--gacl-blue-deep); }

/* 展会数据 */
.home-stats {
    margin-top: 70px;
    background: #f7faff;
    border-radius: 10px;
    padding: 36px 20px;
}
.home-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.home-stats-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--gacl-blue);
    margin-bottom: 6px;
}
.home-stats-label {
    font-size: 14px;
    color: var(--gacl-text-light);
}

/* ===================================
   表单公共样式
   =================================== */
.form-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}
.form-page-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--gacl-text);
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gacl-border);
}
.form-page-title-small {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--gacl-text);
    margin-bottom: 28px;
}

/* 行布局：单列 or 两列 */
.form-row { margin-bottom: 22px; }
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 22px;
}

/* 标签 */
.form-field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gacl-text);
    margin-bottom: 8px;
}
.form-field-label .required-mark {
    color: var(--gacl-danger);
    font-weight: 700;
    margin-right: 4px;
}

/* 输入框 / 选择框 */
.gacl-input,
.gacl-select,
.gacl-textarea {
    width: 100%;
    border: 1px solid var(--gacl-border);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--gacl-text);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}
.gacl-input:focus,
.gacl-select:focus,
.gacl-textarea:focus {
    outline: none;
    border-color: var(--gacl-blue-foc, var(--gacl-blue));
    box-shadow: 0 0 0 3px rgba(0,102,255,0.12);
}
.gacl-input::placeholder,
.gacl-textarea::placeholder {
    color: var(--gacl-muted);
}

/* 下拉箭头美化 */
.gacl-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

/* 文本域 */
.gacl-textarea {
    min-height: 90px;
    resize: vertical;
}

/* 错误提示 */
.gacl-field-error {
    display: none;
    font-size: 12px;
    color: var(--gacl-danger);
    margin-top: 4px;
}
.gacl-field.has-error .gacl-input,
.gacl-field.has-error .gacl-select,
.gacl-field.has-error .gacl-textarea {
    border-color: var(--gacl-danger);
}
.gacl-field.has-error .gacl-field-error { display: block; }

/* ===================================
   单选（Radio）
   =================================== */
.gacl-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}
.gacl-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gacl-text);
    padding: 4px 0;
}
.gacl-radio input[type="radio"] {
    appearance: none;
    width: 16px; height: 16px;
    border: 1.5px solid #bbb;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}
.gacl-radio input[type="radio"]:checked {
    border-color: var(--gacl-blue);
    background: #ffffff;
}
.gacl-radio input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    background: var(--gacl-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* ===================================
   多选（Checkbox）
   =================================== */
.gacl-check-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}
.gacl-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gacl-text);
    padding: 4px 0;
}
.gacl-check input[type="checkbox"] {
    appearance: none;
    width: 16px; height: 16px;
    border: 1.5px solid #bbb;
    border-radius: 3px;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
}
.gacl-check input[type="checkbox"]:checked {
    background: var(--gacl-blue);
    border-color: var(--gacl-blue);
}
.gacl-check input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px; left: 5px;
    width: 4px; height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ===================================
   表单按钮区 + 底部隐私声明
   =================================== */
.form-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 18px;
}
.btn-gacl-primary {
    background: var(--gacl-blue);
    color: #ffffff;
    border: none;
    border-radius: 22px;
    padding: 11px 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    min-width: 140px;
}
.btn-gacl-primary:hover { background: var(--gacl-blue-deep); }
.btn-gacl-primary:disabled {
    background: #999;
    cursor: not-allowed;
}

.btn-gacl-reset {
    background: #f0f0f0;
    color: var(--gacl-text-light);
    border: none;
    border-radius: 22px;
    padding: 11px 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    min-width: 140px;
}
.btn-gacl-reset:hover { background: #e0e0e0; }

/* 底部隐私声明 */
.form-bottom-note {
    margin-top: 28px;
    text-align: center;
    font-size: 12px;
    color: var(--gacl-muted);
}
.form-bottom-note a {
    color: var(--gacl-blue);
    text-decoration: none;
}
.form-bottom-note a:hover { text-decoration: underline; }

/* ===================================
   参展注意事项（参展商表单下方）
   =================================== */
.exh-notice {
    margin-top: 40px;
    background: #fffbe6;
    border: 1px solid #ffe8a3;
    border-radius: 8px;
    padding: 18px 22px;
}
.exh-notice-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #8a6d3b;
    margin-bottom: 14px;
}
.exh-notice-title .notice-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #faad14;
    color: #ffffff;
    font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.exh-notice-list {
    background: #ffffff;
    border-radius: 6px;
    padding: 16px 18px;
}
.exh-notice-item {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--gacl-text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}
.exh-notice-item:last-child { margin-bottom: 0; }
.exh-notice-num {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--gacl-danger);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===================================
   短信验证码按钮（登录第一步）
   =================================== */
.btn-code {
    background: #ffffff;
    border: 1px solid var(--gacl-blue);
    color: var(--gacl-blue);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.btn-code:hover { background: var(--gacl-blue-light); }
.btn-code:disabled {
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
}

/* ===================================
   成功页
   =================================== */
.success-wrap {
    text-align: center;
    padding: 60px 20px 30px;
    max-width: 520px;
    margin: 0 auto;
}
.success-icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e6f7ec;
    color: #12b886;
    font-size: 42px;
    display: flex; align-items: center; justify-content: center;
}
.success-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gacl-text);
    margin-bottom: 10px;
}
.success-msg {
    font-size: 14px;
    color: var(--gacl-text-light);
    margin-bottom: 28px;
}
.success-card {
    background: #f8fbff;
    border: 1px solid #d0e3ff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}
.success-label {
    font-size: 12px;
    color: var(--gacl-text-light);
    margin-bottom: 6px;
}
.success-reg-no {
    font-size: 22px;
    font-weight: 700;
    color: var(--gacl-blue);
    letter-spacing: 2px;
}
.success-qr-wrap {
    margin-top: 18px;
}

/* ===================================
   参观预登记成功页 v2（sv- 前缀）
   =================================== */
.success-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

/* 顶部成功横幅 */
.sv-hero {
    background: linear-gradient(135deg, #0a3d91 0%, #1a73e8 60%, #2d7ff9 100%);
    border-radius: 16px;
    padding: 34px 20px 30px;
    text-align: center;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.28);
}
.sv-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.sv-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.sv-hero-icon {
    width: 64px; height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    position: relative;
    z-index: 1;
}
.sv-hero-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px;
    position: relative; z-index: 1;
}
.sv-hero-sub {
    font-size: 13px;
    opacity: 0.85;
    margin: 0;
    position: relative; z-index: 1;
}

/* 通用卡片 */
.sv-card {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16, 42, 84, 0.05);
    padding: 20px;
    margin-bottom: 16px;
}
.sv-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4a;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f8;
}
.sv-card-title i { color: #1a73e8; margin-right: 6px; }

/* 预登记凭证卡片 */
.sv-card-pass { padding: 0; overflow: hidden; }
.sv-pass-head {
    background: linear-gradient(90deg, #0a3d91, #1a73e8);
    padding: 12px 20px;
}
.sv-pass-badge {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}
.sv-pass-badge i { margin-right: 6px; }
.sv-pass-body {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}
.sv-pass-info { flex: 1; min-width: 0; }
.sv-pass-regno { margin-bottom: 14px; }
.sv-pass-label {
    font-size: 12px;
    color: #7a8ba6;
    margin-bottom: 4px;
}
.sv-pass-no {
    font-size: 24px;
    font-weight: 700;
    color: #0a3d91;
    letter-spacing: 2px;
    font-family: Consolas, Monaco, monospace;
}
.sv-pass-fields { display: flex; flex-direction: column; gap: 8px; }
.sv-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}
.sv-field-label {
    color: #7a8ba6;
    white-space: nowrap;
}
.sv-field-label i { margin-right: 4px; }
.sv-field-value {
    color: #1a2b4a;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}
.sv-pass-qr {
    flex: 0 0 auto;
    text-align: center;
    border-left: 1px dashed #e2e8f2;
    padding-left: 20px;
}
.sv-pass-qr img {
    width: 120px; height: 120px;
    border: 1px solid #e6ecf5;
    border-radius: 10px;
    padding: 6px;
    background: #fff;
}
.sv-qr-tip {
    font-size: 12px;
    color: #7a8ba6;
    margin-top: 8px;
}

/* 展会信息 */
.sv-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.sv-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f7faff;
    border: 1px solid #e8effb;
    border-radius: 12px;
    padding: 14px;
}
.sv-info-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex: 0 0 40px;
}
.sv-info-icon-blue { background: #e3edff; color: #1a73e8; }
.sv-info-icon-orange { background: #fff2e6; color: #e37400; }
.sv-info-label {
    font-size: 12px;
    color: #7a8ba6;
    margin-bottom: 3px;
}
.sv-info-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a2b4a;
    line-height: 1.5;
}

/* 温馨提示卡片 */
.sv-card-tips { background: #fffbef; border-color: #f5e6c8; }
.sv-card-tips .sv-card-title { color: #7a5b00; border-bottom-color: #f0e2bd; }
.sv-card-tips .sv-card-title i { color: #e37400; }
.sv-tips {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sv-tips li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: #5a4a22;
    padding: 5px 0;
    line-height: 1.6;
}
.sv-tips li i {
    color: #e37400;
    margin-top: 3px;
    flex: 0 0 auto;
}

/* 操作按钮 */
.sv-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.sv-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 34px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
}
.sv-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.4);
    color: #fff;
}
.sv-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #1a2b4a;
    border: 1px solid #d5dde8;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}
.sv-btn-ghost:hover {
    border-color: #1a73e8;
    color: #1a73e8;
    background: #f5f9ff;
}

/* 打印样式：仅打印凭证内容 */
@media print {
    .site-banner, .gacl-footer { display: none !important; }
    .success-page { max-width: 100%; padding: 0; }
    .sv-card { box-shadow: none; break-inside: avoid; }
}

/* 响应式 */
@media (max-width: 575.98px) {
    .sv-pass-body { flex-direction: column; }
    .sv-pass-qr {
        border-left: none;
        border-top: 1px dashed #e2e8f2;
        padding-left: 0;
        padding-top: 16px;
    }
    .sv-info-grid { grid-template-columns: 1fr; }
    .sv-hero { padding: 26px 16px; }
    .sv-hero-title { font-size: 20px; }
    .sv-pass-no { font-size: 20px; }
    .sv-btn-primary, .sv-btn-ghost { width: 100%; justify-content: center; }
}

/* ===================================
   页脚
   =================================== */
.gacl-footer {
    background: linear-gradient(180deg, #0d1420 0%, #151b26 100%);
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    padding: 32px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: auto;
}
.footer-inner {
    max-width: 820px;
    margin: 0 auto;
}
.footer-title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    line-height: 1.5;
}
.footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 8px;
    font-size: 12.5px;
    line-height: 1.6;
}
.footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: inline-block;
}
.footer-icp {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-icp:hover {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
}
@media (max-width: 480px) {
    .footer-meta {
        flex-direction: column;
        gap: 6px 0;
    }
    .footer-dot { display: none; }
    .footer-title { font-size: 14px; }
}

/* ===================================
   首页轮播图（幻灯片）
   =================================== */
.home-slider {
    width: 100%;
    background: #00113d;
}
.home-slider .carousel-item {
    height: 440px;
}
.home-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-slider .carousel-indicators {
    margin-bottom: 18px;
}
.home-slider .carousel-indicators button {
    width: 26px;
    height: 4px;
    border: 0;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.45);
    transition: all 0.3s ease;
}
.home-slider .carousel-indicators button.active {
    background-color: #ffffff;
    width: 40px;
}
.home-slider .carousel-caption {
    left: 8%;
    right: 8%;
    bottom: 56px;
    text-align: left;
    background: linear-gradient(90deg, rgba(0, 17, 61, 0.72), rgba(0, 17, 61, 0));
    border-radius: 8px;
    padding: 22px 30px;
}
.slide-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.slide-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    letter-spacing: 0.5px;
}
.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
    width: 8%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.home-slider:hover .carousel-control-prev,
.home-slider:hover .carousel-control-next {
    opacity: 1;
}

/* ===================================
   首页内容区块
   =================================== */
.home-about {
    padding: 60px 20px 50px;
    background: #ffffff;
}
.home-about-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 2;
    color: var(--gacl-text-light);
    text-align: center;
}
.home-about-text strong {
    color: var(--gacl-blue);
    font-weight: 600;
}

.home-features {
    padding: 60px 20px 56px;
    background: #f6f9fe;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.feature-item {
    background: #ffffff;
    border: 1px solid #eef2f8;
    border-radius: 12px;
    padding: 30px 24px 26px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.feature-item:hover {
    box-shadow: 0 10px 28px rgba(0, 60, 160, 0.10);
    transform: translateY(-4px);
}
.feature-icon {
    width: 60px; height: 60px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e6f0ff, #f2f8ff);
    color: var(--gacl-blue);
    display: flex; align-items: center; justify-content: center;
}
.feature-icon svg {
    width: 28px; height: 28px;
}
.feature-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gacl-text);
    margin-bottom: 10px;
}
.feature-item p {
    font-size: 13px;
    color: var(--gacl-text-light);
    line-height: 1.8;
    margin: 0;
}

.home-register {
    padding: 60px 20px 40px;
    background: #ffffff;
}

/* ===================================
   验证码输入区
   =================================== */
.captcha-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.captcha-img {
    height: 42px;
    border: 1px solid var(--gacl-border);
    border-radius: 6px;
    cursor: pointer;
    display: block;
    max-width: 130px;
}
.captcha-refresh {
    font-size: 12px;
    padding: 7px 12px;
}

/* 底部隐私声明勾选 */
.form-row.privacy-row {
    margin-top: 26px;
}
.form-row.privacy-row .gacl-check {
    font-size: 13px;
    color: var(--gacl-text-light);
}
.form-row.privacy-row .gacl-check a {
    color: var(--gacl-blue);
    text-decoration: none;
}
.form-row.privacy-row .gacl-check a:hover {
    text-decoration: underline;
}

/* ===================================
   Bootstrap 兼容覆盖（不影响 admin 样式）
   =================================== */
.container { max-width: 1140px; }

/* alert 样式（bootstrap） */
.alert.mt-3 { margin-top: 1rem !important; }

/* ===================================
   响应式
   =================================== */
@media (max-width: 768px) {
    .gacl-banner { min-height: auto; }
    .banner-inner { padding: 22px 20px 30px; }
    .banner-main-title { font-size: 22px; line-height: 1.3; }
    .banner-title-cn { font-size: 18px; }
    .banner-title-cn-big { font-size: 24px; }
    .banner-date-cn { font-size: 16px; }
    .banner-slogan { font-size: 16px; gap: 12px; }
    .logo-main { font-size: 22px; }
    .logo-sub { font-size: 11px; }

    .home-slider .carousel-item { height: 240px; }
    .slide-title { font-size: 20px; }
    .slide-subtitle { font-size: 13px; }
    .home-slider .carousel-caption { bottom: 24px; padding: 14px 18px; left: 4%; right: 4%; }

    .home-about, .home-features, .home-register { padding: 40px 16px 32px; }
    .home-section-title { font-size: 22px; }
    .feature-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

    .home-cards { grid-template-columns: 1fr; gap: 18px; }
    .home-stats-row { grid-template-columns: repeat(2, 1fr); }

    .form-row-2col { grid-template-columns: 1fr; gap: 0; }
    .form-page { padding: 24px 16px; }

    .form-actions { flex-direction: column; gap: 12px; align-items: center; }
    .form-actions button { width: 160px; }
}

@media (max-width: 480px) {
    .banner-title-cn-big { font-size: 20px; }
    .banner-slogan { font-size: 14px; letter-spacing: 2px; }
    .home-stats-row { grid-template-columns: 1fr 1fr; gap: 14px; }
    .feature-grid { grid-template-columns: 1fr; }
    .captcha-wrap { flex-wrap: wrap; }
}

/* admin 后台样式保留（admin-style.css 独立加载） */

/* ============ 首页统一入口表单（home-entry 局部命名空间） ============ */
.home-entry {
    padding: 48px 20px 80px;
    background: #fff;
}
.home-entry .container {
    max-width: 520px;
}
.home-entry-form {
    background: #fff;
}
.home-entry-title {
    text-align: center;
    color: var(--gacl-text-light);
    font-size: 15px;
    margin-bottom: 28px;
    letter-spacing: 1px;
}
.home-entry .form-group {
    margin-bottom: 22px;
}
.home-entry .form-group label {
    display: block;
    font-size: 14px;
    color: var(--gacl-text);
    margin-bottom: 8px;
    font-weight: 500;
}
.home-entry .form-group .req {
    color: #e43c3c;
    margin-right: 4px;
}
.home-entry .form-control {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-size: 15px;
    border: 1px solid var(--gacl-border);
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    box-sizing: border-box;
}
.home-entry .form-control:focus {
    outline: none;
    border-color: var(--gacl-blue);
    box-shadow: 0 0 0 3px rgba(0,102,255,0.12);
}

/* 验证码行 */
.home-entry .captcha-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}
.home-entry .captcha-wrap .form-control {
    flex: 1;
}
.home-entry .captcha-img {
    height: 44px;
    width: 118px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--gacl-border);
    cursor: pointer;
    flex-shrink: 0;
}
.home-entry .captcha-refresh {
    flex-shrink: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--gacl-border);
    background: #fff;
    color: var(--gacl-text);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}
.home-entry .captcha-refresh:hover {
    border-color: var(--gacl-blue);
    color: var(--gacl-blue);
}

/* 短信验证码行 */
.home-entry .sms-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}
.home-entry .sms-wrap .form-control {
    flex: 1;
}
/* 短信验证码内联反馈提示 */
.sms-feedback {
    display: none;
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.5;
    padding-left: 2px;
}
.sms-feedback.is-ok {
    color: #15803d;
}
.sms-feedback.is-err {
    color: #dc2626;
}
.home-entry .sms-btn {
    flex-shrink: 0;
    height: 44px;
    padding: 0 18px;
    font-size: 14px;
    white-space: nowrap;
}

/* 登记类型选项（radio 视觉化成可选卡） */
.home-entry .type-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.home-entry .type-option {
    flex: 1;
    min-width: 132px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 1.5px solid var(--gacl-border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gacl-text);
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
    background: #fff;
}
.home-entry .type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.home-entry .type-mark {
    width: 18px; height: 18px;
    border: 1.5px solid var(--gacl-border);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}
.home-entry .type-mark::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--gacl-blue);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.18s ease;
}
.home-entry .type-option:hover {
    border-color: rgba(0,102,255,0.4);
}
.home-entry .type-option input[type="radio"]:checked + .type-mark {
    border-color: var(--gacl-blue);
    background: #fff;
}
.home-entry .type-option input[type="radio"]:checked + .type-mark::after {
    transform: translate(-50%, -50%) scale(1);
}
.home-entry .type-option:has(input[type="radio"]:checked) {
    border-color: var(--gacl-blue);
    background: var(--gacl-blue-light);
    color: var(--gacl-blue-deep);
    font-weight: 500;
}

/* 下一步按钮 */
.home-next-btn {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
    border-radius: 4px;
    margin-top: 28px;
    background: linear-gradient(135deg, var(--gacl-blue), var(--gacl-blue-deep));
    border: none;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}
.home-next-btn:hover { opacity: 0.92; }
.home-next-btn:active { transform: translateY(1px); }
.home-next-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.home-entry-note {
    text-align: center;
    color: var(--gacl-muted);
    font-size: 12px;
    margin-top: 14px;
}
.home-entry-note a {
    color: var(--gacl-blue);
    text-decoration: none;
}

@media (max-width: 520px) {
    .home-entry { padding: 32px 16px 60px; }
    .home-entry .type-options { gap: 10px; }
    .home-entry .type-option { min-width: calc(50% - 5px); padding: 10px 12px; font-size: 13px; }
    .home-entry .captcha-wrap { flex-wrap: wrap; }
    .home-entry .captcha-wrap .form-control { width: 100%; flex: none; }
    .home-entry .captcha-img { margin-left: auto; }
}

/* ============ 顶部幻灯片（所有前台页面共用 .site-banner） ============ */
/* 宽度跟随表单容器：--frame-w 由页面注入（首页 520 / 表单页默认 820） */
.site-banner {
    padding: 20px 20px 0;
    background: transparent;
}
.site-banner .banner-frame {
    max-width: var(--frame-w, 820px);
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    background: #001144;
    box-shadow: 0 4px 18px rgba(0, 17, 68, 0.14);
}
.site-banner .carousel,
.site-banner .carousel-inner,
.site-banner .carousel-item {
    width: 100%;
}
/* 图片完整显示：高度跟随图片原始比例，不裁切；超高竖图限制最大高度并完整呈现 */
.site-banner .carousel-item img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

/* 指示器：细长条 */
.site-banner .carousel-indicators {
    bottom: 14px;
    margin: 0;
    gap: 6px;
}
.site-banner .carousel-indicators button {
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    opacity: 1;
    transition: background 0.2s, width 0.2s;
}
.site-banner .carousel-indicators button.active {
    background: #fff;
    width: 36px;
}

/* 控制箭头：默认半透明，hover 容器时显示 */
.site-banner .carousel-control-prev,
.site-banner .carousel-control-next {
    width: 8%;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.site-banner:hover .carousel-control-prev,
.site-banner:hover .carousel-control-next {
    opacity: 0.85;
}
.site-banner .carousel-control-prev-icon,
.site-banner .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: contain;
}
.site-banner .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}
.site-banner .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* 无图片时的兜底 banner（深蓝渐变 + 展会标题） */
.site-banner-fallback {
    height: auto;
    aspect-ratio: 21 / 9;
    background: linear-gradient(135deg, #001144 0%, #002b7a 50%, #0044cc 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
}
.site-banner-fallback .site-banner-inner { padding: 20px; }
.site-banner-fallback .gacl-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
    line-height: 1.1;
}
.site-banner-fallback .logo-main {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
}
.site-banner-fallback .logo-sub {
    font-size: 12px;
    color: #b8d4ff;
    margin-top: 4px;
    letter-spacing: 2px;
}
.site-banner-fallback .banner-main-title { line-height: 1.5; margin: 0 0 12px; }
.site-banner-fallback .banner-title-cn { font-size: 16px; color: #cfe2ff; letter-spacing: 2px; }
.site-banner-fallback .banner-title-cn-big { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: 3px; }
.site-banner-fallback .banner-date-cn { font-size: 15px; color: #cfe2ff; letter-spacing: 2px; }

@media (max-width: 768px) {
    .site-banner { padding: 14px 14px 0; }
    .site-banner-fallback { aspect-ratio: 16 / 9; }
    .site-banner-fallback .banner-title-cn-big { font-size: 20px; }
    .site-banner-fallback .logo-main { font-size: 22px; }
}
@media (max-width: 480px) {
    .site-banner { padding: 12px 12px 0; }
    .site-banner-fallback .banner-title-cn-big { font-size: 16px; letter-spacing: 1px; }
    .site-banner-fallback .banner-title-cn { font-size: 13px; }
    .site-banner-fallback .banner-date-cn { font-size: 12px; }
    .site-banner .carousel-control-prev,
    .site-banner .carousel-control-next { width: 14%; opacity: 0.7; }
}

/* ===================================
   参观登记表单增强样式
   =================================== */

/* 卡片式分区 */
.form-section {
    background: #f8f9fb;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    padding: 24px 28px 16px;
    margin-bottom: 24px;
}
.form-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a3a5f;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e4ea;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-section-title .bi {
    font-size: 18px;
    color: var(--gacl-blue, #0066ff);
}

/* 三列布局（省/市/区） */
.form-row-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 22px;
}

/* flex-wrap 单选/多选容器（选项自适应排列） */
.gacl-flex-wrap {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px 12px !important;
    margin-top: 6px;
}

/* chip 样式：选项标签自适应宽度，整齐排列 */
.gacl-chip {
    display: inline-flex !important;
    align-items: center;
    gap: 6px !important;
    padding: 6px 14px !important;
    border: 1.5px solid #dfe2e8 !important;
    border-radius: 20px !important;
    background: #fff !important;
    font-size: 13px !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
    margin: 0 !important;
}
.gacl-chip:hover {
    border-color: var(--gacl-blue, #0066ff) !important;
    background: #f0f4ff !important;
}
/* 选中态高亮 */
.gacl-chip input[type="radio"]:checked,
.gacl-chip input[type="checkbox"]:checked {
    /* 触发父 label 高亮 */
}
.gacl-chip:has(input:checked) {
    border-color: var(--gacl-blue, #0066ff) !important;
    background: #e8f0ff !important;
    color: var(--gacl-blue, #0066ff);
    font-weight: 600;
}
.gacl-chip input[type="radio"]:checked,
.gacl-chip input[type="checkbox"]:checked {
    border-color: var(--gacl-blue, #0066ff);
    background: var(--gacl-blue, #0066ff);
}

/* 查重反馈样式 */
.gacl-field-error {
    display: none;
    font-size: 12px;
    color: #dc3545;
    margin-top: 4px;
}
.gacl-field-error:not(:empty) { display: block; }
.gacl-field.has-error .gacl-field-error { display: block; }

/* 首页验证后锁定的手机号输入框 */
.gacl-input[readonly], input[readonly] {
    background-color: #f0f4ff;
    border-color: #c8d4f0;
    color: #1a3a5f;
    cursor: not-allowed;
    font-weight: 600;
}
.gacl-field-ok {
    font-size: 12px;
    color: #28a745;
    margin-top: 4px;
}
.gacl-field.has-error .gacl-input,
.gacl-field.has-error .gacl-select {
    border-color: #dc3545;
}

/* 三级联动下拉框 */
.cascade-select {
    cursor: pointer;
}
.cascade-select:disabled {
    background: #f0f0f0;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 响应式：三列→两列→单列 */
@media (max-width: 768px) {
    .form-row-3col {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .form-section {
        padding: 18px 16px 12px;
    }
}
@media (max-width: 480px) {
    .form-row-3col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-section {
        padding: 14px 12px 8px;
    }
    .gacl-chip {
        font-size: 12px !important;
        padding: 5px 10px !important;
    }
}

/* ===================================
   展会隐私声明弹窗（pv- 局部命名空间）
   仅首页使用：遮罩点击不关闭、Esc 关闭、同意状态 localStorage 记忆
   =================================== */

/* 首页“展会隐私声明”入口链接（按钮化，保持链接外观） */
.home-entry-note .pv-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 2px;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-size: 12px;
    color: var(--gacl-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s;
}
.home-entry-note .pv-link:hover {
    color: var(--gacl-blue-deep);
    text-decoration: underline;
}
.pv-link-arrow {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s;
}
.home-entry-note .pv-link:hover .pv-link-arrow {
    transform: translateX(2px);
}
.home-entry-note .pv-link:focus-visible {
    outline: 3px solid var(--gacl-blue);
    outline-offset: 2px;
    border-radius: 2px;
}

/* 遮罩：半透明深色背景，居中承载弹窗 */
.pv-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 20, 40, 0.58);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.pv-overlay.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* 弹窗主体：max-width 800px，高度受限，纵向 flex 布局 */
.pv-dialog {
    width: min(800px, 100%);
    max-height: min(86vh, 720px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 10, 40, 0.35);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s ease;
}
.pv-overlay.is-open .pv-dialog {
    transform: translateY(0) scale(1);
}

/* 顶部标题栏 */
.pv-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 16px 22px;
    background: linear-gradient(135deg, var(--gacl-blue-dark), var(--gacl-blue-deep));
}
.pv-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
}
.pv-title i {
    font-size: 19px;
}

/* 主体内容：可滚动文本区 */
.pv-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px 24px 20px;
    font-size: 14px;
    line-height: 1.6;   /* 1.5–1.6 行高：清晰易读 */
    color: #2f3640;     /* 与白底对比度远超 WCAG AA */
}
.pv-body p {
    margin: 6px 0;
}
.pv-body h4 {
    margin: 16px 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--gacl-blue-dark);
}
.pv-body ul {
    margin: 4px 0 8px;
    padding-left: 22px;
}
.pv-body li {
    margin: 3px 0;
    text-align: justify;
}
.pv-body::-webkit-scrollbar {
    width: 8px;
}
.pv-body::-webkit-scrollbar-thumb {
    background: #c3cbd8;
    border-radius: 4px;
}
.pv-body::-webkit-scrollbar-track {
    background: transparent;
}

/* 底部按钮区：左侧“关闭”，右侧主按钮“我已知晓并同意” */
.pv-footer {
    flex: 0 0 auto;
    display: flex;
    gap: 12px;
    padding: 14px 22px;
    background: #f7f9fc;
    border-top: 1px solid #e7ecf2;
}
.pv-btn {
    flex: 1 1 0;
    height: 42px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
/* 次按钮：“关闭” */
.pv-btn-ghost {
    background: #ffffff;
    color: #333a45;
    border: 1px solid #c6cedb;
}
.pv-btn-ghost:hover {
    background: #eef2f7;
    border-color: #b3bccb;
}
/* 主按钮：视觉突出 */
.pv-btn-primary {
    background: var(--gacl-blue-deep);
    color: #ffffff;
    border: 1px solid var(--gacl-blue-deep);
    font-weight: 600;
    letter-spacing: 1px;
}
.pv-btn-primary:hover {
    background: var(--gacl-blue);
    border-color: var(--gacl-blue);
}
.pv-btn:active {
    transform: translateY(1px);
}

/* 键盘焦点状态（WCAG 2.4.7）：清晰的可见焦点环 */
/* 兼容不支持 :focus-visible 的旧浏览器：此处兜底规则先声明 */
.pv-btn:focus,
.pv-body:focus {
    outline: 3px solid var(--gacl-blue);
    outline-offset: 2px;
}
/* 现代浏览器以 :focus-visible 为准：鼠标点击不显示焦点环，键盘操作清晰可见 */
.pv-btn:focus-visible,
.pv-body:focus-visible {
    outline: 3px solid var(--gacl-blue);
    outline-offset: 2px;
}
/* 对话框容器聚焦（程序设置初始焦点）不显示焦点环 */
.pv-dialog:focus {
    outline: none;
}

/* 尊重系统“减弱动态效果”偏好 */
@media (prefers-reduced-motion: reduce) {
    .pv-overlay,
    .pv-dialog,
    .pv-link,
    .pv-link-arrow {
        transition: none;
    }
}

/* 打印页面时不输出弹窗 */
@media print {
    .pv-overlay {
        display: none !important;
    }
}

/* 小屏适配 */
@media (max-width: 560px) {
    .pv-overlay {
        padding: 12px;
        align-items: flex-end;   /* 移动端底部卡片式呈现，更易操作 */
    }
    .pv-dialog {
        max-height: 88vh;
        border-radius: 12px 12px 0 0;
    }
    .pv-header {
        padding: 13px 16px;
    }
    .pv-title {
        font-size: 15px;
    }
    .pv-body {
        padding: 14px 16px 16px;
        font-size: 13.5px;
    }
    .pv-footer {
        padding: 12px 16px;
        gap: 10px;
    }
    .pv-btn {
        height: 40px;
        font-size: 13.5px;
        padding: 0 10px;
    }
}
@media (max-width: 360px) {
    .pv-btn {
        letter-spacing: 0;
        white-space: nowrap;
    }
}
