/* ===================== 自助开通分站 =====================
   参考站版式：渐变 hero + 卡片流 + 版本选择 + 收益测算 + 站点预览
   所有样式限定在 .ov-app 内，不影响用户中心其它页面。
   ====================================================== */

/* 变量同时作用于页面主体与弹窗（弹窗在 .ov-app 之外） */
.ov-app,
.ov-modal {
    --ov-bg: #f2f5fb;
    --ov-surface: #ffffff;
    --ov-surface-2: #f6f8fc;
    --ov-line: #e9eef7;
    --ov-text: #17203a;
    --ov-text-2: #6a7488;
    --ov-text-3: #9ba5b8;
    --ov-brand: #4b6cff;
    --ov-brand-2: #7a5cff;
    --ov-brand-3: #a855f7;
    --ov-brand-soft: #eef2ff;
    --ov-success: #12b76a;
    --ov-danger: #f04438;
    --ov-warn: #f79009;
    --ov-radius: 16px;
    --ov-radius-sm: 12px;
    --ov-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px rgba(16, 24, 40, .07);
    --ov-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
}

.ov-app {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0 24px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ov-text);
    -webkit-font-smoothing: antialiased;
}

/* PC 主题里 .hide 只在 #app 下生效，这里补齐 */
.ov-app .hide {
    display: none !important;
}

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

.ov-app a { color: inherit; text-decoration: none; }
.ov-app p { margin: 0; }

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

.ov-ic {
    display: block;
    flex: none;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------------- hero ---------------- */
.ov-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 20px 22px 30px;
    border-radius: var(--ov-radius);
    background: linear-gradient(135deg, #4b6cff 0%, #7a5cff 55%, #a855f7 100%);
    box-shadow: 0 12px 30px rgba(75, 108, 255, .22);
}

.ov-hero::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -96px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
}

.ov-hero-inner {
    position: relative;
    z-index: 2;
}

.ov-hero-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 34px;
}

.ov-hero-h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .5px;
}

.ov-hero-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .28);
    white-space: nowrap;
}

.ov-hero-title {
    margin-top: 14px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .3px;
}

.ov-hero-sub {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, .82);
}

.ov-hero-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 14px;
}

.ov-hero-tags span {
    font-size: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    margin: 0 6px 8px 0;
}

.ov-hero-acts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.ov-ghost {
    border: 1px solid var(--ov-line);
    background: var(--ov-surface);
    color: var(--ov-brand);
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: border-color .2s, color .2s;
}

.ov-ghost:hover {
    border-color: var(--ov-brand);
}

.ov-ghost .ov-ic {
    font-size: 14px;
}

/* ---------------- 步骤条 ---------------- */
.ov-steps {
    display: flex;
    align-items: center;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: var(--ov-radius);
    background: var(--ov-surface);
    border: 1px solid var(--ov-line);
    box-shadow: var(--ov-shadow-sm);
}

.ov-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ov-text-3);
}

.ov-step i {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-style: normal;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ov-surface-2);
    border: 1px solid var(--ov-line);
    color: var(--ov-text-3);
}

.ov-step.is-active {
    color: var(--ov-brand);
    font-weight: 600;
}

.ov-step.is-active i {
    background: var(--ov-brand);
    border-color: var(--ov-brand);
    color: #fff;
}

.ov-step.is-done {
    color: var(--ov-text-2);
}

.ov-step.is-done i {
    background: rgba(18, 183, 106, .15);
    border-color: transparent;
    color: var(--ov-success);
}

/* ---------------- 通用卡片 ---------------- */
.ov-card {
    margin-top: 12px;
    background: var(--ov-surface);
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    box-shadow: var(--ov-shadow);
    padding: 16px;
}

.ov-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.ov-card-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ov-text);
}

.ov-card-title .ov-ic {
    font-size: 17px;
    color: var(--ov-brand);
}

.ov-card-extra {
    font-size: 12px;
    color: var(--ov-text-3);
    text-align: right;
}

