@charset "UTF-8";

/* ============ 基础 ============ */
:root {
    --nav-blue: #2e7cc4;
    --nav-blue2: #1360a8;
    --sky1: #a8e0fb;
    --sky2: #74b8ec;
    --blue: #2f8fe0;
    --blue-deep: #1b66b8;
    --icon-blue: #0369cf;
    --tab-strip-bg: #f2f7ff;
    --tab-active-bg: #e4efff;
    --ink: #22303f;
    --gray: #66788c;
    --line: #d8e4f4;
}

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

html {
    scroll-behavior: smooth;
}

/* 按视口宽度定义基础字号（px） */
@media (max-width: 1365px) {
    font-size: 11px;
}

@media (min-width: 1366px) and (max-width: 1919px) {
    html {
        font-size: calc(11px + (3/554) * (100vw - 1366px));
    }
}

@media (min-width: 1920px) and (max-width: 2559px) {
    html {
        font-size: calc(14px + (6/640) * (100vw - 1920px));
    }
}

@media (min-width: 2560px) and (max-width: 3839px) {
    html {
        font-size: calc(20px + (8/1280) * (100vw - 2560px));
    }
}

@media (min-width: 3840px){
    html {
        font-size: 28px;
    }
}


body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft Yahei", simsun, WenQuanYI Micro Hei, Noto Sans CJK, sans-serif;
    background: url(../image/background.png) no-repeat center/cover;
    background-attachment: fixed;
    color: var(--ink);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

.download-wrap {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

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

button {
    font-family: inherit;
}

/* ============ 顶部导航 ============ */
.topbar {
    height: 4.375rem;
    display: flex;
    align-items: center;
    padding: 0 1.625rem;
}

.topbar-in {
    width: 100%;
    max-width: 93.75rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.625rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
}

.brand .xmark {
    font-size: 2rem;
    color: #ffffff;
}

.brand .bt {
    font-size: 1.125rem;
    font-weight: 700;
}

.nav-btn {
    cursor: pointer;
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    color: #ffffff;
    padding: 0.4375rem 1.125rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    transition: box-shadow 0.15s ease,
    color 0.15s ease;
}

.nav-btn:hover,
.nav-btn.active {
    color: #303030;
    background: rgba(255, 255, 255, 0.8);
}

.nav-btn .iconfont {
    font-size: 0.9375rem;
}

/* 面板容器：内容居中等宽（默认基础字号下约 1500px） */
.tab-panel {
    margin: 0 auto;
    max-width: 93.75rem;
}

.tab-panel[hidden] {
    display: none;
}

/* ============ 内容区：渐变背景上放白色圆角面板 ============ */
.page {
    flex: 1;
    min-height: 0;
}

.container {
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.625rem 1.625rem;
    overflow: auto;
}

/* ============ 白色圆角面板（三个区域） ============ */
.panel {
    background: linear-gradient(180deg, #e4efff 0%, #ffffff 100%);
    border: 0.0625rem solid #d3e3f5;
    border-radius: 1.125rem;
    box-shadow: 0 0.625rem 1.875rem rgba(15, 60, 120, 0.12);
    margin-bottom: 1.75rem;
    overflow: hidden;
}

.panel:last-child {
    margin-bottom: 0;
}

.sec {
    padding: 0 1.625rem 1.375rem;
}

.sec-icon {
    padding: 1.25rem 1.625rem 1.5rem;
}

.sec-steps {
    padding: 1.25rem 1.625rem 1.625rem;
}

/* ============ 系统选项卡（第一个区域顶部）：Chrome 浏览器标签页样式 ============ */
/* 操作系统下载面板整体背景：#e4efff → 白色，自上而下渐变 */
#download.panel {
    background: linear-gradient(180deg, #e4efff 25%, #ffffff 100%);
}

.osbar {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 3.5rem;
    margin: 0 -1.625rem;
    gap: 0.1875rem;
    background: var(--tab-strip-bg);
}

/* 标签页条底部细线：激活标签覆盖它，与内容区无缝衔接（Chrome 风格） */
.osbar .tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 1.625rem;
    font-size: 0.9375rem;
    color: #5a6b7b;
    cursor: pointer;
    user-select: none;
    border: none;
    border-radius: 0.75rem 0.75rem 0 0;
}

.osbar .tab:not(.active):hover {
    background: var(--tab-strip-bg);
    color: var(--blue-deep);
}

.osbar .tab.active {
    background: var(--tab-active-bg);
    color: var(--blue-deep);
    font-weight: 600;
    z-index: 5;
}

.osbar .tab .lf,
.osbar .tab .ri {
    position: absolute;
    bottom: 0;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--tab-strip-bg);
}

