@charset "utf-8";
/**
 * =========================================================================
 *  人工充值通道 · 前台皮肤    pay/recharge.css
 * =========================================================================
 *  给 pay/index.php（下单）和 pay/order.php（订单/查进度）共用。
 *  沿用全站「浅色磨砂玻璃」令牌，所有规则收在 .rc 前缀下，不污染别的页。
 * =========================================================================
 */

.rc * { box-sizing: border-box; }

.rc {
    --ink:  #16243F;
    --ink2: #3E4F70;
    --ink3: #7C8BA8;
    --ink4: #A3AFC6;
    --line: rgba(196,210,232,.62);
    --grad: linear-gradient(135deg,#3355FF,#6D4BFF 52%,#22C3E6);
    --wx: #07C160;
    --zfb: #1677FF;

    margin: 0;
    min-height: 100vh;
    padding-bottom: 70px;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #F1F5FC;
    position: relative;
    overflow-x: hidden;
}

/* ---- 背景：极光光斑 + 网格 ---- */
.rc::before {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(700px 440px at 10% -8%, rgba(51,85,255,.13), transparent 62%),
        radial-gradient(600px 400px at 92% 2%, rgba(109,75,255,.11), transparent 60%),
        radial-gradient(760px 480px at 76% 98%, rgba(34,195,230,.10), transparent 64%),
        linear-gradient(180deg,#F4F7FD 0%,#EEF3FB 100%);
}
.rc::after {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
    background-image:
        repeating-linear-gradient(0deg, rgba(120,155,215,.075) 0 1px, transparent 1px 64px),
        repeating-linear-gradient(90deg, rgba(120,155,215,.075) 0 1px, transparent 1px 64px);
    -webkit-mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 74%);
            mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 74%);
}
.rc a { text-decoration: none; }

/* ---- 顶部 ---- */
.rc-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.8);
    -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(196,208,232,.55);
}
.rc-nav-in { max-width: 880px; margin: 0 auto; padding: 0 22px; height: 60px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.rc-brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.rc-logo { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 15px; background: var(--grad);
    box-shadow: 0 7px 17px -7px rgba(51,85,255,.72); }
.rc-brand b { display: block; font-size: 15px; line-height: 1.25; }
.rc-brand i { font-style: normal; font-size: 9.6px; letter-spacing: 1.3px; color: #9AA8C2; }
.rc-nav-links { display: flex; align-items: center; gap: 4px; }
.rc-nav-links a { padding: 7px 12px; border-radius: 9px; font-size: 13px; font-weight: 600;
    color: #4B5C7E; transition: background .18s, color .18s; white-space: nowrap; }
.rc-nav-links a:hover { color: #3355FF; background: rgba(51,85,255,.07); }
/* 窄屏：导航按钮收紧，避免三个链接被挤成两行 */
@media (max-width: 520px) {
    .rc-brand i { display: none; }
    .rc-brand b { font-size: 14px; }
    .rc-nav-links { gap: 2px; }
    .rc-nav-links a { padding: 6px 9px; font-size: 12.2px; }
}

/* ---- 容器 ---- */
.rc-wrap { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding: 24px 22px 0; }
@media (max-width: 640px) { .rc-wrap { padding: 16px 14px 0; } .rc-nav-in { padding: 0 14px; } }

/* ---- 页头 ---- */
.rc-hero { text-align: center; margin-bottom: 20px; }
.rc-hero .tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 999px;
    font-size: 11.8px; font-weight: 800; color: #3355FF;
    background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.98);
    box-shadow: 0 10px 22px -18px rgba(28,52,120,.6); margin-bottom: 12px; }
.rc-hero .tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--grad); display: block; }
.rc-hero h1 { margin: 0 0 7px; font-size: clamp(1.35rem, 3.2vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; }
.rc-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; }
.rc-hero p { margin: 0 auto; max-width: 560px; font-size: 13px; line-height: 1.75; color: var(--ink3); }