.ov-card-extra.link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ov-brand);
    cursor: pointer;
}

.ov-card-extra.link .ov-ic {
    font-size: 14px;
}

.ov-card-tip {
    margin: -4px 0 12px;
    font-size: 12px;
    color: var(--ov-text-3);
}

/* ---------------- 收益动态 ---------------- */
.ov-income {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--ov-radius-sm);
    background: var(--ov-surface-2);
    border: 1px solid var(--ov-line);
}

.ov-income-icon {
    width: 32px;
    height: 32px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--ov-brand-soft);
    color: var(--ov-brand);
}

.ov-income-icon .ov-ic {
    font-size: 18px;
}

.ov-income-text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: var(--ov-text-2);
}

.ov-income-text b {
    color: var(--ov-danger);
    font-weight: 700;
}

/* ---------------- 已开通 ---------------- */
.ov-done {
    text-align: center;
    padding: 28px 0 20px;
}

.ov-done-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(18, 183, 106, .13);
    color: var(--ov-success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ov-done-icon .ov-ic {
    font-size: 28px;
}

.ov-done-text {
    font-size: 15px;
    color: var(--ov-text-2);
    margin: 14px 0 18px;
}

/* ---------------- 版本选择 ---------------- */
.ov-plan-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ov-plan-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: var(--ov-radius-sm);
    border: 1.5px solid var(--ov-line);
    background: var(--ov-surface-2);
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.ov-plan-item:hover {
    border-color: #c9d4f5;
}

.ov-plan-item.is-active {
    border-color: var(--ov-brand);
    background: var(--ov-brand-soft);
    box-shadow: 0 6px 18px rgba(75, 108, 255, .14);
}

.ov-plan-item input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.ov-plan-radio {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #c3ccdd;
    background: var(--ov-surface);
    transition: border-color .2s, background .2s;
}

.ov-plan-radio::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .2s;
}

.ov-plan-item.is-active .ov-plan-radio {
    border-color: var(--ov-brand);
    background: var(--ov-brand);
}

.ov-plan-item.is-active .ov-plan-radio::after {
    transform: translate(-50%, -50%) scale(1);
}

.ov-plan-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ov-plan-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
}

.ov-plan-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #ff8a3d, #ff5c5c);
}

.ov-plan-desc {
    font-size: 12px;
    color: var(--ov-text-3);
}

.ov-plan-price {
    flex: none;
    text-align: right;
}

.ov-plan-price .ov-pp-num {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--ov-danger);
}

.ov-plan-price .ov-pp-num small {
    font-size: 12px;
    font-weight: 500;
}

.ov-plan-price .ov-pp-sub {
    display: block;
    font-size: 11px;
    color: var(--ov-text-3);
    margin-top: 1px;
}

/* ---------------- 收益测算 ---------------- */
.ov-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ov-calc-field label {
    display: block;
    font-size: 12px;
    color: var(--ov-text-3);
    margin-bottom: 6px;
}