.osbar .tab .lf::before,
.osbar .tab .ri::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--tab-strip-bg);
}

.osbar .tab .lf {
    right: 100%;
}

.osbar .tab .ri {
    left: 100%;
}

.osbar .tab .lf::before {
    border-bottom-right-radius: 0.75rem;
}

.osbar .tab .ri::before {
    border-bottom-left-radius: 0.75rem;
}

.osbar .tab.active .lf,
.osbar .tab.active .ri {
    background: var(--tab-active-bg);
}

/* ============ 一、操作系统选择 ============ */
.sec1-title {
    font-size: 0.875rem;
    color: #808080;
    margin: 1.125rem 0;
    padding-left: 0.125rem;
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.125rem;
    align-items: stretch;
}

.card {
    position: relative;
    background: #f2f7ff;
    border: 0.0625rem solid #e6e6e6;
    border-radius: 0.875rem;
    box-shadow: 0 0.375rem 1.25rem rgba(15, 60, 120, 0.08);
    padding: 1rem 1.25rem;
    transition: border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.card.recommended {
    border-color: #2fa0ff;
    box-shadow: 0 0.625rem 1.75rem rgba(47, 160, 255, 0.22);
    overflow: hidden;
}

/* 推荐·当前设备：斜置蓝色缎带（参考图样式） */
.rec-tag {
    position: absolute;
    top: 0.375rem;
    left: -1.25rem;
    z-index: 2;
    display: inline-block;
    background: #e4efff;
    color: #0a66c2;
    font-size: 0.75rem;
    padding: 0.3125rem 1.125rem 0.3125rem 0.875rem;
    transform: rotate(-36deg);
    white-space: nowrap;
}

.rec-tag i {
    font-style: normal;
    display: inline-block;
}

.card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}

