/* 海外套餐页布局 — 参考 lingbao-overseas 套餐页。支付弹层样式接在本文件后面。 */

:root {
    --ov-main: #0A96C1;
    --ov-main-light: #23a7d0;
    --ov-main-deep: #0882a8;
    --ov-main-opacity: rgba(10, 150, 193, 0.15);
    --ov-bg-1: #f0f7fb;
    --ov-bg-2: #e6f0f8;
    --ov-card-bg: #ffffff;
    --ov-text-normal: #445566;
    --ov-text-light: #778899;
    --ov-border: #e8eef3;
    --ov-shadow: 0 4px 20px rgba(10, 80, 120, 0.08);
    --ov-blue: #0785ff;
    --ov-ink: #102b50;
}

.ov-page {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background: #fff;
    color: var(--ov-ink);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body:has(.ov-page) {
    background: #fff;
}

.ov-page .header-wrap {
    height: auto;
    min-height: 0;
}

.ov-page .header-spacer {
    margin: 0;
}

.ov-wrap button {
    font: inherit;
    cursor: pointer;
}

.ov-wrap button:focus-visible {
    outline: 3px solid #77baff;
    outline-offset: 3px;
}

.ov-scene {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 690px;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background-color: #f8fbff;
    background-image:
        radial-gradient(ellipse at 76% 46%, rgba(215, 234, 255, 0.53) 0, transparent 53%),
        linear-gradient(105deg, #fff 20%, #f5faff 65%, #eff8ff);
}

.ov-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(137, 183, 240, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(137, 183, 240, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
    mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
}

.ov-scene::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 80px;
    border: 0;
    border-radius: 0;
    opacity: 1;
    transform: none;
    background: linear-gradient(transparent, #fff);
    box-shadow: none;
}

.ov-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.ov-wrap,
.ov-wrap *,
.ov-wrap *::before,
.ov-wrap *::after {
    box-sizing: border-box;
}

.ov-wrap {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 36px 30px;
}

.ov-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ov-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 78%;
    padding: 35px 0 30px;
}

.ov-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--ov-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.ov-eyebrow::before {
    content: "";
    width: 22px;
    height: 3px;
    background: var(--ov-blue);
    border-radius: 4px;
}

.ov-hero h1 {
    margin: 18px 0 12px;
    color: var(--ov-ink);
    font-size: clamp(30px, 3.25vw, 45px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.25;
}

.ov-hero h1 span {
    color: var(--ov-blue);
}

.ov-intro {
    margin: 0 0 27px;
    color: #566d88;
    font-size: 17px;
}

.ov-tabs {
    display: flex;
    gap: 6px;
    width: 475px;
    max-width: 100%;
    margin: 0;
    padding: 5px;
    background: #ffffffc9;
    border: 1px solid #bddfff;
    border-radius: 40px;
    box-shadow: 0 4px 15px #3998ff0d;
}

.ov-tab {
    flex: 1;
    height: 43px;
    padding: 0 12px;
    border: 0;
    border-radius: 30px;
    background: transparent;
    color: #5b7190;
    font-size: 14px;
    font-weight: 700;
    line-height: 43px;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}

.ov-tab:hover {
    color: #244364;
}

.ov-tab.active {
    background: linear-gradient(110deg, #0797ff, #057aff);
    color: #fff;
    box-shadow: 0 4px 10px #0785ff20;
}

.ov-tab.active:hover {
    color: #fff;
    filter: brightness(0.97);
}

.ov-globe {
    position: absolute;
    right: -5px;
    top: 5px;
    width: 440px;
    height: 290px;
    pointer-events: none;
}

.ov-globe svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ov-float {
    animation: ov-float 6s ease-in-out infinite;
    transform-origin: center;
}

.ov-orbit {
    animation: ov-orbit-turn 28s linear infinite;
    transform-origin: 235px 125px;
}

@keyframes ov-float {
    50% { transform: translateY(-7px); }
}

@keyframes ov-orbit-turn {
    to { transform: rotate(360deg); }
}

.ov-panel {
    display: none;
}

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

.ov-overview {
    padding: 23px 26px 20px;
    background: linear-gradient(135deg, #ffffffed, #fbfdff);
    border: 1px solid #e0e9f3;
    border-radius: 20px;
    box-shadow: 0 8px 30px #315e8c06;
}

.ov-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.ov-plan-badge {
    color: var(--ov-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ov-overview h2 {
    margin: 9px 0 10px;
    color: var(--ov-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.ov-overview-head p {
    max-width: 800px;
    margin: 0;
    color: #7085a0;
    font-size: 13px;
    line-height: 1.9;
}

.ov-overview-seal {
    flex: none;
    padding-left: 20px;
    border-left: 1px solid #e1eaf4;
    color: #2285e4;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.ov-overview-seal span {
    display: block;
    margin-top: 7px;
    color: #8aa0b8;
    font-size: 11px;
    font-weight: 400;
}

.ov-overview-body {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
    gap: 16px 28px;
    align-items: center;
    margin-top: 18px;
}

.ov-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
}

.ov-metric {
    padding: 11px 17px;
    background: linear-gradient(120deg, #f3f7fc, #fafcfe);
    border: 1px solid #e8eff6;
    border-radius: 12px;
}

.ov-metric b {
    display: block;
    color: #147fe8;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.ov-metric span {
    display: block;
    margin-top: 5px;
    color: #7a8fa9;
    font-size: 11px;
}

.ov-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 20px;
    align-content: center;
    margin: 0;
    padding-left: 24px;
    border-left: 1px solid #e6eef6;
}

.ov-specs div {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 32px;
    color: #647c99;
    font-size: 12px;
}

.ov-specs .ov-spec-wide {
    grid-column: auto;
}

.ov-specs b {
    color: #244361;
    font-weight: 600;
    white-space: nowrap;
}

.ov-ico {
    display: inline-block;
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--ov-blue);
}

.ov-region {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 10px 13px;
    background: #fff9f2;
    border: 1px solid #f4e4d0;
    border-radius: 9px;
    color: #a17a49;
}

.ov-region > span {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    flex: none;
    border: 1px solid #bb9565;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.ov-region p {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
}

.ov-region strong {
    margin-right: 12px;
    font-weight: 600;
}

.ov-pricing-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 21px 0 13px;
    padding: 16px 22px 14px;
    background: #ffffffc9;
    border: 1px solid #fff;
    border-radius: 15px;
}

.ov-pricing-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ov-pricing-head h2 {
    display: flex;
    align-items: center;
    margin: 0;
    color: var(--ov-ink);
    font-size: 19px;
    font-weight: 700;
}

.ov-pricing-head h2::before {
    content: "◇";
    margin-right: 13px;
    color: var(--ov-blue);
    font-size: 22px;
    font-weight: 400;
}

.ov-pricing-title > span {
    color: #7f95ad;
    font-size: 12px;
    white-space: nowrap;
}

.ov-pricing-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #e6eef7;
}

.ov-pricing-facts > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7188a3;
    font-size: 12px;
    white-space: nowrap;
}

.ov-pricing-facts .ov-ico {
    width: 14px;
    height: 14px;
}

.ov-pricing-facts em {
    font-style: normal;
}

.ov-pricing-facts b {
    color: #254668;
    font-weight: 600;
}

.ov-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.ov-card {
    --tier-color: #1680ed;
    --tier-soft: #edf6ff;
    --tier-glow: #dcecff;
    --tier-border: #c6def8;
    --tier-filter: saturate(1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 9px 9px 14px;
    overflow: hidden;
    background: linear-gradient(165deg, #fff 45%, #f8fbff);
    border: 1px solid #dce7f2;
    border-radius: 20px;
    box-shadow: 0 6px 18px #2196ff06;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.ov-card:nth-child(2) {
    --tier-color: #119b97;
    --tier-soft: #edf9f7;
    --tier-glow: #d6efeb;
    --tier-border: #bfe5df;
    --tier-filter: hue-rotate(-48deg) saturate(0.75);
}

.ov-card:nth-child(3) {
    --tier-color: #8c64cf;
    --tier-soft: #f6f1fc;
    --tier-glow: #e9def7;
    --tier-border: #ddcff0;
    --tier-filter: hue-rotate(48deg) saturate(0.65);
}

.ov-card:nth-child(4) {
    --tier-color: #cc8935;
    --tier-soft: #fff8ed;
    --tier-glow: #f8e8cb;
    --tier-border: #ecd7b5;
    --tier-filter: hue-rotate(185deg) saturate(0.65);
}

.ov-card:nth-child(5) {
    --tier-color: #5d70c5;
    --tier-soft: #f0f3fc;
    --tier-glow: #dee5f8;
    --tier-border: #cdd6f0;
    --tier-filter: hue-rotate(18deg) saturate(0.6);
}

.ov-card.is-recommended {
    border-color: var(--tier-border);
}

.ov-card:hover:not(.ov-card-disabled),
.ov-card.selected:not(.ov-card-disabled) {
    border-color: var(--tier-color);
}

.ov-card:hover:not(.ov-card-disabled) {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px #297ac012;
}

.ov-card.ov-card-disabled {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.6);
}

.ov-discount {
    position: absolute;
    z-index: 4;
    top: 9px;
    right: 9px;
    padding: 5px 9px;
    background: var(--tier-glow);
    color: var(--tier-color);
    font-size: 10px;
    font-weight: 600;
    border-radius: 0 12px 0 9px;
}

.ov-card-top {
    position: relative;
    min-height: 157px;
    padding: 20px 15px 17px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 95% 10%, var(--tier-glow), transparent 85%),
        linear-gradient(110deg, var(--tier-soft), #fcfdff);
    border-radius: 13px;
}

.ov-card-top::after {
    content: "";
    position: absolute;
    top: -25px;
    right: -25px;
    width: 95px;
    height: 95px;
    border: 17px solid #ffffff50;
    transform: rotate(35deg);
    pointer-events: none;
}

.ov-tier-label {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    color: var(--tier-color);
    font-size: 9px;
    letter-spacing: 1.7px;
    opacity: 0.8;
}

.ov-amount {
    position: relative;
    z-index: 2;
    color: var(--tier-color);
    font-size: 36px;
    font-weight: 750;
    letter-spacing: -1px;
    line-height: 1.2;
}

.ov-amount small {
    margin-left: 3px;
    font-size: 18px;
    font-weight: 500;
}

.ov-tier-desc {
    position: relative;
    z-index: 2;
    margin: 7px 0 0;
    color: #7c91aa;
    font-size: 11px;
}

.ov-art {
    position: absolute;
    right: 9px;
    bottom: 16px;
    z-index: 1;
    width: 62px;
    height: 65px;
    transform: scale(0.73) rotate(-8deg);
    transform-origin: bottom right;
    opacity: 0.8;
    filter: var(--tier-filter) drop-shadow(0 6px 5px #6187ad15);
    pointer-events: none;
}

.ov-art-base {
    position: absolute;
    bottom: 2px;
    left: 7px;
    width: 48px;
    height: 24px;
    background: linear-gradient(120deg, #c4e9ff, #64b7ff);
    border: 2px solid #d8f4ff;
    border-radius: 6px;
    box-shadow: 0 7px 0 #aed9fc, 0 12px 0 #e1f1ff;
    transform: skewY(-20deg);
}

.ov-art-shape {
    position: absolute;
    top: -9px;
    left: 13px;
    color: #36a0ff;
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 2px 2px 0 #a4dcff, -2px -2px 0 #fff, 5px 5px 0 #2186eb;
}

.ov-art-infinity .ov-art-shape {
    top: -5px;
    font-size: 54px;
}

.ov-art-cube .ov-art-shape {
    top: 0;
    left: 15px;
    width: 38px;
    height: 38px;
    background: linear-gradient(120deg, #f0fbff, #55afff 55%, #2188ee);
    border: 2px solid #d6efff;
    border-radius: 5px;
    color: transparent;
    font-size: 0;
    text-shadow: none;
    transform: rotate(30deg) skewY(-10deg);
}

.ov-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 21px 14px 4px;
}

.ov-unit {
    color: var(--tier-color);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.ov-unit small {
    color: #8195ae;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
}

.ov-sum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 22px;
    margin: 12px 0 19px;
    color: #8295ac;
    font-size: 12px;
}

.ov-sum b {
    color: #294b71;
    font-size: 15px;
    font-weight: 600;
}

.ov-buy {
    width: 100%;
    min-height: 41px;
    margin-top: auto;
    padding: 0 12px;
    background: linear-gradient(100deg, #0799ff, #047cff);
    border: 0;
    border-radius: 24px;
    box-shadow: 0 4px 8px #0785ff10;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.ov-buy span {
    margin-left: 9px;
    font-weight: 400;
}

.ov-buy:hover:not(:disabled) {
    box-shadow: 0 6px 16px #0785ff38;
    color: #fff;
    filter: brightness(0.97);
}

.ov-empty {
    grid-column: 1 / -1;
    min-height: 280px;
    padding: 70px 24px;
    background: #fff;
    border: 1px solid #d9e9f9;
    border-radius: 20px;
    text-align: center;
}

.ov-empty h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.ov-empty p {
    margin: 0;
    color: #7086a3;
    line-height: 1.8;
}

.ov-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 58px;
    margin-top: 18px;
    padding: 10px 16px;
    background: #ffffffad;
    border: 1px solid #fff;
    border-radius: 15px;
    color: #627d9a;
    font-size: 13px;
}

.ov-support .ov-ico {
    width: 23px;
    height: 23px;
}

.ov-support-btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ov-blue);
    font-weight: 600;
}

.ov-support-btn:hover {
    filter: brightness(0.97);
}

.ov-page > .site-footer,
.ov-page > .footer,
.ov-page > .lb-site-footer {
    position: relative;
    z-index: 1;
    margin-top: 28px;
}

@media (min-width: 1450px) {
    .ov-hero { min-height: 320px; }
    .ov-globe { width: 470px; height: 310px; }
}

@media (max-width: 1100px) {
    .ov-wrap { padding: 0 22px 28px; }
    .ov-hero-copy { max-width: 75%; }
    .ov-intro { font-size: 15px; }
    .ov-globe {
        right: -20px;
        width: 360px;
        opacity: 0.7;
    }
    .ov-overview-head p { max-width: 630px; }
    .ov-overview-body {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .ov-metrics { grid-template-columns: repeat(4, 1fr); }
    .ov-specs {
        grid-template-columns: 1fr 1fr;
        padding: 12px 0 0;
        border-left: 0;
        border-top: 1px solid #e6eef6;
    }
    .ov-card-top { padding: 19px 11px 15px; }
    .ov-amount { font-size: 31px; }
    .ov-art {
        right: 4px;
        transform: scale(0.6) rotate(-8deg);
    }
    .ov-card-body { padding: 18px 7px 4px; }
}

@media (max-width: 900px) {
    .ov-hero { min-height: 280px; }
    .ov-hero-copy { max-width: 100%; }
    .ov-globe { opacity: 0.35; }
}

@media (max-width: 800px) {
    .ov-overview { padding: 23px; }
    .ov-overview-seal { display: none; }
    .ov-metrics { gap: 9px; }
    .ov-metric { padding: 13px; }
    .ov-metric b { font-size: 22px; }
    .ov-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
    .ov-card { padding: 24px; }
    .ov-card-top {
        min-height: 160px;
        padding: 22px;
    }
    .ov-amount { font-size: 38px; }
    .ov-art {
        right: 24px;
        transform: scale(0.95) rotate(-8deg);
    }
    .ov-card-body { padding: 22px 16px 4px; }
}

@media (max-width: 520px) {
    .ov-wrap { padding: 0 16px 22px; }
    .ov-hero { min-height: 265px; }
    .ov-hero-copy {
        width: 100%;
        padding: 32px 0 23px;
    }
    .ov-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }
    .ov-hero h1 {
        font-size: 29px;
        letter-spacing: -1.4px;
    }
    .ov-intro {
        max-width: 270px;
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.8;
    }
    .ov-globe {
        top: 0;
        right: -13px;
        width: 230px;
        opacity: 0.25;
    }
    .ov-tabs { width: 100%; }
    .ov-tab {
        height: 39px;
        font-size: 12px;
        line-height: 39px;
    }
    .ov-overview { padding: 20px 17px; }
    .ov-overview h2 { font-size: 23px; }
    .ov-metrics { grid-template-columns: 1fr 1fr; }
    .ov-specs {
        grid-template-columns: 1fr;
        font-size: 12px;
    }
    .ov-region { align-items: flex-start; }
    .ov-region strong {
        display: block;
        margin-bottom: 3px;
    }
    .ov-pricing-head { padding: 16px; }
    .ov-pricing-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .ov-pricing-head h2 { font-size: 15px; }
    .ov-pricing-head h2::before {
        margin-right: 8px;
        font-size: 19px;
    }
    .ov-pricing-title > span { font-size: 11px; }
    .ov-pricing-facts { gap: 8px 14px; }
    .ov-cards {
        grid-template-columns: 1fr;
        gap: 11px;
    }
    .ov-card:hover:not(.ov-card-disabled) { transform: none; }
    .ov-card-top {
        min-height: 155px;
        padding: 22px;
    }
    .ov-tier-label { font-size: 10px; }
    .ov-amount { font-size: 40px; }
    .ov-tier-desc { font-size: 12px; }
    .ov-art {
        right: 24px;
        transform: scale(1) rotate(-8deg);
    }
    .ov-card-body { padding: 20px 16px 4px; }
    .ov-buy { font-size: 13px; }
    .ov-support {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
        font-size: 12px;
    }
    .ov-empty { padding: 40px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .ov-float,
    .ov-orbit,
    .ov-card,
    .ov-tab,
    .ov-buy {
        animation: none !important;
        transition: none !important;
    }
}


/* 支付弹层打开时禁止底层推广横幅/导航误触 */
body.ov-pay-modal-open .dom-invite-banner,
body.ov-pay-modal-open .nav-invite a,
body[data-ov-pay-keep-lock="1"] .dom-invite-banner,
body[data-ov-pay-keep-lock="1"] .nav-invite {
    pointer-events: none !important;
    visibility: hidden !important;
    display: none !important;
}

html[data-ov-pay-freeze="1"],
html[data-ov-pay-freeze="1"] body {
    pointer-events: none !important;
    user-select: none !important;
}

html[data-ov-pay-freeze="1"] .layui-layer,
html[data-ov-pay-freeze="1"] .layui-layer-shade {
    pointer-events: auto !important;
}

#ov-pay-underlay-block {
    position: fixed;
    inset: 0;
    z-index: 19891013;
    background: transparent;
    pointer-events: auto;
}

body.ov-pay-modal-open .layui-layer-shade,
body.ov-pay-modal-open .layui-layer {
    pointer-events: auto;
}



/* 确认购买弹窗 */

.layui-layer.ov-pay-layer {

    border-radius: 12px;

    overflow: visible;

    height: auto !important;

    max-height: calc(100vh - 24px);

    box-shadow: 0 12px 40px rgba(10, 60, 90, 0.18);

    position: fixed !important;

    top: 50% !important;

    left: 50% !important;

    right: auto !important;

    bottom: auto !important;

    transform: translate(-50%, -50%) !important;

    margin: 0 !important;

    text-align: left;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;

}



.layui-layer.ov-pay-layer .layui-layer-content {

    text-align: left;

}



.layui-layer.ov-pay-layer .layui-layer-title {

    height: 52px;

    line-height: 52px;

    padding: 0 20px;

    font-size: 16px;

    font-weight: 600;

    color: #223344;

    background: #fff;

    border-bottom: 1px solid #eef3f7;

}



.layui-layer.ov-pay-layer .layui-layer-content {

    padding: 0;

    overflow: visible;

    height: auto !important;

}



.ov-pay-dialog {

    padding: 20px 20px 20px;

    color: #334455;

    font-size: 14px;

    line-height: 1.5;

    text-align: left;

    box-sizing: border-box;

}



.ov-pay-dialog *,
.ov-pay-dialog *::before,
.ov-pay-dialog *::after {

    box-sizing: border-box;

}



.ov-pay-summary-left {

    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 4px;

}



.ov-pay-summary {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    padding: 14px 16px;

    background: #ebf5ff;

    border: none;

    border-radius: 10px;

}



.ov-pay-summary-title {

    font-size: 15px;

    font-weight: 600;

    color: #223344;

    margin-bottom: 4px;

}



.ov-pay-summary-spec {

    font-size: 13px;

    color: #667788;

    width: 100%;

    display: block;

}



.ov-pay-tier-select {

    display: block;

    min-width: 140px;

    max-width: 100%;

    height: 32px;

    margin: 0;

    padding: 4px 28px 4px 10px !important;

    font-size: 13px;

    color: #334455;

    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23667788' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center !important;

    border: 1px solid #c5d9ee !important;

    border-radius: 6px;

    appearance: none;

    -webkit-appearance: none;

    cursor: pointer;

    text-align: left;

}



.ov-pay-tier-select:focus {

    outline: none;

    border-color: #44bfa2;

    box-shadow: 0 0 0 2px rgba(68, 191, 162, 0.15);

}



.ov-pay-tier-label {

    display: inline-block;

}



.ov-pay-summary-right {

    text-align: right;

    flex-shrink: 0;

}



.ov-pay-summary-label {

    display: block;

    font-size: 12px;

    color: #8899aa;

    margin-bottom: 2px;

}



.ov-pay-price {

    font-size: 22px;

    font-weight: 700;

    color: #e74c3c;

    letter-spacing: -0.5px;

}



.ov-pay-notice {

    margin-top: 14px;

    padding: 12px 14px 12px 12px;

    background: #fef2f2;

    border: 1px solid #fecaca;

    border-left: 4px solid #e74c3c;

    border-radius: 8px;

    color: #dc2626;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.65;

}



.ov-pay-renew-qty {

    margin-top: 14px;

}



.ov-pay-renew-qty-row {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 10px;

}



.ov-pay-renew-qty-label {

    flex: 0 0 auto;

    font-size: 14px;

    font-weight: 500;

    color: #303133;

}



.ov-pay-renew-qty-input {

    width: 120px;

    height: 36px;

    padding: 0 12px;

    border: 1px solid #dcdfe6;

    border-radius: 6px;

    font-size: 14px;

    color: #303133;

    background: #fff;

    box-sizing: border-box;

}



.ov-pay-renew-qty-input:focus {

    outline: none;

    border-color: #067db2;

}



.ov-pay-block {

    margin-top: 18px;

}



.ov-pay-block-title {

    font-size: 14px;

    font-weight: 600;

    color: #223344;

    margin-bottom: 12px;

}



.ov-pay-tiles {

    display: flex;

    flex-direction: row;

    gap: 12px;

}

.ov-pay-tiles--triple .ov-pay-tile {

    flex: 1 1 0;

    min-width: 0;

    padding: 10px 12px;

}

.ov-pay-tiles--triple .ov-pay-tile-name {

    white-space: nowrap;

    font-size: 14px;

}

.ov-pay-tiles--triple .ov-pay-balance-hint {

    display: block;

    white-space: nowrap;

    margin-top: 2px;

}

.ov-pay-tiles--triple .ov-pay-tile-main {

    flex-wrap: nowrap;

    gap: 8px;

}

.ov-pay-tile-balance .ov-pay-tile-icon {

    width: 28px;

    height: 28px;

}



.ov-pay-tile {

    position: relative;

    flex: 1;

    min-width: 0;

    display: flex !important;

    flex-direction: row;

    align-items: center;

    justify-content: space-between;

    min-height: 56px;

    margin: 0;

    padding: 12px 14px;

    background: #fff;

    border: 1px solid #e4edf2;

    border-radius: 10px;

    cursor: pointer;

    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;

    font-weight: normal;

    float: none;

}



.ov-pay-tile:hover {

    border-color: #c5d9e6;

}



.ov-pay-tile.is-active {

    border: 2px solid var(--ov-main);

    background: #f0f9fc;

    box-shadow: none;

}



.ov-pay-tile-input {

    position: absolute;

    width: 0;

    height: 0;

    opacity: 0;

    pointer-events: none;

}



.ov-pay-tile-main {

    display: flex;

    align-items: center;

    gap: 10px;

}



.ov-pay-tile-icon {

    width: 32px;

    height: 32px;

    object-fit: contain;

    flex-shrink: 0;

}

.ov-pay-balance-hint {

    font-size: 12px;

    color: #888;

    font-weight: normal;

}

.ov-pay-tile-name {

    font-size: 15px;

    color: #334455;

}



.ov-pay-tile-radio {

    flex-shrink: 0;

    width: 18px;

    height: 18px;

    border: 2px solid #c5ced6;

    border-radius: 50%;

    background: #fff;

    transition: border-color 0.2s, background 0.2s;

}



.ov-pay-tile.is-active .ov-pay-tile-radio {

    border-color: var(--ov-main);

    background: var(--ov-main);

    box-shadow: inset 0 0 0 4px #fff;

}



.ov-pay-agree {

    display: flex !important;

    align-items: center;

    gap: 8px;

    margin: 16px 0 0 0 !important;

    padding-top: 0;

    border-top: none;

    font-size: 13px;

    font-weight: normal;

    cursor: pointer;

    color: #667788;

    user-select: none;

    width: 100%;

    float: none;

}



.ov-pay-agree-check-wrap {

    flex-shrink: 0;

    position: relative;

    width: 16px;

    height: 16px;

    display: block;

}



.ov-pay-agree-input {

    position: absolute;

    left: 0;

    top: 0;

    z-index: 2;

    width: 16px;

    height: 16px;

    margin: 0;

    padding: 0;

    opacity: 0;

    cursor: pointer;

}



.ov-pay-agree-check {

    display: block;

    width: 16px;

    height: 16px;

    border: 1.5px solid #b8c5d0;

    border-radius: 3px;

    background: #fff;

    box-sizing: border-box;

    position: relative;

    pointer-events: none;

}



.ov-pay-agree-input:checked + .ov-pay-agree-check {

    background: var(--ov-main);

    border-color: var(--ov-main);

}



.ov-pay-agree-input:checked + .ov-pay-agree-check::after {

    content: "";

    position: absolute;

    left: 4.5px;

    top: 1px;

    width: 5px;

    height: 9px;

    border: solid #fff;

    border-width: 0 2px 2px 0;

    transform: rotate(45deg);

    box-sizing: border-box;

}



.ov-pay-agree-text {

    flex: 1;

    min-width: 0;

    line-height: 16px;

    padding-top: 0;

}



.ov-pay-agree a {

    color: var(--ov-main);

    text-decoration: none;

    font-weight: 500;

}



.ov-pay-agree a:hover {

    text-decoration: underline;

}



.ov-pay-footer {

    display: flex;

    gap: 12px;

    margin-top: 20px;

}



.ov-pay-btn {

    flex: 1;

    height: 44px;

    margin: 0;

    padding: 0 16px !important;

    border: none;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 500;

    cursor: pointer;

    transition: opacity 0.2s, background 0.2s;

}



.ov-pay-btn-cancel {

    background: #eef2f6;

    color: #556677;

}



.ov-pay-btn-cancel:hover {

    background: #e2e8ee;

}



.ov-pay-btn-submit {

    background: var(--ov-main);

    color: #fff;

}



.ov-pay-btn-submit:hover {

    background: var(--ov-main-deep);

}

.ov-pay-layer--domestic .ov-pay-btn-submit {
    background: #2f6bff;
}

.ov-pay-layer--domestic .ov-pay-btn-submit:hover {
    background: #245de0;
}

.ov-pay-layer--domestic .ov-pay-tile.is-active {
    border-color: #2f6bff;
    background: #f3f7ff;
}

.ov-pay-layer--domestic .ov-pay-tile.is-active .ov-pay-tile-radio {
    border-color: #2f6bff;
    background: #2f6bff;
}



.layui-layer.ov-refund-layer {

    border-radius: 10px;

}



.layui-layer.ov-refund-layer .layui-layer-content {

    padding: 0;

}



.ov-refund-body {

    padding: 18px 22px;

    font-size: 14px;

    line-height: 1.75;

    color: #445566;

}



.ov-refund-body p {

    margin: 0 0 10px;

}



.ov-refund-body p:last-child {

    margin-bottom: 0;

}




/* 确认购买弹窗 — 移动端 */

@media (max-width: 520px) {

    .layui-layer.ov-pay-layer {

        width: calc(100% - 24px) !important;

        max-width: 480px;

        margin-left: 0 !important;

    }

    .layui-layer.ov-pay-layer.ov-pay-layer--wide {

        max-width: calc(100% - 24px);

    }



    .layui-layer.ov-pay-layer .layui-layer-title {

        height: 48px;

        line-height: 48px;

        padding: 0 16px;

        font-size: 15px;

    }



    .ov-pay-dialog {

        padding: 16px 14px 18px;

        font-size: 13px;

    }



    .ov-pay-summary {

        flex-wrap: wrap;

        gap: 10px;

        padding: 12px 14px;

    }



    .ov-pay-summary-right {

        width: 100%;

        display: flex;

        align-items: baseline;

        justify-content: flex-start;

        gap: 6px;

        text-align: left;

    }



    .ov-pay-summary-label {

        display: inline;

        margin-bottom: 0;

    }



    .ov-pay-price {

        font-size: 20px;

    }



    .ov-pay-notice {

        font-size: 12px;

        padding: 10px 12px 10px 10px;

    }



    .ov-pay-tiles {

        flex-direction: column;

        gap: 10px;

    }



    .ov-pay-tile {

        flex: none;

        width: 100%;

        min-height: 52px;

        padding: 10px 12px;

        align-items: center;

    }



    .ov-pay-tile-main {

        align-items: center;

        min-height: 28px;

    }



    .ov-pay-tile-radio {

        align-self: center;

    }



    .ov-pay-tile-icon {

        width: 28px;

        height: 28px;

    }



    .ov-pay-tile-name {

        font-size: 14px;

        line-height: 28px;

    }



    .ov-pay-agree {

        align-items: center;

        gap: 8px;

    }



    .ov-pay-footer {

        flex-direction: row;

        gap: 10px;

        margin-top: 16px;

        padding-bottom: env(safe-area-inset-bottom, 0);

    }



    .ov-pay-btn {

        flex: 1;

        width: auto;

        min-width: 0;

        height: 42px;

        font-size: 14px;

    }

}



/* 钱包充值 — 摘要区紧凑布局 */

.ov-pay-summary--wallet {

    justify-content: center;

}



.ov-wallet-summary-row {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 24px;

    width: auto;

    max-width: 100%;

}



.ov-wallet-amount-group {

    display: flex;

    align-items: center;

    gap: 10px;

    flex: 0 1 auto;

    min-width: 0;

}



.ov-wallet-payable {

    flex: 0 0 auto;

    text-align: right;

    padding-left: 16px;

    border-left: 1px solid rgba(197, 217, 238, 0.9);

}



/* 钱包充值 — 金额步进器 */



.ov-wallet-amount-label {

    flex: 0 0 auto;

    font-size: 14px;

    font-weight: 500;

    color: #667788;

}



.ov-wallet-amount-ctrl {

    display: inline-flex;

    align-items: stretch;

    flex: 0 0 auto;

    border: 1px solid #c5d9ee;

    border-radius: 8px;

    overflow: hidden;

    background: #fff;

}



.ov-wallet-amt-btn {

    flex: 0 0 40px;

    width: 40px;

    min-width: 40px;

    height: 40px;

    border: none;

    background: #f5f9fc;

    color: #334455;

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

    padding: 0;

}



.ov-wallet-amt-btn:hover {

    background: #ebf5ff;

    color: #067db2;

}



.ov-wallet-amt-input {

    flex: 0 0 100px;

    width: 100px;

    height: 40px;

    border: none;

    border-left: 1px solid #c5d9ee;

    border-right: 1px solid #c5d9ee;

    text-align: center;

    font-size: 16px;

    font-weight: 600;

    color: #303133;

    padding: 0 8px;

    box-sizing: border-box;

}



.ov-wallet-amt-input:focus {

    outline: none;

    background: #fafcff;

}



/* 窄屏：充值金额与应付金额分行，避免遮挡 + 按钮 */

@media (max-width: 520px) {

    .ov-wallet-summary-row {

        flex-direction: column;

        align-items: stretch;

        gap: 10px;

        width: 100%;

    }



    .ov-wallet-amount-group {

        width: 100%;

        justify-content: space-between;

    }



    .ov-wallet-payable {

        width: 100%;

        padding-left: 0;

        border-left: none;

        padding-top: 8px;

        border-top: 1px solid rgba(197, 217, 238, 0.9);

        text-align: left;

        display: flex;

        align-items: baseline;

        gap: 6px;

    }



    .ov-wallet-amt-input {

        flex: 0 0 80px;

        width: 80px;

    }

}