.ov-calc-result {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.ov-calc-cell {
    flex: 1;
    min-width: 0;
    padding: 10px;
    border-radius: var(--ov-radius-sm);
    background: var(--ov-surface-2);
    text-align: center;
}

.ov-calc-cell span {
    display: block;
    font-size: 11px;
    color: var(--ov-text-3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ov-calc-cell b {
    display: block;
    font-size: 16px;
    color: var(--ov-danger);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ov-calc-cell.is-brand b {
    color: var(--ov-brand);
}

/* ---------------- 站点预览卡 ---------------- */
.ov-site-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--ov-radius);
    margin-bottom: 14px;
    background: linear-gradient(135deg, #4b6cff 0%, #a855f7 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(75, 108, 255, .26);
}

.ov-sc-logo {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
}

.ov-sc-body {
    flex: 1;
    min-width: 0;
}

.ov-sc-name,
.ov-sc-url {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ov-sc-name {
    font-size: 15px;
    font-weight: 600;
}

.ov-sc-url {
    font-size: 12px;
    color: rgba(255, 255, 255, .85);
}

.ov-sc-tag {
    flex: none;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .24);
}

/* ---------------- 表单字段 ---------------- */
.ov-field {
    margin-bottom: 14px;
}

.ov-field:last-child {
    margin-bottom: 0;
}

.ov-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.ov-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--ov-text);
}

.ov-counter {
    flex: none;
    font-size: 11px;
    color: var(--ov-text-3);
}

.ov-counter.is-warn {
    color: var(--ov-warn);
}

.ov-tip-btn {
    border: 0;
    background: none;
    padding: 0;
    color: var(--ov-text-3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.ov-tip-btn .ov-ic {
    font-size: 15px;
}

.ov-tip-btn:hover {
    color: var(--ov-brand);
}

.ov-ctrl {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 46px;
    border: 1.5px solid var(--ov-line);
    border-radius: 23px;
    background: var(--ov-surface-2);
    transition: border-color .2s, background .2s;
}

.ov-ctrl:focus-within {
    border-color: var(--ov-line);
    background: var(--ov-surface);
}

.ov-ctrl.is-error {
    border-color: var(--ov-danger);
}

.ov-ctrl.is-ok {
    border-color: var(--ov-line);
}

.ov-ctrl.is-disabled {
    background: #f2f4f8;
}

.ov-ctrl.is-disabled .ov-input {
    color: var(--ov-text-2);
    cursor: default;
}

.ov-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--ov-text);
    font-size: 14px;
    font-family: inherit;
}

.ov-input::placeholder {
    color: var(--ov-text-3);
}

.ov-input::-webkit-outer-spin-button,
.ov-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ov-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.ov-ctrl-btn {
    flex: none;
    border: 0;
    background: var(--ov-surface);
    color: var(--ov-text-3);
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.ov-ctrl-btn.show {
    display: flex;
}

.ov-ctrl-btn .ov-ic {
    font-size: 15px;
}

.ov-ctrl-btn:hover {
    color: var(--ov-brand);
}

.ov-hint {
    margin-top: 7px;
    font-size: 12px;
    color: var(--ov-text-3);
}

.ov-error {
    margin-top: 7px;
    font-size: 12px;
    color: var(--ov-danger);
    display: none;
}

.ov-error.show {
    display: block;
}

.ov-state {
    margin-top: 7px;
    font-size: 12px;
    display: none;
    align-items: center;
    gap: 5px;
}

.ov-state.show {
    display: flex;
}

.ov-state.ok { color: var(--ov-success); }
.ov-state.bad { color: var(--ov-danger); }
.ov-state.wait { color: var(--ov-text-3); }

.ov-state .ov-ic {
    font-size: 13px;
}

/* ---------------- 自绘下拉框（替代原生 select 的系统蓝底样式） ---------------- */
.ov-select {
    position: relative;
    flex: 1;
    min-width: 0;
}

.ov-select.is-open {
    z-index: 60;
}

.ov-select-btn {
    position: relative;
    width: 100%;
    height: 46px;
    padding: 0 40px 0 16px;
    border: 1.5px solid var(--ov-line);
    border-radius: 23px;
    background: var(--ov-surface-2);
    color: var(--ov-text);
    font-size: 14px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s;
}

.ov-select-btn:hover {
    background: var(--ov-surface);
}

.ov-select-btn::after {
    content: "";
    position: absolute;
    right: 17px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid var(--ov-text-3);
    border-bottom: 2px solid var(--ov-text-3);
    transform: rotate(45deg);
    transition: transform .2s;
    pointer-events: none;
}

.ov-select.is-open .ov-select-btn::after {
    transform: rotate(-135deg);
    margin-top: -2px;
}

.ov-select-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ov-select-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 52px;
    max-height: 210px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--ov-line);
    border-radius: 14px;
    background: var(--ov-surface);
    box-shadow: 0 12px 30px rgba(16, 24, 40, .14);
}

.ov-select.is-open .ov-select-list {
    display: block;
}