/* ---- 玻璃卡 ---- */
.rc-card {
    position: relative; overflow: hidden; border-radius: 20px; margin-bottom: 16px;
    background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,255,255,.79));
    -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255,255,255,.97);
    box-shadow: 0 0 0 1px rgba(120,155,215,.13), 0 22px 46px -32px rgba(28,52,120,.42),
                inset 0 1px 0 rgba(255,255,255,1);
}
.rc-card-hd { display: flex; align-items: center; gap: 9px; padding: 14px 19px;
    border-bottom: 1px solid var(--line); }
.rc-card-hd .ico { width: 25px; height: 25px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-size: 12.5px; color: #3355FF; background: rgba(51,85,255,.09); flex: 0 0 auto; }
.rc-card-hd h2, .rc-card-hd h3 { margin: 0; font-size: 14.4px; font-weight: 800; letter-spacing: -.01em; }
.rc-card-hd .sub { margin-left: auto; font-size: 12px; color: #9AA8C2; font-weight: 600; }
.rc-card-bd { padding: 18px 19px; }

/* ---- 金额选择 ---- */
.rc-label { font-size: 12.4px; font-weight: 800; color: var(--ink2); margin-bottom: 9px; display: block; }
.rc-label em { font-style: normal; font-weight: 500; color: var(--ink4); margin-left: 6px; }

.rc-amts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
@media (min-width: 620px) { .rc-amts { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.rc-amt {
    position: relative; padding: 14px 8px; border-radius: 13px; cursor: pointer; text-align: center;
    font-family: inherit; font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.01em;
    background: rgba(255,255,255,.9); border: 1.5px solid rgba(196,210,232,.7);
    box-shadow: 0 8px 18px -16px rgba(28,52,120,.5);
    transition: transform .16s, border-color .16s, color .16s, box-shadow .16s, background .16s;
}
.rc-amt small { display: block; font-size: 10.4px; font-weight: 600; color: var(--ink4); margin-top: 2px; }
.rc-amt:hover { transform: translateY(-1px); border-color: rgba(51,85,255,.4); color: #3355FF; }
.rc-amt.on { background: var(--grad); color: #fff; border-color: transparent;
    box-shadow: 0 14px 26px -14px rgba(51,85,255,.9); }
.rc-amt.on small { color: rgba(255,255,255,.75); }

.rc-custom { margin-top: 11px; display: flex; align-items: center; gap: 9px; }
.rc-custom .yuan { font-size: 18px; font-weight: 800; color: var(--ink3); flex: 0 0 auto; }
.rc-input {
    width: 100%; padding: 11px 13px; border-radius: 11px; font-family: inherit; font-size: 15px;
    font-weight: 700; color: var(--ink); background: #fff;
    border: 1.5px solid rgba(196,210,232,.75);
    transition: border-color .16s, box-shadow .16s;
}
.rc-input:focus { outline: none; border-color: rgba(51,85,255,.6); box-shadow: 0 0 0 3px rgba(51,85,255,.12); }
.rc-input::placeholder { color: #B4C0D4; font-weight: 500; }
textarea.rc-input { font-weight: 500; resize: vertical; line-height: 1.7; }

/* ---- 支付方式 ---- */
.rc-pays { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.rc-pay {
    display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-radius: 14px; cursor: pointer;
    font-family: inherit; text-align: left; background: rgba(255,255,255,.9);
    border: 1.5px solid rgba(196,210,232,.7);
    transition: transform .16s, border-color .16s, box-shadow .16s;
}
.rc-pay:hover { transform: translateY(-1px); border-color: rgba(51,85,255,.35); }
.rc-pay .dot { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; font-weight: 800; }
.rc-pay .tx { min-width: 0; }
.rc-pay .tx b { display: block; font-size: 13.8px; font-weight: 800; color: var(--ink); }
.rc-pay .tx span { font-size: 11.4px; color: var(--ink3); }
.rc-pay.on { border-color: rgba(51,85,255,.55); box-shadow: 0 0 0 3px rgba(51,85,255,.1); background: #fff; }
.rc-pay.dis { opacity: .45; cursor: not-allowed; }
.rc-pay.dis:hover { transform: none; border-color: rgba(196,210,232,.7); }

/* ---- 主按钮 ---- */
.rc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    width: 100%; padding: 14px 20px; border-radius: 13px; border: none; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 800; letter-spacing: .01em;
    color: #fff; background: var(--grad);
    box-shadow: 0 16px 30px -16px rgba(51,85,255,.95);
    transition: transform .18s, box-shadow .18s, opacity .18s;
}
.rc-btn:hover { transform: translateY(-1px); box-shadow: 0 20px 36px -16px rgba(51,85,255,1); }
.rc-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.rc-btn.ghost { color: var(--ink2); background: rgba(255,255,255,.92);
    border: 1.5px solid rgba(196,210,232,.8); box-shadow: 0 8px 18px -16px rgba(28,52,120,.5); }
.rc-btn.ghost:hover { color: #3355FF; border-color: rgba(51,85,255,.4); }
.rc-btn.sm { padding: 10px 16px; font-size: 13.4px; border-radius: 11px; width: auto; }

/* ---- 收款码 ---- */
.rc-qrbox { text-align: center; padding: 6px 0 2px; }
.rc-qrwrap { display: inline-block; padding: 12px; border-radius: 18px; background: #fff;
    border: 1px solid rgba(196,210,232,.7); box-shadow: 0 16px 34px -26px rgba(28,52,120,.6); }
.rc-qrwrap img { display: block; width: 208px; max-width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 420px) { .rc-qrwrap img { width: 178px; } }
.rc-qrname { margin-top: 10px; font-size: 13.4px; font-weight: 800; }
.rc-qrhint { margin-top: 6px; font-size: 12px; color: var(--ink3); line-height: 1.7; }
.rc-qrhint b { color: #3355FF; }

.rc-nocode { padding: 26px 16px; text-align: center; color: var(--ink3); font-size: 13px; line-height: 1.8; }
.rc-nocode .i { font-size: 30px; opacity: .4; margin-bottom: 8px; }

/* ---- 金额大标题（订单页） ---- */
.rc-amount { text-align: center; padding: 8px 0 4px; }
.rc-amount .t { font-size: 12px; font-weight: 700; color: var(--ink3); letter-spacing: .06em; }
.rc-amount .v { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
    background: var(--grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.rc-amount .v small { font-size: 20px; margin-right: 2px; }

/* ---- 订单号条 ---- */
.rc-no { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
    padding: 10px 14px; border-radius: 12px; margin-top: 4px;
    background: rgba(51,85,255,.055); border: 1px dashed rgba(51,85,255,.25); }
.rc-no .k { font-size: 11.6px; font-weight: 700; color: var(--ink3); }
.rc-no .v { font-family: Consolas, Monaco, monospace; font-size: 14px; font-weight: 800; color: #2A3F6B;
    letter-spacing: .02em; }
.rc-mini { padding: 3px 9px; border-radius: 7px; border: 1px solid rgba(51,85,255,.22);
    background: #fff; font-family: inherit; font-size: 11.2px; font-weight: 700; color: #3355FF;
    cursor: pointer; transition: background .16s, color .16s; white-space: nowrap; }
.rc-mini:hover { background: #3355FF; color: #fff; border-color: transparent; }
.rc-mini.on { background: #10B981; color: #fff; border-color: transparent; }

/* ---- 状态头 ---- */
.rc-status { display: flex; align-items: center; gap: 15px; padding: 20px 22px; flex-wrap: wrap;
    border-radius: 22px; margin-bottom: 16px; position: relative; overflow: hidden;
    background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(255,255,255,.78));
    -webkit-backdrop-filter: blur(24px) saturate(185%); backdrop-filter: blur(24px) saturate(185%);
    border: 1px solid rgba(255,255,255,.98);
    box-shadow: 0 0 0 1px rgba(120,155,215,.15), 0 26px 54px -36px rgba(28,52,120,.5),
                inset 0 1px 0 rgba(255,255,255,1);
}
.rc-status::before { content: ''; position: absolute; right: -80px; top: -100px; width: 300px; height: 300px;
    border-radius: 50%; background: radial-gradient(circle, var(--sc, rgba(51,85,255,.14)), transparent 68%); }
.rc-status .ic { width: 54px; height: 54px; border-radius: 16px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center; font-size: 24px; position: relative; }
.rc-status .tx { flex: 1 1 200px; min-width: 0; position: relative; }
.rc-status .tx h2 { margin: 0 0 4px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.rc-status .tx p { margin: 0; font-size: 12.8px; color: var(--ink3); line-height: 1.65; }

/* ---- 进度条 ---- */
.rc-steps { display: flex; padding: 16px 20px 14px; margin-bottom: 16px; border-radius: 20px;
    background: rgba(255,255,255,.74);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.96);
    box-shadow: 0 0 0 1px rgba(120,155,215,.12), 0 18px 40px -34px rgba(28,52,120,.4); }
.rc-step { flex: 1; position: relative; text-align: center; min-width: 0; }
.rc-step .d { width: 24px; height: 24px; border-radius: 50%; margin: 0 auto 7px; position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
    color: #A3AFC6; background: #fff; border: 2px solid rgba(196,210,232,.85); }
.rc-step .l { position: absolute; top: 11px; left: 50%; width: 100%; height: 2px;
    background: rgba(196,210,232,.7); z-index: 1; }
.rc-step:last-child .l { display: none; }
.rc-step .t { font-size: 12px; font-weight: 700; color: #A3AFC6; }
.rc-step.done .d { background: var(--grad); border-color: transparent; color: #fff;
    box-shadow: 0 7px 15px -8px rgba(51,85,255,.9); }
.rc-step.done .l { background: var(--grad); }
.rc-step.done .t { color: #3355FF; }
.rc-step.bad .d { background: #EF4444; border-color: transparent; color: #fff; }
.rc-step.bad .t { color: #DC2626; }
@media (max-width: 520px) { .rc-step .t { font-size: 10.6px; } }

/* ---- 说明列表 ---- */
.rc-notes { display: flex; flex-direction: column; gap: 9px; }
.rc-note { display: flex; gap: 9px; font-size: 12.6px; line-height: 1.72; color: var(--ink2); }
.rc-note .n { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px; margin-top: 1px;
    display: flex; align-items: center; justify-content: center; font-size: 10.6px; font-weight: 800;
    color: #3355FF; background: rgba(51,85,255,.09); }
.rc-note b { color: var(--ink); }

.rc-tip { padding: 12px 14px; border-radius: 12px; font-size: 12.4px; line-height: 1.75; color: #7A4A12;
    background: linear-gradient(135deg, rgba(255,214,102,.18), rgba(255,255,255,.6));
    border-left: 3px solid #F5B942; }
.rc-tip b { color: #92400E; }
.rc-alert { padding: 12px 15px; border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.7; margin-bottom: 14px; }
.rc-alert.ok  { color: #06603F; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); }
.rc-alert.err { color: #991B1B; background: rgba(239,68,68,.09); border: 1px solid rgba(239,68,68,.28); }
.rc-alert.warn { color: #7A4A12; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); }

/* ---- kv 信息 ---- */
.rc-kv { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
@media (max-width: 520px) { .rc-kv { grid-template-columns: 1fr; } }
.rc-kv .it { padding: 10px 13px; border-radius: 11px; background: rgba(255,255,255,.82);
    border: 1px solid rgba(196,210,232,.6); min-width: 0; }
.rc-kv .it .k { font-size: 11.2px; font-weight: 700; color: #8A98B3; margin-bottom: 3px; }
.rc-kv .it .v { font-size: 13px; font-weight: 700; color: var(--ink); word-break: break-all; line-height: 1.5; }
.rc-kv .it .v.mono { font-family: Consolas, Monaco, monospace; font-size: 12.6px; }

/* ---- 凭证预览 ---- */
.rc-proof { display: flex; align-items: center; gap: 12px; padding: 11px; border-radius: 12px;
    background: rgba(255,255,255,.85); border: 1px solid rgba(196,210,232,.65); }
.rc-proof img { width: 62px; height: 62px; border-radius: 9px; object-fit: cover; flex: 0 0 auto;
    border: 1px solid rgba(196,210,232,.7); background: #fff; }
.rc-proof .tx { min-width: 0; }
.rc-proof .tx b { display: block; font-size: 12.8px; font-weight: 800; }
.rc-proof .tx span { font-size: 11.6px; color: var(--ink3); }

/* ---- 文件选择 ---- */
.rc-file { position: relative; overflow: hidden; display: block; padding: 16px; border-radius: 13px;
    text-align: center; cursor: pointer;
    background: rgba(255,255,255,.7); border: 1.5px dashed rgba(120,155,215,.5);
    transition: border-color .18s, background .18s; }
.rc-file:hover { border-color: rgba(51,85,255,.55); background: #fff; }
.rc-file input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rc-file .i { font-size: 22px; margin-bottom: 5px; opacity: .65; }
.rc-file .t { font-size: 12.8px; font-weight: 700; color: var(--ink2); }
.rc-file .s { font-size: 11.4px; color: var(--ink3); margin-top: 3px; }
.rc-prev { display: none; margin-top: 10px; text-align: center; }
.rc-prev img { max-width: 180px; max-height: 180px; border-radius: 11px; border: 1px solid rgba(196,210,232,.8); }

/* ---- 查询表单 ---- */
.rc-query { display: flex; gap: 9px; }
@media (max-width: 480px) { .rc-query { flex-direction: column; } }

/* ---- 记录列表 ---- */
.rc-list { display: flex; flex-direction: column; gap: 8px; }
.rc-li { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 12px;
    background: rgba(255,255,255,.82); border: 1px solid rgba(196,210,232,.6);
    transition: border-color .16s, transform .16s; }
.rc-li:hover { border-color: rgba(51,85,255,.35); transform: translateY(-1px); }
.rc-li .tx { flex: 1; min-width: 0; }
.rc-li .tx b { display: block; font-size: 13.4px; font-weight: 800; color: var(--ink); }
.rc-li .tx span { font-size: 11.4px; color: var(--ink3); font-family: Consolas, Monaco, monospace; }
.rc-li .am { font-size: 14px; font-weight: 800; color: #3355FF; flex: 0 0 auto; }
.rc-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 800; flex: 0 0 auto; }
.rc-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---- 空状态 ---- */
.rc-empty { text-align: center; padding: 28px 16px; color: var(--ink3); }
.rc-empty .i { font-size: 30px; opacity: .4; margin-bottom: 8px; }
.rc-empty p { margin: 0; font-size: 12.8px; line-height: 1.75; }

/* ---- Toast ---- */
.rc-toast { position: fixed; left: 50%; top: 74px; transform: translate(-50%,-8px); z-index: 9999;
    padding: 10px 21px; border-radius: 11px; font-size: 13px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg,#10B981,#059669);
    box-shadow: 0 14px 30px -12px rgba(16,185,129,.85); opacity: 0; pointer-events: none;
    transition: opacity .22s, transform .22s; }
.rc-toast.on { opacity: 1; transform: translate(-50%,0); }

/* ---- 页脚 ---- */
.rc-foot { position: relative; z-index: 1; text-align: center; padding: 26px 20px 0;
    font-size: 11.8px; color: #A3AFC6; line-height: 1.9; }
.rc-foot a { color: #8A98B3; }
.rc-foot a:hover { color: #3355FF; }
