/* Payment hero, matched to the WeCom hero's 142 + 490 + 74 desktop height. */
.ui-payment .nav:not(.scrolled){background:transparent;border-bottom-color:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.ui-payment .ui-hero{position:relative;isolation:isolate;overflow:hidden;margin-top:0;padding:142px 0 74px;min-height:690px;background:radial-gradient(ellipse at 92% 22%,#cbe0ff 0%,transparent 53%),linear-gradient(115deg,#fcfdff 4%,#f1f7ff 58%,#e3eeff 100%)}
.pay-hero-ribbons{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}
.ui-payment .ui-hero>.ui-container{width:min(1440px,calc(100% - 80px));max-width:1440px;position:relative;z-index:1}
.ui-payment .ui-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:32px;align-items:center}
.ui-payment .ui-hero-copy{min-width:0;max-width:none;padding:0 0 12px 128px;z-index:2}
.ui-payment .ui-hero .pay-hero-kicker{display:inline-flex;align-items:center;gap:9px;padding:6px 15px;border-radius:30px;background:#e8f1ffbf;color:#337aff;font-size:14px;line-height:1.8;font-weight:500;margin-bottom:24px;white-space:nowrap}
.pay-hero-kicker i{width:7px;height:7px;background:#347eff;border-radius:50%}
.ui-payment .ui-hero h1{font-size:49px;line-height:1.5;font-weight:650;letter-spacing:-.02em;margin:0 0 22px;color:#13213e;white-space:nowrap}
.pay-title-accent{position:relative;color:#2671ff}
.pay-title-accent::after{content:"";position:absolute;right:-7px;bottom:-8px;width:53px;height:15px;border-bottom:5px solid #94b8ff;border-radius:50%;transform:rotate(-22deg)}
.ui-payment .ui-hero .lead{max-width:505px;font-size:15px;line-height:1.95;color:#657b9e;margin:0}
.ui-payment .ui-hero .hero-meta{margin-top:23px;gap:10px;flex-wrap:nowrap}
.ui-payment .ui-hero .pay-feature{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #dfebff;border-radius:30px;background:#ffffff70;color:#2c446d;font-size:12px;line-height:1.7;white-space:nowrap}
.pay-feature svg{width:17px;height:17px;color:#377dff;flex:none}
.ui-payment .ui-hero .hero-btns{margin-top:31px;gap:16px}
.ui-payment .ui-hero .btn{min-height:49px;min-width:145px;font-size:16px}
.ui-payment .ui-hero .btn-ghost{background:#ffffff50;border:1px solid #d6e5ff;color:#29466f;display:inline-flex;align-items:center;justify-content:center;gap:9px}
.pay-play-icon{display:grid;place-items:center;width:17px;height:17px;border:1.5px solid #3983ff;color:#3983ff;border-radius:50%;font-size:9px;padding-left:1px}
.ui-payment .ui-hero-visual.pay-hero-art{position:relative;isolation:isolate;height:490px;width:100%;max-width:none;margin:0;text-align:left;perspective:1200px;pointer-events:none}
.pay-growth-arrow{position:absolute;width:270px;height:270px;right:-20px;top:-45px;opacity:.58;z-index:-1}
.pay-growth-bars{position:absolute;right:-36px;bottom:102px;display:flex;gap:18px;align-items:flex-end;transform:skewY(-13deg);z-index:-1}
.pay-growth-bars i{width:54px;height:120px;border-radius:13px 13px 0 0;border:1px solid #fff;background:linear-gradient(120deg,#ffffff9e,#d0e2ff70);box-shadow:inset 1px 1px 1px #fff}
.pay-growth-bars i:nth-child(2){height:185px}.pay-growth-bars i:nth-child(3){height:270px}
.pay-dashboard{position:absolute;width:88%;max-width:690px;height:350px;left:7%;top:65px;padding:18px;border:1.5px solid #fffffff0;border-radius:27px;background:linear-gradient(140deg,#ffffffb3,#eef5ff73);box-shadow:0 23px 43px #628de51c,inset 0 1px 2px #fff;transform:rotateY(-8deg) rotateZ(-4deg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.pay-window-bar{display:flex;align-items:center;gap:8px;height:24px;margin:0 8px 14px}
.pay-window-bar i{display:block;width:10px;height:10px;border-radius:50%;background:#9dbbff}.pay-window-bar i:nth-child(2){background:#bdd1ff}.pay-window-bar i:nth-child(3){background:#d6e3ff}
.pay-dashboard-body{display:grid;grid-template-columns:44% 56%;height:calc(100% - 38px);border-radius:19px;background:linear-gradient(125deg,#ffffffc9,#f8fbff9e);padding:19px;gap:13px}
.pay-chart{min-width:0;padding:8px 8px 0}
.pay-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:16px;color:#294368;font-weight:600;white-space:nowrap}
.pay-chart-heading small{font-size:10px;line-height:1.7;color:#36b899;background:#eafaf4;padding:2px 6px;border-radius:10px;font-weight:400}
.pay-chart-bars{height:176px;display:flex;align-items:flex-end;justify-content:space-around;gap:12px;padding:18px 12px 0;border-bottom:1px solid #dceaff;background:repeating-linear-gradient(to top,transparent 0 40px,#e7f0ff75 41px 42px)}
.pay-chart-bars i{display:block;width:20px;height:27%;border-radius:10px 10px 1px 1px;background:linear-gradient(180deg,#82adff,#d8e7ff)}
.pay-chart-bars i:nth-child(2){height:43%}.pay-chart-bars i:nth-child(3){height:58%}.pay-chart-bars i:nth-child(4){height:76%}.pay-chart-bars i:nth-child(5){height:96%;background:linear-gradient(180deg,#6c9eff,#bdd6ff)}
.pay-channel-list{min-width:0;padding:8px;background:#ffffffd4;border:1px solid #fff;border-radius:17px;display:grid;gap:8px;align-content:center}
.pay-channel-row{display:flex;align-items:center;gap:10px;min-height:47px;padding:8px 10px;border-radius:10px;background:linear-gradient(100deg,#f7faff,#f2f6fc);font-size:14px;color:#4e668c;white-space:nowrap}
.pay-channel-icon{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:7px}
.ui-payment .pay-channel-icon img{width:26px;height:26px;max-height:none;object-fit:contain;border-radius:5px}
.pay-channel-icon--generic{color:#fff;background:linear-gradient(135deg,#ffba52,#ff9c29)}
.pay-channel-icon--backup{color:#fff;background:linear-gradient(135deg,#a572ff,#8755ee)}
.pay-channel-icon svg{width:18px;height:18px}
.pay-channel-state{margin-left:auto;display:flex;align-items:center;gap:8px;color:#6b7fa1;font-size:13px}
.pay-channel-state i{width:7px;height:7px;flex:none;border-radius:50%;background:#22cb93}.pay-channel-state.is-standby i{background:#bdc9dc}
.pay-success-card{position:absolute;left:-1%;bottom:35px;z-index:3;display:flex;align-items:center;gap:21px;width:275px;height:129px;padding:20px 22px;border:1.5px solid #fff;border-radius:20px;background:linear-gradient(120deg,#fffffff2,#e8f0ffbd);box-shadow:0 14px 33px #739ee61f;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transform:rotate(2deg)}
.pay-success-ring{width:78px;height:78px;flex:none;border-radius:50%;background:conic-gradient(from 20deg,#a8c7ff,#2f6af5 40%,#6797ff 75%,#9ebfff 99.8%,#e4edff 99.8%);position:relative;box-shadow:inset 0 1px 3px #ffffff91}
.pay-success-ring::after{content:"";position:absolute;inset:15px;border-radius:50%;background:linear-gradient(135deg,#f8fbff,#e7efff);box-shadow:0 3px 8px #7498d726}
.pay-success-copy{min-width:0}.pay-success-copy span{display:block;color:#6d81a4;font-size:14px;white-space:nowrap}
.pay-success-copy strong{display:flex;align-items:center;gap:8px;font-size:30px;line-height:1.5;font-weight:650;color:#1d3157;letter-spacing:-.6px;white-space:nowrap}
.pay-success-copy svg{width:17px;height:17px;color:#47c2ab}
.pay-brand-tiles{position:absolute;right:7%;bottom:24px;z-index:4;display:flex;align-items:center;gap:17px}
.pay-brand-tile{display:grid;place-items:center;width:66px;height:69px;border:1px solid #fff;border-radius:17px;background:linear-gradient(140deg,#fff,#f1f6ffcf);box-shadow:0 12px 20px #7096d316}
.ui-payment .pay-brand-tile img{width:39px;height:39px;object-fit:contain;max-height:none;border-radius:7px}
.pay-brand-tile--generic svg{width:37px;height:37px;color:#ffa126}
@media(max-width:1250px){.ui-payment .ui-hero>.ui-container{width:calc(100% - 56px)}.ui-payment .ui-hero-copy{padding-left:55px}.ui-payment .ui-hero-grid{gap:22px;grid-template-columns:minmax(0,1fr) minmax(0,1.13fr)}.ui-payment .ui-hero h1{font-size:40px}.ui-payment .ui-hero .lead{font-size:14px}.ui-payment .ui-hero .pay-feature{font-size:10px;padding:7px 8px;gap:4px}.ui-payment .ui-hero .hero-meta{gap:6px}.pay-dashboard{width:95%;left:2%;padding:14px;height:330px;top:77px}.pay-dashboard-body{padding:13px;gap:7px;grid-template-columns:42% 58%}.pay-chart{padding:8px 0 0}.pay-chart-heading{font-size:14px}.pay-chart-heading small{font-size:8px;padding:2px 4px}.pay-chart-bars{gap:8px;padding:18px 7px 0}.pay-channel-list{padding:6px;gap:7px}.pay-channel-row{padding:8px 7px;font-size:12px;gap:6px;min-height:44px}.pay-channel-state{font-size:11px;gap:6px}.pay-channel-icon{width:24px;height:24px}.ui-payment .pay-channel-icon img{width:23px;height:23px}.pay-success-card{width:246px;height:118px;padding:18px;gap:14px;left:-4%}.pay-success-ring{width:69px;height:69px}.pay-success-copy strong{font-size:28px}.pay-success-copy span{font-size:13px}.pay-brand-tiles{right:0;gap:12px}.pay-brand-tile{width:57px;height:61px}.ui-payment .pay-brand-tile img{width:34px;height:34px}}
@media(max-width:1000px){.ui-payment .ui-hero{padding:125px 0 48px}.ui-payment .ui-hero-copy{padding-left:0}.ui-payment .ui-hero-grid{grid-template-columns:1fr;gap:24px}.ui-payment .ui-hero h1{font-size:43px}.ui-payment .ui-hero .lead{max-width:570px}.ui-payment .ui-hero-visual.pay-hero-art{width:min(720px,100%);height:460px;margin:0 auto}.pay-dashboard{width:88%;left:7%;height:350px;top:45px}.pay-dashboard-body{padding:19px;gap:13px;grid-template-columns:44% 56%}.pay-channel-row{font-size:14px}.pay-chart-heading{font-size:16px}.pay-success-card{left:0;bottom:17px}.pay-brand-tiles{right:4%;bottom:14px}}
@media(max-width:680px){.ui-payment .ui-hero{padding:108px 0 36px;min-height:0}.ui-payment .ui-hero>.ui-container{width:calc(100% - 40px)}.ui-payment .ui-hero h1{font-size:31px;line-height:1.6;white-space:normal;margin:15px 0 18px}.ui-payment .ui-hero .pay-hero-kicker{font-size:12px;margin-bottom:0}.ui-payment .ui-hero .lead{font-size:14px;line-height:1.9}.ui-payment .ui-hero .hero-meta{flex-wrap:wrap;margin-top:18px;gap:7px}.ui-payment .ui-hero .pay-feature{font-size:10px;padding:5px 8px}.ui-payment .ui-hero .hero-btns{gap:12px;margin-top:24px}.ui-payment .ui-hero .btn{min-width:126px;min-height:45px;font-size:14px}.ui-payment .ui-hero-visual.pay-hero-art{width:700px;max-width:none;height:460px;left:50%;margin:4px 0 -205px;transform:translateX(-50%) scale(.52);transform-origin:50% 0}}

/* Five merchant rows keep the existing hero height and success metric. */
.ui-payment .pay-channel-list{gap:6px}
.ui-payment .pay-channel-row{min-height:40px;padding:6px 8px;gap:8px;font-size:12.5px}
.ui-payment .pay-channel-name{min-width:0}
.ui-payment .pay-channel-state{gap:6px;font-size:12px}
.ui-payment .pay-channel-row--individual{background:linear-gradient(100deg,#fff8ec,#f7faff)}
@media(min-width:1001px) and (max-width:1250px){.ui-payment .pay-channel-row{font-size:11px;gap:5px;min-height:39px;padding:5px}.ui-payment .pay-channel-state{font-size:10px;gap:4px}.ui-payment .pay-channel-icon{width:22px;height:22px}.ui-payment .pay-channel-icon img{width:22px;height:22px}}