.ov-select-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 14px;
    color: var(--ov-text);
    cursor: pointer;
}

.ov-select-item:hover {
    background: var(--ov-surface-2);
}

.ov-select-item.is-selected {
    background: var(--ov-surface-2);
    font-weight: 600;
}

.ov-select-item.is-selected::after {
    content: "✓";
    font-size: 13px;
    font-weight: 700;
    color: var(--ov-success);
}

/* ---------------- 域名行 ---------------- */
.ov-domain-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ov-domain-row .ov-ctrl {
    flex: 1;
    min-width: 0;
}

.ov-domain-select {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 34px 0 12px;
    border: 1.5px solid var(--ov-line);
    border-radius: 23px;
    background-color: var(--ov-surface-2);
    color: var(--ov-text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a7488' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    transition: border-color .2s, background-color .2s;
}

.ov-domain-sep {
    flex: none;
    color: var(--ov-text-3);
    font-size: 15px;
}

.ov-domain-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 9px;
}

.ov-domain-preview {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: var(--ov-text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ov-domain-preview b {
    color: var(--ov-brand);
    font-weight: 600;
}

.ov-domain-tools {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---------------- 支付方式 ---------------- */
.ov-pay-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ov-pay-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--ov-line);
    background: var(--ov-surface-2);
    cursor: pointer;
    font-size: 14px;
    color: var(--ov-text);
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.ov-pay-chip:hover {
    border-color: #c9d4f5;
}

.ov-pay-chip.is-active {
    border-color: var(--ov-brand);
    background: var(--ov-brand-soft);
    color: var(--ov-brand);
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(75, 108, 255, .14);
}

.ov-pay-chip.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.ov-pay-chip .ov-ic {
    font-size: 16px;
}

.ov-pay-chip small {
    font-size: 12px;
    font-weight: 400;
    color: var(--ov-text-3);
}

/* ---------------- 协议 / 安全提示 ---------------- */
.ov-agree-row {
    padding: 12px 2px 0;
}

.ov-agree {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.ov-agree input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.ov-agree-box {
    position: relative;
    flex: none;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid #c3ccdd;
    background: var(--ov-surface);
    transition: border-color .2s, background .2s;
}

.ov-agree-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: rotate(42deg) scale(0);
    transition: transform .18s;
}

.ov-agree input:checked + .ov-agree-box {
    border-color: var(--ov-brand);
    background: var(--ov-brand);
}

.ov-agree input:checked + .ov-agree-box::after {
    transform: rotate(42deg) scale(1);
}

.ov-agree.is-error .ov-agree-box {
    border-color: var(--ov-danger);
}

.ov-agree-text {
    font-size: 13px;
    color: var(--ov-text-2);
    line-height: 1.7;
}

.ov-agree-text a {
    color: var(--ov-brand);
    font-weight: 600;
}

.ov-safe-tip {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: var(--ov-radius-sm);
    background: var(--ov-surface);
    border: 1px solid var(--ov-line);
    box-shadow: var(--ov-shadow-sm);
}

.ov-safe-tip .ov-ic {
    font-size: 17px;
    color: var(--ov-success);
    margin-top: 3px;
}

.ov-safe-tip p {
    font-size: 12.5px;
    color: var(--ov-text-2);
    line-height: 1.7;
}

.ov-safe-tip b {
    color: var(--ov-text);
}

/* ---------------- 提交条 ---------------- */
.ov-submit-bar {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--ov-radius);
    background: var(--ov-surface);
    border: 1px solid var(--ov-line);
    box-shadow: 0 -1px 2px rgba(16, 24, 40, .04), 0 10px 28px rgba(16, 24, 40, .09);
}

.ov-submit-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ov-submit-summary {
    flex: none;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.ov-ss-label {
    font-size: 12px;
    color: var(--ov-text-3);
}

.ov-ss-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--ov-danger);
}