.card-mid {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-mid .ic {
    flex: none;
    width: 5rem;
    height: 5rem;
    border-radius: 0.9375rem;
    background: var(--icon-blue);
    color: #fff;
    display: grid;
    place-items: center;
}

.card-mid .ic .iconfont {
    font-size: 2.75rem;
}

.card-mid .info {
    flex: 1;
    min-width: 0;
}

.card-desc {
    font-size: 0.78125rem;
    color: var(--gray);
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.card-tags span {
    font-size: 0.75rem;
    color: #2e4a6a;
    background: #eff4fb;
    border: 0.0625rem solid var(--line);
    border-radius: 0.4375rem;
    padding: 0.1875rem 0.6875rem;
}

.dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    background: #e4efff;
    color: var(--blue-deep);
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    transition: background 0.15s ease;
}

.dl-btn .dl-ic {
    font-size: 0.9375rem;
    flex: none;
}

.dl-btn:hover {
    background: #d3e7ff;
}

/* ============ 二、安装后图标 ============ */
.sec-icon .tit {
    font-size: 1.125rem;
}

.sec-icon .sub {
    color: var(--gray);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.icon-card {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.icon-card .app-ic {
    flex: none;
    width: 5rem;
    height: 5rem;
    border-radius: 1.125rem;
    background: #fff;
    display: block;
    object-fit: cover;
    box-shadow: 0 0.5rem 1.125rem rgba(3, 105, 207, 0.35);
}

.icon-card .txt .appName {
    font-size: 1rem;
    display: block;
}

.icon-card .txt .appDesc {
    font-size: 0.75rem;
    color: var(--gray);
    line-height: 1.8;
    margin-top: 0.25rem;
}

/* ============ 三、使用步骤 ============ */
.sec-steps .tit {
    font-size: 1.125rem;
}

.sec-steps .sub {
    color: var(--gray);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.steps {
    display: grid;
    grid-template-columns: 1fr 3.5rem 1fr 3.5rem 1fr;
    column-gap: 0.875rem;
}

.step {
    min-width: 0;
    margin-top: 1.125rem;
}

.step-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.step-head-txt {
    flex: 1;
    min-width: 0;
}

.step-num {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #e4efff;
    color: var(--icon-blue);
    display: grid;
    place-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 0.1875rem 0.5rem rgba(3, 105, 207, 0.25);
}

.step-head h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.step-desc {
    font-size: 0.78125rem;
    color: var(--gray);
    line-height: 1.7;
    min-height: 3.4em; /* 最小高度：两行文字 */
    margin: 0.25rem 0 0;
}

.step-img {
    margin-top: 0.875rem;
}

.step-img .win {
    display: block;
    width: 100%;
    height: 15rem;
    object-fit: contain;
    cursor: zoom-in;
}

.step-link {
    position: relative;
    align-self: start;
    height: 0.5rem;
    margin-top: 2.125rem;
}

.step-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    border-top: 0.125rem dashed var(--icon-blue);
}

.step-link::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 50%;
    background: var(--icon-blue);
    box-shadow: 0 0 0 0.1875rem #e4efff;
}

/* ============ 找回密码面板 ============ */
.sec-findpwd {
    background: linear-gradient(180deg, #e4efff 0%, #ffffff 100%);
    padding: 1.5rem 1.625rem 1.875rem;
    height: 100%;
}

/* 找回密码面板占满容器高度 */
.tab-panel[data-tab="findpwd"],
.sec-findpwd {
    height: 100%;
}

.fp-head .fp-tit {
    font-size: 1.125rem;
}

.fp-sub {
    color: var(--gray);
    font-size: 0.8125rem;
    margin-top: 0.375rem;
}

.fp-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4.375rem;
    margin: 1.375rem 0 1.625rem;
}

.fp-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fp-step-num {
    flex: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #c7d7ee;
    color: #99b2d5;
    display: grid;
    place-items: center;
    font-size: 0.8125rem;
    font-weight: 700;
}

.fp-step.active .fp-step-num {
    color: #ffffff;
    background: var(--icon-blue);
}

.fp-step-txt {
    font-size: 0.875rem;
    color: #000000;
}

.fp-step-line {
    position: relative;
    flex: 1;
    min-width: 0;
    border-top: 0.125rem dashed #b9cbe0;
}

.fp-step-line::after {
    content: "";
    position: absolute;
    right: -0.8125rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 50%;
    background: #96afd3;
    box-shadow: 0 0 0 0.1875rem #c7d7ee;
}

.fp-card {
    max-width: 31.25rem;
    margin: 0 auto;
}

.fp-card-title {
    font-size: 1rem;
    color: #43536a;
    margin-bottom: 1rem;
    text-align: center;
}

.fp-field {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.125rem;
}

.fp-field .fp-form-label {
    width: 3.5rem;
}

.fp-field .fp-form-label label {
    font-size: 0.875rem;
    color: #42546c;
    text-align: left;
}

.fp-field .fp-form-item {
    position: relative;
    flex: 1;
    min-width: 0;
}

.fp-field input {
    width: 100%;
    height: 2.375rem;
    padding: 0 0.75rem;
    border: 0.0625rem solid #c9ddf3;
    border-radius: 0.25rem;
    background: #fff;
    font-size: 0.75rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.15s ease;
}

.fp-field input:focus {
    border-color: var(--blue);
}

#fpId{
    text-transform: uppercase;
}

.fp-error {
    display: none;
    position: absolute;
    left: 0rem;
    padding-top: 0.1875rem;
    color: #e5484d;
    font-size: 0.75rem;
    line-height: 1;
}

.fp-form-item.invalid .fp-error {
    display: block;
}

.fp-form-item.invalid input {
    border-color: #e5484d;
}

.fp-code-row {
    flex: 1;
    display: flex;
    gap: 0.625rem;
}

.fp-code-row input {
    flex: 1;
    min-width: 0;
    padding-right: 6.25rem;
}

.fp-code-btn {
    position: absolute;
    top: 50%;
    right: 0.1875rem;
    transform: translateY(-50%);
    height: 1.875rem;
    padding: 0 1rem;
    border: none;
    border-radius: 0.25rem;
    background: #e5f0fa;
    color: var(--icon-blue);
    font-size: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.fp-code-btn:hover {
    background: #cfe3f7;
    color: var(--icon-blue);
}

.fp-code-btn:disabled {
    background: #f0f0f0;
    color: #9aa0a6;
    cursor: not-allowed;
}

.fp-next {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 2.8125rem;
    margin-top: 1.125rem;
    border: none;
    border-radius: 0.25rem;
    background: var(--icon-blue);
    color: #fff;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.fp-next:hover {
    background: var(--blue-deep);
}

/* 密码输入框：小眼睛显示 / 隐藏密码切换 */
.fp-field .fp-pwd-item input {
    padding-right: 2.5rem;
}

.fp-pwd-toggle {
    position: absolute;
    top: 50%;
    right: 0.625rem;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #9aa7b8;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease;
}

.fp-pwd-toggle:hover {
    color: var(--icon-blue);
}

/* 找回密码：步骤完成态 + 表单面板切换 */
.fp-step-num .iconfont {
    display: none;
    font-size: 1.0625rem;
}

.fp-step.done .fp-step-num {
    color: #fff;
    background: var(--icon-blue);
}

.fp-step.done .fp-step-num .iconfont {
    display: block;
}

.fp-step.done .fp-step-num b {
    display: none;
}

.fp-step.done + .fp-step-line {
    border-top-color: var(--icon-blue);
}

.fp-step.done + .fp-step-line::after {
    background: var(--icon-blue);
    box-shadow: 0 0 0 0.1875rem #d8e8fb;
}

.fp-panel {
    display: none;
}

.fp-panel.active {
    display: block;
}

.fp-done {
    text-align: center;
    padding: 1.625rem 0 0.625rem;
}

.fp-done img {
    width: 10.625rem;
    height: 10.625rem;
    object-fit: contain;
}

.fp-done p {
    margin-top: 0.75rem;
    color: var(--gray);
    font-size: 1.125rem;
}

/* 步骤窗口示意图（截图图片） */
.win {
    background: #fff;
    border-radius: 0.625rem;
    overflow: hidden;
    border: 0.0625rem solid var(--line);
    box-shadow: 0 0.5rem 1.25rem rgba(15, 60, 120, 0.12);
}

/* ============ 右下角悬浮图标 ============ */
.float-icons {
    position: fixed;
    right: 4rem;
    bottom: 1.875rem;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.fi {
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    transition: transform 0.15s ease;
    border: none;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.fi:hover {
    transform: translateY(-0.1875rem) scale(1.05);
}

.fi .iconfont {
    font-size: 1.3125rem;
}

.fi-phone {
    background: #fff;
    color: var(--icon-blue);
}

.fi-wx {
    background: #fff;
    color: #0fde73;
}

.fi-wrap {
    position: relative;
}

.fi-pop {
    position: absolute;
    right: 3.375rem;
    bottom: 0;
    display: none;
    min-width: 11.25rem;
    background: #fff;
    border: 0.0625rem solid #d3e3f5;
    border-radius: 0.75rem;
    padding: 0.875rem 1.125rem;
    z-index: 10;
}

.fi-wrap.open .fi-pop {
    display: block;
}

.fi-pop p {
    margin: 0;
    font-size: 0.75rem;
    color: #42546c;
    line-height: 1.7;
}

.fi-pop .fi-pop-num {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--icon-blue);
    margin: 0.25rem 0;
    letter-spacing: 0.03125rem;
}

.fi-pop .fi-pop-note {
    font-size: 0.75rem;
    color: #8a97a8;
}

.fi-pop img {
    display: block;
    width: 9.375rem;
    height: 9.375rem;
    object-fit: contain;
}

/* ============ 响应式 ============ */
@media (max-width: 1000px) {
    .page {
        margin: 0 0.75rem;
    }

    .cards,
    .steps {
        grid-template-columns: 1fr;
    }

    .step-link {
        display: none;
    }

    .float-icons {
        right: 1rem;
        bottom: 1rem;
    }
}

/* 适配低分辨率矮屏（1366x768 等）：压缩纵向间距 */
@media (max-height: 820px) {
    .topbar {
        height: 3.5rem;
    }

    .container {
        padding: 0.875rem 1.625rem 0.875rem;
    }

    .panel {
        margin-bottom: 1rem;
    }

    .sec1-title {
        margin: 0.75rem 0;
    }

    .card {
        padding: 0.875rem 1.125rem;
    }

    .card-mid .ic {
        width: 4rem;
        height: 4rem;
    }

    .card-mid .ic .iconfont {
        font-size: 2.125rem;
    }

    .card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .card-desc {
        margin-bottom: 0.375rem;
    }

    .step-img .win {
        height: 11.875rem;
    }

    .step {
        margin-top: 0.875rem;
    }

    .fp-steps {
        margin: 0.875rem 0 1.125rem;
    }

    .fp-card {
        max-width: 28.75rem;
    }

    .fp-field {
        margin-bottom: 0.875rem;
    }
}


/* ============ 密码规则悬浮弹窗 ============ */
.fp-policy-pop {
    position: absolute;
    top: 50%;
    left: calc(100% + 0.625rem);
    transform: translateY(-50%);
    z-index: 120;
    width: 25rem;
    background: #fff;
    border-radius: 0.3125rem;
    filter: drop-shadow(0px 0px 12px rgba(0, 0, 0, .12));
}

.fp-policy-pop[hidden] {
    display: none;
}

/* 指向新密码输入框的小箭头 */
.fp-policy-pop::before {
    content: "";
    position: absolute;
    left: -0.4375rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 0.625rem;
    height: 0.625rem;
    background: #fff;
}

/* 标题：左对齐、加粗 */
.fp-policy-pop-title {
    padding: 0.625rem 0.75rem 0.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000;
}

.fp-policy-pop-body {
    padding: 0 0.75rem 0.625rem;
    max-height: 14rem;
    overflow-y: auto;
}

.fp-policy-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 每条规则：黑色圆点 + 文字 + 右侧红色叉号 */
.fp-policy-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    color: #333;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.fp-policy-dot {
    flex: none;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #000;
}

.fp-policy-txt {
    flex: 1;
    min-width: 0;
}

.fp-policy-x {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.875rem;
    height: 0.875rem;
    color: #fe1111;
    font-size: 0.875rem;
    font-style: normal;
    line-height: 1;
}

/* 小屏：弹窗显示在输入框下方，避免横向溢出 */
@media (max-width: 40rem) {
    .fp-policy-pop {
        left: 0;
        top: calc(100% + 0.5rem);
        transform: none;
        width: 100%;
    }

    .fp-policy-pop::before {
        left: 1rem;
        top: -0.4375rem;
        transform: rotate(45deg);
    }
}

#captcha {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 2008;
    display: none;
}

.dialog {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    vertical-align: middle;
    z-index: 2007;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer-comfirm {
    width: 420px;
    padding: 10px 10px 20px;
    vertical-align: middle;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #ebeef5;
    font-size: 18px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    text-align: left;
    overflow: hidden;
    backface-visibility: hidden;
}

.layer-comfirm:after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 0;
    vertical-align: middle;
}

.layer-comfirm .title {
    padding: 15px 15px 10px;
    font-size: 18px;
    line-height: 1;
    color: #303133;
}

.layer-comfirm .content {
    padding: 10px 15px;
    color: #606266;
    font-size: 14px;
}

.layer-comfirm .btn {
    padding: 5px 15px 0;
    text-align: center;
}

.layer-comfirm .btn input {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    font-weight: 500;
    padding: 9px 15px;
    font-size: 12px;
    border-radius: 3px;
}

.layer-comfirm .btn input[disabled] {
    cursor: not-allowed;
}

.layer-comfirm .btn input + input {
    margin-left: 10px;
}

.layer-comfirm .btn .button-primary {
    color: #fff;
    background-color: #409eff;
    border-color: #409eff;
}

.layer-comfirm .btn .button-primary:hover {
    background: #66b1ff;
    border-color: #66b1ff;
    color: #fff;
}

.layer-comfirm .btn .button-close:hover {
    color: #409eff;
    border-color: #c6e2ff;
    background-color: #ecf5ff;
}

.layer-comfirm .input-label {
    display: inline-block;
    width: 17%;
    text-align: right;
    padding-right: 10px;
}

.layer-comfirm .input-ordinary {
    -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    outline: none;

    border-radius: 4px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    height: 40px;
    line-height: 40px;
    margin-bottom: 10px;
    padding: 0 30px 0 15px;
    width: 80%;
}

.layer-comfirm .input-ordinary.errfocus {
    margin-bottom: 24px;
    border-color: red;
}

.layer-comfirm .input-ordinary + .spanerr {
    position: absolute;
    margin: 41px 0 0 -309px;
    color: red;
}

/* 图形验证码 */
.ValidCode {
    position: absolute;
    margin: 4px 0 0 286px;
    cursor: pointer;
    width: 100px;
    height: 40px;
}

.ValidCode img {
    vertical-align: -0.25em;
}

.ValidCode span {
    display: inline-block;
}

.input-txt {
    border: none;
    font-size: 16px;
    margin-left: 17px;
    width: 245px;
    height: 40px;
    line-height: 40px;
    color: #888888;
}

.alertWran {
    position: absolute;
    top: 0;
    width: calc(100% - 40px);
    padding: 0 20px;
    background-color: #fdf6ec;
    color: #e6a23c;
    display: none;
}

.alertWran .wraning {
    position: relative;
}

.alertWran .wraning .wrantext {
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 12px;
}

.alertWran .wraning i {
    color: #a8abb2;
    font-size: 12px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    cursor: pointer;
}

/* ----- 全屏预览遮罩层 ----- */
.preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    cursor: zoom-out;
}

.preview-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 预览图片 — 自适应 + 动画 */
.preview-overlay .preview-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: zoom-out;
    will-change: transform;
    /* 图片本身不触发关闭，由外层遮罩处理 */;
}

.preview-overlay.active .preview-img {
    transform: scale(1);
}