.ov-submit-btn {
    flex: 1;
    min-width: 0;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    cursor: pointer;
    background: linear-gradient(135deg, #4b6cff 0%, #7a5cff 55%, #a855f7 100%);
    box-shadow: 0 8px 20px rgba(75, 108, 255, .32);
    transition: transform .18s, box-shadow .18s, opacity .18s;
}

.ov-submit-btn:hover {
    box-shadow: 0 10px 26px rgba(75, 108, 255, .4);
}

.ov-submit-btn:active {
    transform: scale(.98);
}

.ov-submit-btn.is-loading {
    opacity: .75;
    pointer-events: none;
}

/* ---------------- 弹窗 ---------------- */
.ov-modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

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

.ov-modal-mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(16, 24, 40, .45);
}

.ov-modal-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: var(--ov-surface);
    box-shadow: 0 24px 60px rgba(16, 24, 40, .28);
}

.ov-ms-head {
    padding: 18px 20px 14px;
    color: #fff;
    background: linear-gradient(135deg, #4b6cff 0%, #7a5cff 100%);
}

.ov-ms-title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.ov-ms-sub {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, .82);
}

.ov-ms-body {
    padding: 14px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ov-ms-foot {
    padding: 6px 16px 16px;
}

.ov-ms-close {
    display: block;
    width: 100%;
    height: 46px;
    line-height: 46px;
    text-align: center;
    border: 0;
    border-radius: 23px;
    background: var(--ov-brand-soft);
    color: var(--ov-brand);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.ov-ms-close:hover {
    background: #e3eaff;
}

.ov-feat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ov-feat-table thead th {
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ov-text-2);
    border-bottom: 1px solid var(--ov-line);
    text-align: center;
    white-space: nowrap;
}

.ov-feat-table thead th:first-child {
    text-align: left;
}

.ov-feat-table tbody td {
    padding: 11px 8px;
    border-bottom: 1px solid var(--ov-line);
    text-align: center;
    color: var(--ov-text-2);
}

.ov-feat-table tbody td:first-child {
    text-align: left;
    color: var(--ov-text);
    font-weight: 500;
}

.ov-feat-table tbody tr:last-child td {
    border-bottom: 0;
}

.ov-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.ov-mark.yes {
    background: rgba(18, 183, 106, .13);
    color: var(--ov-success);
}

.ov-mark.no {
    background: rgba(240, 68, 56, .12);
    color: var(--ov-danger);
}

.ov-mark .ov-ic {
    font-size: 12px;
}

/* 只开放一个版本时隐藏对比表最后一列 */
.ov-feat-table.only-one thead th:last-child,
.ov-feat-table.only-one tbody td:last-child {
    display: none;
}

.ov-faq-item {
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--ov-surface-2);
}

.ov-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ov-text);
    cursor: pointer;
}

.ov-faq-q .ov-ic {
    flex: none;
    font-size: 15px;
    color: var(--ov-text-3);
    transition: transform .2s;
}

.ov-faq-item.is-open .ov-faq-q .ov-ic {
    transform: rotate(180deg);
}

.ov-faq-a {
    display: none;
    padding: 0 14px 12px;
    font-size: 13px;
    color: var(--ov-text-2);
    line-height: 1.75;
}

.ov-faq-item.is-open .ov-faq-a {
    display: block;
}

.ov-faq-a b {
    color: var(--ov-danger);
}

/* ---------------- 窄屏适配 ---------------- */
@media (max-width: 640px) {
    .ov-app { font-size: 14px; }
    .ov-hero { padding: 16px 16px 24px; }
    .ov-hero-title { font-size: 20px; }
    .ov-calc-grid { grid-template-columns: 1fr 1fr; }
    .ov-domain-row { flex-wrap: wrap; }
    .ov-domain-row .ov-ctrl { flex: 1 1 100%; }
    .ov-select { flex: 1 1 100%; }
    .ov-domain-sep { display: none; }
    .ov-submit-inner { flex-wrap: wrap; }
    .ov-submit-btn { flex: 1 1 100%; }
}
