*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"PingFang SC","Helvetica Neue",Arial,sans-serif;color:#043431;background:#fff;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
:root{--ink:#043431;--green:#27B86D;--muted:#537472;--soft:#F6F8F8;--line:#CDD6D6;--hint:#96B5B5;--danger:#FA3A3A;--modal-viewport-height:100vh;--modal-viewport-top:0px}
@supports(height:100dvh){:root{--modal-viewport-height:100dvh}}

html.modal-scroll-locked{overflow:hidden}
body.modal-scroll-locked{position:fixed;left:0;right:0;top:var(--modal-scroll-offset,0);width:100%;overflow:hidden}

.page-download{position:relative;width:100%;min-height:100vh;background:url('/static/img/bg.jpg') center/cover no-repeat;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}
.site-topbar{position:absolute;top:0;left:0;right:0;z-index:20;height:56px;width:100%;margin:0 auto;padding:0 max(40px,calc((100vw - 1139px)/2 + 40px));display:flex;align-items:center;justify-content:space-between;background:rgba(4,52,49,1);backdrop-filter:blur(10px)}
.site-logo img{height:32px;display:block}.site-actions{position:relative;display:flex;align-items:center;gap:16px}
.vip-pill{width:70px;height:32px;border:0;background:url('/static/img/prototype/VIP-normal@2x.png') center/70px 32px no-repeat;display:inline-flex;align-items:center;justify-content:center;color:transparent;font-size:0;letter-spacing:0}
.vip-pill:hover{background-image:url('/static/img/prototype/VIP-hover@2x.png')}
.account-btn{width:32px;height:32px;border:0;border-radius:50%;background-color:transparent;background-image:url('/static/img/prototype/Not logged in-normal@2x.png');background-position:center;background-size:32px 32px;background-repeat:no-repeat;cursor:pointer;display:grid;place-items:center}.account-dot{display:none}
body[data-auth=true] .account-btn{background-color:transparent;background-image:url('/static/img/prototype/logged in- hover@2x.png')}
.member-menu{display:none;position:absolute;right:0;top:44px;width:220px;padding:18px;background:#fff;border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.22);z-index:30}
.site-actions.open .member-menu{display:block}
.member-menu-mask{display:none}
.site-actions.open .member-menu-mask{display:block;position:fixed;inset:0;background:transparent;z-index:28}
.member-menu strong{font-size:15px}
.member-menu p{font-size:13px;color:var(--muted);margin:8px 0 14px}
.member-menu button,.logout-link{border:0;background:transparent;color:var(--green);cursor:pointer}

.dl-content{flex:1;display:flex;flex-direction:column;justify-content:center;max-width:1139px;margin:0 auto;padding:96px 40px 0;width:100%}
.dl-title{font-size:56px;font-weight:200;color:#fff;margin-bottom:48px;line-height:1.3;letter-spacing:0}
.dl-buttons{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:360px}
.dl-btn{display:flex;align-items:center;justify-content:flex-start;gap:10px;height:80px;font-weight:600;border-radius:43px;font-size:16px;cursor:pointer;transition:all .25s ease;border:1px solid rgba(255,255,255,.2);background:transparent;color:#F6F8F8;padding:0 30px;white-space:nowrap}
.dl-btn.is-hidden{display:none!important}
.dl-btn img{height:26px}
.dl-btn.primary{background:#F6F8F8;border-color:#F6F8F8;color:#043431}
.dl-btn.primary:hover{background:#fff}
.dl-btn:not(.primary):hover{background:rgba(246,248,248,.1)}
.dl-footer{max-width:1139px;margin:0 auto;padding:0 40px 32px;width:100%}
.dl-divider{height:1px;background:rgba(255,255,255,.1);margin-bottom:20px}
.dl-footer-inner{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px}
.dl-footer-left{display:flex;flex-direction:column;gap:12px;font-size:12px;color:#789695}
.dl-footer-links{display:flex;align-items:center;flex-wrap:wrap}
.dl-footer-links>a,.dl-footer-links>.footer-icp{padding:0 12px}
.dl-footer-links>a:first-child{padding-left:0}
.dl-footer-left a:hover{color:#F6F8F8}
.lang-switch{position:relative}
.lang-btn{display:flex;align-items:center;gap:8px;height:46px;padding:0 20px;border-radius:23px;border:1px solid rgba(255,255,255,.2);background:transparent;color:#F6F8F8;font-size:14px;cursor:pointer}
.lang-btn img{height:20px;transition:transform .2s}
.lang-dropdown{position:absolute;bottom:calc(100% + 10px);right:0;width:140px;background:#F6F8F8;border-radius:15px;padding:8px;display:none;box-shadow:0 4px 24px rgba(0,0,0,.18);z-index:100}
.lang-switch.open .lang-dropdown{display:block}
.lang-switch.open .lang-btn img{transform:rotate(180deg)}
.lang-opt{display:block;width:100%;padding:8px 14px;border:0;background:transparent;text-align:left;font-size:14px;color:#043431;cursor:pointer;border-radius:7px}
.lang-opt:hover,.lang-opt.active{color:var(--green)}

.inner-header{height:56px;max-width:1139px;width:100%;margin:0 auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between}.inner-header img{height:32px;display:block}.topbar-solid{border-bottom:1px solid rgba(205,214,214,.4)}.solid-actions{display:flex;align-items:center;gap:22px;font-size:14px;color:var(--muted)}.solid-actions a:hover,.account-link:hover{color:var(--green)}.account-link{border:0;background:transparent;color:var(--ink);cursor:pointer;font-weight:600}
.page-inner{min-height:100vh;display:flex;flex-direction:column}.inner-site-topbar{position:sticky;top:0;flex:0 0 auto;box-shadow:0 1px 0 rgba(246,248,248,.08)}.inner-body{flex:1;max-width:1139px;width:100%;margin:0 auto;padding:48px 40px 60px}.inner-title{font-size:36px;font-weight:600;color:#043431;text-align:center;margin:8px 0 40px}.article{font-size:16px;line-height:30px;color:#043431}.article h3{font-size:20px;font-weight:600;margin:28px 0 12px}.article p,.article ul,.article ol{margin-bottom:14px}.article ul,.article ol{padding-left:24px}.steps-container{background:#F6F8F8;border-radius:16px;padding:40px 30px;margin-top:24px;display:flex;align-items:center;justify-content:center;gap:40px;flex-wrap:wrap}.step-img{width:240px;border-radius:12px;box-shadow:0 2px 16px rgba(0,0,0,.08)}.step-arrow{font-size:32px;color:#789695;user-select:none}
.legal-contact{margin-top:34px;padding-top:24px;border-top:1px solid rgba(4,52,49,.16)}.article .legal-contact h3{margin:0 0 12px;font-size:20px;line-height:28px;color:#043431}.article .legal-contact p{margin:0 0 10px;color:#043431}.legal-contact dl{margin:0;display:grid;gap:6px}.legal-contact dl div{display:grid;grid-template-columns:86px minmax(0,1fr);column-gap:12px;align-items:baseline}.legal-contact dt{font-weight:600;color:#043431;white-space:nowrap}.legal-contact dd{margin:0;color:#043431;min-width:0;word-break:break-word}.legal-contact a{color:#043431;text-decoration:none;border-bottom:1px solid rgba(4,52,49,.35)}.legal-contact a:hover{color:#27B86D;border-bottom-color:#27B86D}html[lang="en"] .legal-contact dl div{grid-template-columns:150px minmax(0,1fr)}
.dark-footer{background:#00120E;padding:32px 0}
.dark-footer-inner{max-width:1139px;margin:0 auto;padding:0 40px;display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px}
.dark-footer .lang-btn{border-color:rgba(255,255,255,.2);color:#F6F8F8}

.about-body{padding-top:20px}.about-cover{width:100%;height:auto;display:block;margin-bottom:48px}.about-hero{display:flex;gap:64px;align-items:flex-start;margin-bottom:50px}.about-hero-left{flex:0 0 30%}.about-hero-right{flex:1;padding-top:8px}.about-tagline{font-size:24px;line-height:40px;font-weight:600}.about-intro{font-size:16px;line-height:26px;color:#537472}.about-features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:80px}.feature-card{background:#F6F8F8;border-radius:20px;padding:32px 28px}.feature-card-inner{display:flex;gap:20px;align-items:flex-start}.feature-icon{width:50px;height:50px;object-fit:contain}.feature-title{font-size:16px;font-weight:600;margin-bottom:10px}.feature-desc{font-size:14px;line-height:26px;color:#537472}
.support-layout{display:flex;gap:80px;align-items:flex-start;margin-bottom:80px}.support-left{flex:1}.support-right{flex:0 0 390px}.support-heading{font-size:24px;font-weight:600;margin-bottom:20px}.support-desc,.support-hours,.support-tz,.support-phone-row{font-size:16px;line-height:26px}.support-email,.support-phone{color:var(--green)}.support-form{margin-top:24px}.form-row{display:flex;gap:13px;margin-bottom:16px}.form-group{margin-bottom:16px;flex:1}.form-label{display:block;font-size:12px;font-weight:600;color:#537472;line-height:30px}.form-input,.form-textarea{width:100%;background:#F6F8F8;border:1px solid #CDD6D6;border-radius:25px;font-size:16px;color:#043431;padding:0 20px;height:50px;outline:none}.form-input:focus,.form-textarea:focus{border:2px solid #27B86D}.form-textarea{height:198px;padding:14px 20px;border-radius:29px;resize:none;line-height:1.625}.form-submit{display:block;width:100%;height:50px;background:#27B86D;border:0;border-radius:100px;color:#fff;font-size:16px;font-weight:600;cursor:pointer}.form-submit:hover{background:#22a560}.input-error{border:2px solid #FA3A3A!important;background:#fff}.support-location{margin-top:40px;padding-top:40px;border-top:1px solid rgba(205,214,214,.3)}.support-location-title{font-size:18px;margin-bottom:20px}.support-map{width:100%;max-height:380px;object-fit:cover;border-radius:16px;display:block}.form-success-card{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;gap:16px}.success-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:rgba(39,184,109,.12);color:var(--green);font-size:32px;font-weight:700}.form-success-back,.ghost-btn{height:44px;padding:0 22px;background:transparent;border:1.5px solid #27B86D;border-radius:100px;color:#27B86D;font-size:15px;font-weight:600;cursor:pointer}

.member-page{background:#f7fbfa}.vip-shell{max-width:1139px;margin:0 auto;padding:44px 40px 80px}.vip-hero{display:flex;justify-content:space-between;gap:32px;align-items:flex-end;margin-bottom:28px}.vip-mark{height:32px;margin-bottom:18px}.vip-hero h1{font-size:42px;line-height:1.16;margin-bottom:12px}.vip-hero p{max-width:560px;color:#537472;line-height:28px}.member-status{min-width:250px;background:#fff;border:1px solid rgba(205,214,214,.7);border-radius:20px;padding:22px;box-shadow:0 14px 40px rgba(4,52,49,.06);display:flex;flex-direction:column;gap:8px}.member-status strong{font-size:22px}.member-status span,.member-status small{color:#537472}
.checkout-panel{position:relative;background:#fff;border:1px solid rgba(205,214,214,.7);border-radius:24px;padding:30px;box-shadow:0 18px 60px rgba(4,52,49,.08);overflow:hidden}
.checkout-panel::before{content:"";position:absolute;left:0;top:0;bottom:0;width:100px;background:url('/static/img/prototype/watermark- left@2x.png') left top/100px 140px no-repeat;opacity:.75}
.checkout-panel>*{position:relative}
.plan-tabs{width:280px;height:50px;border-radius:26px;background:#F6F8F8;padding:5px;display:grid;grid-template-columns:1fr 1fr;margin:0 auto 28px}
.plan-tabs button{border:0;border-radius:22px;background:transparent;color:#537472;font-weight:700;cursor:pointer}
.plan-tabs button.active{background:#27B86D;color:#fff}
.plans-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.plan-card{position:relative;min-height:144px;text-align:left;border:1px solid #CDD6D6;border-radius:18px;background:#F6F8F8;padding:22px;cursor:pointer;display:flex;flex-direction:column;gap:10px}
.plan-card.selected{border:2px solid #27B86D;background:#fff;box-shadow:0 12px 32px rgba(39,184,109,.12)}
.plan-card strong{font-size:18px}
.plan-days{font-size:13px;color:#537472}
.plan-price{margin-top:auto;font-size:28px;font-weight:700;color:#043431}
.plan-badge{position:absolute;right:14px;top:14px;background:#27B86D;color:#fff;border-radius:999px;padding:4px 10px;font-size:12px}
.pay-row{display:flex;gap:14px;flex-wrap:wrap;margin:28px 0 20px}
.pay-option{height:54px;min-width:170px;border:1px solid #CDD6D6;border-radius:28px;padding:0 18px;display:flex;align-items:center;gap:10px;cursor:pointer}
.pay-option:has(input:checked){border:2px solid #27B86D;background:#F6F8F8}
.pay-option input{accent-color:#27B86D}
.pay-option img{width:30px;height:30px;object-fit:contain}
.buy-button{width:100%;height:56px;padding:0 16px;border:0;border-radius:28px;background:#27B86D;color:#fff;font-size:18px;font-weight:700;line-height:1.2;text-align:center;display:inline-flex;align-items:center;justify-content:center;white-space:normal;cursor:pointer}
.checkout-note{margin-top:14px;text-align:center;color:#537472;font-size:13px}

.modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:500;justify-content:center;align-items:center;padding:20px}
.modal-overlay.active{display:flex}
.login-modal,.result-modal{position:relative;background:#fff;border-radius:24px;width:min(760px,100%);padding:34px;display:grid;grid-template-columns:1fr 260px;gap:28px;box-shadow:0 22px 80px rgba(0,0,0,.28)}
.result-modal{display:flex;flex-direction:column;align-items:center;max-width:420px;text-align:center}
.modal-x{position:absolute;right:20px;top:18px;border:0;background:transparent;color:#789695;font-size:30px;line-height:1;cursor:pointer}
.login-copy img{width:100%;max-width:260px;margin-bottom:18px}
.login-copy h2{font-size:28px;margin-bottom:10px}
.login-copy p{color:#537472;line-height:26px}
.qr-card{background:#F6F8F8;border-radius:18px;padding:20px;text-align:center}
.qr-box{width:220px;height:220px;margin:0 auto 14px;background:#fff;border-radius:14px;display:grid;place-items:center;overflow:hidden}
.qr-box img{width:220px;height:220px}.qr-card p{font-size:14px;color:#537472;margin-bottom:14px}
.payment-qr{width:232px;height:232px;padding:6px;background:#fff;border:1px solid #CDD6D6;border-radius:12px}.payment-qr img{width:220px;height:220px;display:block}
.vip-modal{position:relative;background:transparent;border-radius:24px;width:min(920px,100%);max-height:min(86vh,820px);overflow:auto;padding:34px;box-shadow:0 22px 80px rgba(0,0,0,.28)}.vip-modal-head{display:flex;align-items:center;gap:18px;margin:0 34px 22px 0}.vip-modal-head h2{font-size:30px;margin-bottom:8px}.vip-modal-head p{color:#537472;line-height:24px}.modal-checkout{box-shadow:none;border-radius:18px;padding:24px}.modal-checkout .plans-grid{grid-template-columns:repeat(2,1fr)}.modal-checkout .plan-card{min-height:118px}.modal-checkout .plan-price{font-size:24px}

@media(max-width:960px){.dl-title{font-size:42px}.plans-grid{grid-template-columns:repeat(2,1fr)}.vip-hero{align-items:flex-start;flex-direction:column}.about-hero{flex-direction:column}.about-features{grid-template-columns:1fr 1fr}.support-layout{gap:40px}.support-right{flex-basis:280px}}
@media(max-width:640px){.site-topbar{padding:0 20px}.site-logo img{height:28px}.dl-content{padding:80px 20px 0}.dl-title{font-size:32px;margin-bottom:32px}.dl-buttons{grid-template-columns:1fr;max-width:100%}.dl-btn{height:56px}.dl-footer{padding:0 20px 24px}.inner-header{height:56px;padding:0 20px}.inner-body,.vip-shell{padding-left:20px;padding-right:20px}.inner-title{font-size:24px}.dark-footer-inner{padding:0 20px}.about-features,.plans-grid{grid-template-columns:1fr}.support-layout{flex-direction:column}.support-right{flex:0 0 auto;width:100%}.form-row{flex-direction:column;gap:0}.login-modal{grid-template-columns:1fr;padding:28px 20px}.login-copy img{display:none}.pay-option{width:100%}.solid-actions a{display:none}.steps-container{flex-direction:column}.step-arrow{transform:rotate(90deg)}}
@media(max-width:640px){.modal-checkout .plans-grid{grid-template-columns:1fr}.vip-modal{padding:28px 20px}.vip-modal-head{margin-right:28px}}

/* Prototype-aligned VIP and login dialogs */
.vip-modal{width:min(1480px,calc(100vw - 48px));padding:0;border-radius:28px;overflow:hidden;background:#fff;color:#043431}
.vip-gold-head{height:150px;padding:44px 52px;background:linear-gradient(105deg,#fde7af 0%,#fff7e4 62%,#fff 100%);position:relative;overflow:hidden}
.vip-gold-head::before{content:"";position:absolute;left:-58px;top:40px;width:250px;height:250px;}
.vip-gold-head::after{position:absolute;right:120px;top:-50px;width:260px;height:260px;border-left:34px solid rgba(255,255,255,.54);border-right:34px solid rgba(255,255,255,.54);transform:skewX(-22deg)}
.vip-gold-head h2{font-size:30px;line-height:1.2;margin-bottom:10px;position:relative;z-index:1}.vip-gold-head p{font-size:20px;color:#537472;position:relative;z-index:1}.vip-login-link{position:relative;z-index:1;border:0;background:transparent;color:#043431;font-size:30px;font-weight:800;cursor:pointer}
.vip-modal .modal-x{right:34px;top:28px;color:#8aacaa;font-size:44px;font-weight:200;z-index:4}
.modal-checkout{margin-top:-14px;border:0;border-radius:26px 26px 0 0;padding:0 50px 46px;background:#fff;box-shadow:none;overflow:visible}.modal-checkout::before{display:none}
.modal-checkout .plan-tabs{width:100%;height:90px;margin:0 -50px 50px;padding:0;background:transparent;border-radius:0;display:grid;grid-template-columns:1fr 1fr;position:relative}
.modal-checkout .plan-tabs button{height:90px;border-radius:0;background:#fff7e7;color:#8fa7a3;font-size:38px;font-weight:800}.modal-checkout .plan-tabs button.active{color:#043431;border-radius:28px 28px 0 0}.modal-checkout .plan-tabs .crown{font-size:.9em;margin-right:10px}
.modal-checkout .plans-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:48px;margin-top: 25px;}.modal-checkout .plan-card{min-height:220px;border-radius:20px;border:0;background:#fff;box-shadow:0 12px 34px rgba(4,52,49,.08);padding:42px 30px;color:#043431}.modal-checkout .plan-card.selected{border:3px solid #f5d687;background:#fff9ed;box-shadow:0 14px 38px rgba(245,214,135,.24)}.modal-checkout .plan-card strong{font-size:32px;font-weight:500}.modal-checkout .plan-days{display:none}.modal-checkout .plan-price{font-size:46px;line-height:1;font-weight:800}.modal-checkout .plan-badge{position:static;display:inline-flex;align-self:flex-start;background:#ff3f4c;color:#fff;border-radius:999px;padding:8px 13px;font-size:20px;margin-left:96px;margin-top:-48px}
.benefit-title,.pay-title{font-size:28px;color:#5d7d7a;margin-bottom:26px}.benefit-table{border-radius:20px;background:#f8faf9;overflow:hidden;margin-bottom:50px;color:#9bb4b3}.benefit-head,.benefit-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;align-items:center;text-align:center}.benefit-head{height:118px;font-size:28px;color:#c4d5d4}.benefit-row{height:120px;font-size:28px;border-top:1px solid rgba(205,214,214,.35)}.benefit-row strong{font-size:32px;color:#557472}.benefit-row.vip-row{border:2px solid #9bbebe;border-radius:20px;background:#f1f6f5}.vip-modal[data-vip-level=svip] .benefit-row.vip-row{border-color:transparent;background:transparent}.vip-modal[data-vip-level=svip] .benefit-row.svip-row{border:2px solid #9bbebe;border-radius:20px;background:#f1f6f5}
.modal-checkout .pay-row{margin:0;display:flex;align-items:center;gap:34px}.pay-title{margin-bottom:28px}.modal-checkout .pay-option{height:48px;min-width:auto;border:0;background:transparent;padding:0;font-size:30px;color:#043431}.modal-checkout .pay-option:has(input:checked){border:0;background:transparent}.modal-checkout .pay-option input{width:36px;height:36px}.modal-checkout .pay-option img{width:48px;height:48px}.modal-checkout .buy-button{width:330px;height:112px;margin-left:auto;border-radius:56px;background:#ffdea2;color:#043431;font-size:30px}.modal-checkout .checkout-note{display:none}
.vip-modal.is-guest .checkout-panel{color:#a8bcbb}.vip-modal.is-guest .plans-grid,.vip-modal.is-guest .benefit-title,.vip-modal.is-guest .benefit-table,.vip-modal.is-guest .pay-title,.vip-modal.is-guest .pay-row,.vip-modal.is-guest .buy-disabled{opacity:.24}.vip-modal.is-guest .plan-card,.vip-modal.is-guest .pay-option,.vip-modal.is-guest .buy-disabled{pointer-events:none}.vip-modal.is-guest .login-required{width:400px;height:112px;margin:-112px auto 0;display:flex;align-items:center;justify-content:center;padding:0 18px;text-align:center;line-height:1.2;white-space:normal;background:#2fbd75;color:#fff;position:relative;z-index:3}.vip-modal:not(.is-guest) .login-required,.vip-modal:not(.is-guest) .buy-disabled{display:none}

.login-modal{width:min(1170px,calc(100vw - 48px));min-height:690px;padding:0;border-radius:28px;grid-template-columns:45% 55%;gap:0;overflow:hidden}
.login-copy{background:linear-gradient(180deg,#d8f5e8 0%,#f8fffc 100%);display:flex;flex-direction:column;align-items:center;position:relative;padding-top:118px}
.login-copy::before,.login-copy::after{content:"";position:absolute;left:0;right:0;bottom:145px;height:140px;background:rgba(39,184,109,.08);clip-path:polygon(0 70%,35% 35%,52% 52%,70% 0,100% 46%,100% 100%,0 100%)}
.login-copy::after{bottom:95px;background:rgba(39,184,109,.12);clip-path:polygon(0 100%,32% 54%,56% 8%,63% 18%,75% 17%,100% 55%,100% 100%)}
.login-brand{display:flex;flex-direction:column;align-items:center;gap:24px;color:#043431;font-size:30px;font-weight:800;position:relative;z-index:1}
.login-app-icon{width:118px;height:118px;border-radius:24px}
.login-landscape{display:none}
.login-poem{position:absolute;left:56px;bottom:74px;color:#2abd75;font-size:32px;line-height:1.7;transform:rotate(-6deg);z-index:1;font-family:"PingFang SC","Helvetica Neue",Arial,sans-serif}
.login-modal .modal-x{right:34px;top:28px;color:#8aacaa;font-size:44px;font-weight:200;z-index:3}
.qr-card{background:#fff;border-radius:0;padding:120px 90px 40px;text-align:center}
.qr-card h2{font-size:50px;margin-bottom:32px}
.qr-intro{font-size:28px!important;line-height:1.7!important;color:#557472!important;margin-bottom:34px!important}
.qr-box{width:460px;height:430px;border:3px solid #28b66f;border-radius:26px;margin-bottom:34px}
.qr-box img{width:390px;height:390px}
.agree-row{display:flex;align-items:center;justify-content:center;gap:12px;color:#537472;font-size:12px;margin-bottom:14px;line-height: 17px;font-weight: 400;}
.agree-row input{width:32px;height:32px;accent-color:#27B86D}
.agree-row a{text-decoration:underline}
.qr-card [data-qr-status],
.qr-card .ghost-btn{font-size:16px}
.result-modal{width:min(420px,calc(100vw - 48px));min-height:auto;padding:34px;display:flex}

@media(max-width:960px){
    .vip-modal{width:min(760px,calc(100vw - 32px))}
    .modal-checkout .plans-grid{grid-template-columns:repeat(2,1fr)}
    .modal-checkout .plan-tabs button{font-size:28px}
    .benefit-head,.benefit-row{font-size:20px}
    .login-modal{grid-template-columns:1fr}
    .login-copy{display:none}
    .qr-card{padding:80px 28px 34px}
    .qr-box{width:280px;height:280px}
    .qr-box img{width:250px;height:250px}
}
@media(max-width:640px){
    .vip-gold-head{height:120px;padding:34px 24px}
    .vip-login-link{font-size:24px}
    .modal-checkout{padding:0 22px 34px}
    .modal-checkout .plan-tabs{margin:0 -22px 28px;height:70px}
    .modal-checkout .plan-tabs button{height:70px;font-size:24px}
    .modal-checkout .plan-card{min-height:132px;padding:24px}
    .modal-checkout .plan-card strong{font-size:22px}
    .modal-checkout .plan-price{font-size:30px}
    .benefit-table{overflow:auto}
    .benefit-head,.benefit-row{min-width:680px}
    .modal-checkout .pay-row{gap:16px}
    .modal-checkout .buy-button,.vip-modal.is-guest .login-required{width:100%;height:64px;margin:20px 0 0;font-size:20px}
    .vip-modal.is-guest .login-required{margin-top:-64px}
    .qr-card h2{font-size:38px}.qr-intro{font-size:22px!important}}

/* Final modal dimensions from the prototype source: VIP 740x612, login 586x500. */
@media(min-width:769px){
  .vip-modal{width:740px;height:612px;max-height:612px;border-radius:18px}
  .vip-gold-head{height:75px;padding:28px 26px}
  .vip-gold-head h2{font-size:15px;margin-bottom:5px}
  .vip-gold-head p{font-size:10px}
  .vip-login-link{font-size:15px}
  .vip-modal .modal-x{right:17px;top:14px;font-size:28px}
  .modal-checkout{margin-top:-7px;border-radius:13px 13px 0 0;padding:0 25px 23px}
  .modal-checkout .plan-tabs{height:45px;margin:0 -25px 25px}
  .modal-checkout .plan-tabs button{height:45px;font-size:19px;border-radius:0}
  .modal-checkout .plan-tabs button.active{border-radius:14px 14px 0 0}
  .modal-checkout .plan-tabs .crown{margin-right:5px}
  .modal-checkout .plans-grid{gap:9px;margin-bottom:24px}
  .modal-checkout .plan-card{min-height:110px;border-radius:10px;padding:21px 15px}
  .modal-checkout .plan-card.selected{border-width:2px}
  .modal-checkout .plan-card strong{font-size:16px}
  .modal-checkout .plan-price{font-size:23px}
  .modal-checkout .plan-badge{font-size:10px;padding:4px 7px;margin-left:48px;margin-top:-24px}
  .benefit-title,.pay-title{font-size:14px;margin-bottom:13px}
  .benefit-table{border-radius:10px;margin-bottom:25px}
  .benefit-head{height:59px;font-size:14px}
  .benefit-row{height:60px;font-size:14px}
  .benefit-row strong{font-size:16px}
  .benefit-row.vip-row,.vip-modal[data-vip-level=svip] .benefit-row.svip-row{border-width:1px;border-radius:10px}
  .modal-checkout .pay-row{gap:17px}
  .modal-checkout .pay-option{height:24px;font-size:15px}
  .modal-checkout .pay-option input{width:18px;height:18px}
  .modal-checkout .pay-option img{width:24px;height:24px}
  .modal-checkout .buy-button{width:166px;height:56px;border-radius:28px;font-size:15px}
  .vip-modal.is-guest .login-required{width:200px;height:56px;margin:-56px auto 0;font-size:15px}
  .login-modal{width:586px;height:500px;min-height:500px;border-radius:18px;grid-template-columns:45% 55%}
  .login-copy{display:flex;padding-top:59px}
  .login-brand{gap:12px;font-size:15px}
  .login-app-icon{width:59px;height:59px;border-radius:12px}
  .login-copy::before{bottom:72px;height:70px}
  .login-copy::after{bottom:48px;height:70px}
  .login-poem{left:28px;bottom:37px;font-size:16px}
  .login-modal .modal-x{right:17px;top:14px;font-size:28px}
  .qr-card{padding:66px 45px 20px}
  .qr-card h2{font-size:25px;margin-bottom:16px}
  .qr-intro{font-size:14px!important;margin-bottom:17px!important}
  .qr-box{width:230px;height:215px;border-width:2px;border-radius:13px;margin-bottom:17px}
  .qr-box img{width:195px;height:195px}
  .agree-row{gap:6px;font-size:11px;margin-bottom:7px}
  .agree-row input{width:16px;height:16px}
  .qr-card [data-qr-status],.qr-card .ghost-btn{font-size:10px}
  .ghost-btn{height:28px;padding:0 14px}
}

/* Pixel-aligned desktop dialogs based on the web-7.24 prototype assets. */
@media(min-width:769px){
  .modal-overlay{padding:0;background:rgba(0,0,0,.5)}
  .modal-overlay.modal-front{z-index:510;background:rgba(0,0,0,.34)}
  .modal-x{width:20px;height:20px;background:url('/static/img/prototype/dialog close@2x.png') center/20px 20px no-repeat;font-size:0}
  .modal-x:hover{background-image:url('/static/img/prototype/dialog close- hover@2x.png')}

  .vip-modal{width:740px;height:612px;max-height:612px;overflow:hidden;border-radius:18px}
  .vip-gold-head{height:75px;padding:22px 26px;background-color:#ffedc2;background-image:url('/static/img/prototype/VIP-watermark- rigth@2x.png'),url('/static/img/prototype/watermark- left@2x.png');background-position:right top,left top;background-repeat:no-repeat;background-size:250px 140px,100px 140px}
  .vip-gold-head::before,.vip-gold-head::after{display:none}
  .vip-gold-head h2{font-size:15px;line-height:18px;margin-bottom:4px}.vip-gold-head p{font-size:10px;line-height:14px}.vip-login-link{font-size:15px;line-height:22px;cursor:default}
  .vip-modal .modal-x{right:18px;top:18px;width:20px;height:20px}
  .modal-checkout{height:538px;margin-top:-1px;border-radius:14px 14px 0 0;padding:0 25px 22px;overflow:hidden}
  .modal-checkout .plan-tabs{width:calc(100% + 50px);height:45px;margin:0 -25px 10px;background-color:#ffedc2;background-image:url('/static/img/prototype/VIP-watermark- rigth@2x.png'),url('/static/img/prototype/watermark- left@2x.png');background-position:right -75px,left -75px;background-repeat:no-repeat;background-size:250px 140px,100px 140px}
  .modal-checkout .plan-tabs button{height:45px;display:grid;place-items:center;background-color:transparent;background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-radius:0;outline:0}
  .modal-checkout .plan-tabs button.active{background-color:transparent;border-radius:0}
  .vip-modal[data-vip-level="vip"] .modal-checkout .plan-tabs [data-plan-filter="vip"]{background-image:url('/static/img/prototype/left-tab-selected@2x.png')}
  .vip-modal[data-vip-level="svip"] .modal-checkout .plan-tabs [data-plan-filter="svip"]{background-image:url('/static/img/prototype/right-tab-selected@2x.png')}
  .modal-checkout .plan-tabs button img{width:74px;height:20px;object-fit:contain}
  .modal-checkout .plans-grid{height:110px;gap:9px;margin-bottom:24px}
  .modal-checkout .plan-card{height:110px;min-height:110px;padding:21px 14px 18px;gap:0;border:0;border-radius:10px;background:#fff;box-shadow:0 6px 17px rgba(4,52,49,.08)}
  .modal-checkout .plan-card.selected{border:2px solid #f5d687;background:#fff9ed;box-shadow:0 7px 19px rgba(245,214,135,.24)}
  .modal-checkout .plan-card strong{font-size:16px;line-height:22px;font-weight:400;white-space:nowrap}
  .modal-checkout .plan-price{font-size:23px;line-height:28px;margin-top:auto}
  .modal-checkout .plan-badge{position:absolute;right:8px;top:66px;margin:0;padding:3px 6px;font-size:10px;line-height:15px;white-space:nowrap}
  .benefit-title,.pay-title{font-size:14px;line-height:20px;margin-bottom:13px}
  .benefit-table{height:179px;margin-bottom:25px;border-radius:10px}
  .benefit-head{height:59px;font-size:14px}.benefit-row{height:60px;font-size:14px}
  .benefit-row strong{display:grid;place-items:center}.benefit-row strong img{width:59px;height:16px;object-fit:contain}
  .benefit-row.vip-row,.vip-modal[data-vip-level=svip] .benefit-row.svip-row{border-width:1px;border-radius:10px}
  .modal-checkout .pay-title{margin-bottom:13px}
  .modal-checkout .pay-row{position:absolute;left:25px;bottom:35px;width:auto;height:30px;gap:43px;margin:0}
  .modal-checkout .pay-option{height:30px;gap:7px;font-size:16px;line-height:22px}
  .modal-checkout .pay-option input{appearance:none;width:24px;height:24px;margin:0;background:url('/static/img/prototype/radio button-normal@2x.png') center/24px 24px no-repeat;flex:0 0 24px;cursor:pointer}
  .modal-checkout .pay-option input:checked{background-image:url('/static/img/prototype/radio button-VIP-selected@2x.png')}
  .vip-modal[data-vip-level="svip"] .modal-checkout .pay-option input:checked{background-image:url('/static/img/prototype/radio button-SVIP-selected备份@2x.png')}
  .modal-checkout .pay-option img{width:30px;height:30px}
  .modal-checkout .buy-button{position:absolute;right:25px;bottom:21px;width:166px;height:56px;margin:0;border-radius:28px;font-size:15px}
  .vip-modal.is-guest .checkout-panel{color:#a8bcbb}
  .vip-modal.is-guest .plans-grid{opacity:1}
  .vip-modal.is-guest .benefit-title,.vip-modal.is-guest .benefit-table,.vip-modal.is-guest .pay-title,.vip-modal.is-guest .pay-row,.vip-modal.is-guest .buy-disabled{opacity:.24}
  .vip-modal.is-guest .plan-card,.vip-modal.is-guest .pay-option,.vip-modal.is-guest .buy-disabled{pointer-events:none}
  .vip-modal.is-guest .login-required{left:50%;right:auto;bottom:21px;width:200px;height:56px;margin:0;transform:translateX(-50%);font-size:15px}

  .login-modal{width:586px;height:500px;min-height:500px;grid-template-columns:265px 321px;border-radius:18px;overflow:hidden}
  .login-copy{display:block;padding:0;background:none}
  .login-copy::before,.login-copy::after{display:none}
  .login-landscape{display:block;width:265px!important;max-width:none!important;height:500px;margin:0!important;object-fit:cover}
  .login-modal .modal-x{right:18px;top:18px;width:20px;height:20px}
  .qr-card{position:relative;padding:63px 45px 20px;background:#fff}
  .qr-card h2{font-size:25px;line-height:33px;margin-bottom:12px}
  .qr-intro{font-size:14px!important;line-height:24px!important;margin-bottom:14px!important;white-space:pre-line}
  .qr-box{width:230px;height:230px;margin:0 auto 46px;border:0;border-radius:0;background:url('/static/img/prototype/QR code-bg备份@2x.png') center/230px 230px no-repeat}
  .qr-box img{width:228px;height:228px;border-radius:15px;object-fit:contain}
  .agree-row{max-width:100%;min-height:16px;height:auto;gap:6px;margin:0;color:#557472;font-size:11px;line-height:16px;white-space:normal;text-align:left;justify-content:flex-start}
  .agree-row span{min-width:0;overflow-wrap:anywhere}
  .agree-row input{appearance:none;width:16px;height:16px;margin:0;background:url('/static/img/prototype/small radio button-normal @2x.png') center/16px 16px no-repeat;flex:0 0 16px}
  .agree-row input:checked{background-image:url('/static/img/prototype/small radio button- selected@2x.png')}
  .qr-card [data-qr-status],.qr-card .ghost-btn{display:none}
  html[lang="en"] .login-modal .qr-box{margin-bottom:34px}
  html[lang="en"] .login-modal .agree-row{font-size:10px;line-height:15px}
}

/* Modal interaction states and final responsive refinements. */
.qr-box{position:relative}
/* .qr-box.qr-blurred img{filter:blur(8px);opacity:.42;transform:scale(1.02)} */
.qr-box.qr-blurred::before{content:"";position:absolute;left:50%;top:50%;width:208px;height:208px;transform:translate(-50%,-50%);background:rgba(246,248,248,1);border-radius:15px;pointer-events:none;z-index:0;}
.qr-box.qr-blurred img{position:relative;z-index:1;width:208px;height:208px;filter:blur(8px);background:rgba(246,248,248,1);border-radius:15px;clip-path:inset(0 round 15px);opacity:.3;object-fit:cover;}
.qr-box.qr-blurred::after{content:"请先阅读\A并勾选下方的协议";position:absolute;left:50%;top:50%;width:208px;height:208px;transform:translate(-50%,-50%);border-radius:15px;display:grid;place-items:center;white-space:pre-line;text-align:center;color:#96B5B5;font-size:12px;line-height:22px;pointer-events:none;font-weight: 400;z-index:2;}
.result-actions{width:100%;display:flex;gap:10px;justify-content:center;align-items:stretch;flex-wrap:nowrap}
.result-btn{min-width:0;border:0;border-radius:100px;height:50px;padding:0 24px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.2;white-space:normal}
.result-btn[hidden]{display:none!important}
.result-confirm{background:#ffdea2;color:#043431}
.result-cancel{background:#fff7e8;color:#043431}
.result-modal[data-result-kind="confirm"] .success-icon,.result-modal[data-result-kind="payment"] .success-icon{display:none}
.loading-indicator{max-width:100%;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#537472;font-size:14px;line-height:20px;vertical-align:middle}
.loading-indicator.is-compact{gap:5px}
.loading-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loading-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#27B86D;animation:loadingPulse .86s ease-in-out infinite}
.loading-dot:nth-child(2){animation-delay:.12s}
.loading-dot:nth-child(3){animation-delay:.24s}
.loading-indicator.is-gold{color:#F6D89A}
.loading-indicator.is-gold .loading-dot{background:#F6D89A}
.loading-indicator.is-dark{color:#043431}
button.is-loading{cursor:wait;overflow:hidden}
button.is-loading .loading-indicator{width:100%;color:inherit}
button.is-loading .loading-dot{background:currentColor}
@keyframes loadingPulse{0%,80%,100%{opacity:.32;transform:scale(.72)}40%{opacity:1;transform:scale(1)}}
/*
.modal-test-panel{position:fixed;right:18px;bottom:18px;z-index:900;width:180px;max-height:calc(100vh - 36px);padding:12px;border-radius:12px;background:rgba(4,52,49,.92);box-shadow:0 16px 50px rgba(0,0,0,.28);display:grid;gap:7px;color:#fff;overflow:auto}
.modal-test-panel strong{font-size:14px;line-height:20px}
.modal-test-panel button{height:32px;padding:0 10px;border:1px solid rgba(246,216,154,.5);border-radius:16px;background:rgba(246,216,154,.12);color:#F6D89A;font-size:12px;cursor:pointer;text-align:left}
.modal-test-panel button:hover{background:rgba(246,216,154,.22)}
*/

@media(min-width:769px){
  .modal-checkout{margin-top:-1px}
  .modal-checkout .plan-tabs{height:45px;margin:0 -25px 0;background-position:right -75px,left -75px}
  .modal-checkout .plan-tabs button{height:45px;background-color:transparent!important}
  .modal-checkout .plan-tabs button img{width:74px;height:20px}
  .modal-checkout .plans-grid{height:110px;margin-bottom:19px}
  .benefit-table{margin-bottom:20px}
  .modal-checkout .pay-row{bottom:35px}
  .modal-checkout .buy-button{bottom:21px}
  .result-modal{width:358px;min-height:198px;padding:29px 30px 28px;border-radius:15px;gap:0;box-shadow:0 14px 54px rgba(0,0,0,.24);overflow:hidden}
  .result-modal[data-result-kind="success"],.result-modal[data-result-kind="confirm"]{width:335px;max-width:335px;padding:30px 31px 25px;background:#fff}
  .result-modal[data-result-kind="success"]{height:auto;min-height:185px}
  .result-modal[data-result-kind="confirm"]{height:auto;min-height:208px}
	  .result-modal[data-result-kind="success"]::before,.result-modal[data-result-kind="confirm"]::before{content:"";position:absolute;left:0;right:0;top:0;height:160px;background-image:linear-gradient(180deg, rgba(252,243,224,0.80) 0%, rgba(252,243,224,0.00) 100%);border-radius:15px 15px 0 0;pointer-events:none}
	  .result-modal[data-result-kind="confirm"]::before{height:185px}
	  .result-modal[data-result-kind="payment"]{width:358px;min-height:425px;padding:52px 30px 28px;border-radius:15px;background:#fff}
	  .result-modal[data-result-kind="payment"]::before{content:"";position:absolute;left:0;right:0;top:0;height:360px;background-image:linear-gradient(180deg, rgba(252,243,224,0.80) 0%, rgba(252,243,224,0.00) 100%);border-radius:15px 15px 0 0;pointer-events:none}
	  .result-modal>*{position:relative;z-index:1}
	  .result-modal .modal-x{position:absolute;right:22px;top:22px;width:20px;height:20px;background-size:20px 20px;z-index:2}
  .result-modal .success-icon{width:0;height:0;margin:0;background:transparent;font-size:0}
  .result-modal h2{font-family:"PingFang SC","PingFangSC-Semibold","Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:24px;font-weight:600;text-align:center;margin:0 0 14px;color:#043431}
  .result-modal[data-result-kind="success"] h2,.result-modal[data-result-kind="confirm"] h2{margin-bottom:17px}
  .result-modal p{min-height:34px;margin:0 0 22px;color:#537472;font-family:"PingFang SC","PingFangSC-Regular","Helvetica Neue",Arial,sans-serif;font-size:14px;line-height:24px;font-weight:400;text-align:center;overflow-wrap:anywhere}
  .result-modal[data-result-kind="success"] p,.result-modal[data-result-kind="confirm"] p{min-height:24px;margin-bottom:17px;white-space:pre-line}
  .result-modal[data-result-kind="confirm"] p{min-height:48px}
	  .result-modal .payment-qr{width:190px;height:190px;margin:0 auto 16px;padding:5px;border-radius:10px}
	  .result-modal .payment-qr img{width:180px;height:180px}
	  .result-actions{gap:10px;width:100%;justify-content:center;flex-wrap:nowrap}
	  .result-btn{min-width:0;width:132px;height:48px;padding:0 18px;border-radius:24px;font-size:14px;line-height:24px;font-weight:600;flex:0 0 132px}
	  .result-modal[data-result-kind="success"] .result-confirm{width:273px;flex-basis:273px}
	  .result-modal[data-result-kind="confirm"] .result-btn,
	  .result-modal[data-result-kind="payment"] .result-btn{width:132px;flex:0 0 132px}
	  .result-cancel{background:#f8efdf;color:#043431}
	  .result-cancel:hover{background:#fcf3e0}
	  .result-modal[data-result-level="vip"] .result-confirm{background:linear-gradient(90deg,#f8efdf 0%,#f9d997 100%);color:#043431}
	  .result-modal[data-result-level="vip"] .result-confirm:hover{background:linear-gradient(90deg,#fbf2e3 0%,#f5ce7b 100%)}
	  .result-modal[data-result-kind="confirm"] .result-confirm,
	  .result-modal[data-result-kind="payment"] .result-confirm,
	  .result-modal[data-result-kind="success"][data-result-level="svip"] .result-confirm{background:#043431;border-radius:100px;color:#F6D89A;font-family:"PingFang SC","PingFangSC-Semibold","Helvetica Neue",Arial,sans-serif;font-size:14px;letter-spacing:0;text-align:center;font-weight:600}
	  .result-modal[data-result-kind="confirm"] .result-confirm:hover,
	  .result-modal[data-result-kind="payment"] .result-confirm:hover,
	  .result-modal[data-result-kind="success"][data-result-level="svip"] .result-confirm:hover{opacity:.9;background:#043431;border-radius:100px;color:#F6D89A}
	}

.mobile-benefits,.mobile-buy-label,.mobile-payment-sheet,.mobile-vip-member-menu,.mobile-vip-member-mask{display:none}

@media(max-width:768px){
  .modal-overlay{align-items:flex-start;overflow:auto;padding:0;background:rgba(0,0,0,.5);scrollbar-width:none}
  .modal-overlay::-webkit-scrollbar{display:none}
  .modal-overlay.active{display:flex}
  .modal-overlay.modal-front{z-index:510}
  .modal-overlay[data-vip-modal]{background:#fff}
  .modal-overlay[data-vip-modal].active{display:block}
  .modal-x{width:20px;height:20px;background:url('/static/img/prototype-mobile/dialog close@2x.png') center/20px 20px no-repeat;font-size:0}

  .vip-modal{width:100%;min-height:100vh;min-height:100dvh;max-height:none;border-radius:0;background:#fff;overflow:visible;box-shadow:none;display:flex;flex-direction:column}
  .vip-gold-head{position:relative;height:210px;padding:0;background:#ffedc2 url('/static/img/prototype-mobile/VIP-top-pic@2x.png') center top/100% 210px no-repeat}
  .vip-modal[data-vip-level="svip"] .vip-gold-head{background-image:url('/static/img/prototype-mobile/SVIP-top-pic@2x.png')}
  .vip-gold-head::before{content:"";display:block;position:absolute;left:30px;top:58px;width:168px;height:28px;background:#043431;-webkit-mask:url('/static/img/logo-cn-gray.png') center/168px 28px no-repeat;mask:url('/static/img/logo-cn-gray.png') center/168px 28px no-repeat}
  .vip-gold-head h2,.vip-gold-head p,.vip-login-link{display:none}
  .vip-modal .modal-x{right:30px;top:56px;width:32px;height:32px;border-radius:50%;background-image:url('/static/img/prototype-mobile/Not logged in-dark@2x.png');background-size:32px 32px;z-index:5}
  body[data-auth="true"] .vip-modal .modal-x{background-color:transparent;background-image:url('/static/img/prototype/logged in- hover@2x.png')}

  .modal-checkout{flex:1;min-height:calc(100vh - 327px);min-height:calc(100dvh - 327px);height:auto;margin-top:-39px;border:0;border-radius:15px 15px 0 0;padding:18px 28px 74px;background:#fff;overflow:visible;box-shadow:none}
  .modal-checkout::before,.vip-modal.is-guest .modal-checkout::after{display:none}
  .modal-checkout .plan-tabs{position:absolute;left:0;right:0;top:-45px;width:auto;height:91px;margin:0;padding:0;background:transparent;overflow:visible;z-index:2}
  .modal-checkout .plan-tabs button{height:91px;padding:0;display:grid;place-items:start center;background-color:transparent;background-position:center top;background-repeat:no-repeat;background-size:100% 91px;border-radius:0!important;outline:0}
  .vip-modal[data-vip-level="vip"] .modal-checkout .plan-tabs [data-plan-filter="vip"]{background-image:url('/static/img/prototype-mobile/left tab-bg-selected@2x.png')}
  .vip-modal[data-vip-level="svip"] .modal-checkout .plan-tabs [data-plan-filter="svip"]{background-image:url('/static/img/prototype-mobile/right tab-bg-selected@2x.png')}
  .modal-checkout .plan-tabs button img{width:74px;height:20px;margin-top:14px;object-fit:contain}

  .mobile-benefits{display:block;height:24px;margin:0 2px 15px;color:#537472;font-size:16px;line-height:24px;white-space:nowrap;z-index:3}
  .mobile-benefits>div{display:none;align-items:center;justify-content:space-between}
  .mobile-benefits span::before{content:"•";margin-right:6px}
  .vip-modal[data-vip-level="vip"] [data-mobile-benefits="vip"],.vip-modal[data-vip-level="svip"] [data-mobile-benefits="svip"]{display:flex;justify-content: flex-start;gap: 20px;}

  .modal-checkout .plans-grid{height:auto;display:grid;grid-template-columns:1fr;gap:15px;margin:0 0 40px;opacity:1!important}
  .modal-checkout .plan-card{position:relative;width:100%;height:100px;min-height:100px;padding:0;border:0;border-radius:16px;background:#fff;box-shadow:0 8px 21px rgba(4,52,49,.08);opacity:1;pointer-events:auto!important}
  .modal-checkout .plan-card::before{content:"";position:absolute;left:20px;top:50%;width:20px;height:20px;transform:translateY(-50%);background:url('/static/img/prototype-mobile/radio button-normal@2x.png') center/20px 20px no-repeat}
  .modal-checkout .plan-card.selected{border:2px solid #043431;background-image:linear-gradient(104deg,#FEF9F0 0%,#FCF1DC 100%);box-shadow:0 2px 15px 0 rgba(4,52,49,.10);border-radius:17px}
  .modal-checkout .plan-card.selected::before{background-image:url('/static/img/prototype-mobile/radio button-VIP-selected@2x.png')}
  .vip-modal[data-vip-level="svip"] .modal-checkout .plan-card.selected::before{background-image:url('/static/img/prototype-mobile/radio button-SVIP-selected@2x.png')}
  .modal-checkout .plan-card strong{position:absolute;left:50px;top:22px;max-width:calc(100% - 145px);font-family:"PingFang SC","PingFangSC-Semibold","Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:40px;font-weight:600;color:#043431;text-align:left;white-space:nowrap}
  .vip-modal[data-vip-level="svip"] .modal-checkout .plan-card strong{color:#043431}
  .modal-checkout .plan-days{display:none}
  .modal-checkout .plan-price{position:absolute;right:24px;top:50%;margin:0;transform:translateY(-50%);font-family:"PingFang SC","PingFangSC-Semibold","Helvetica Neue",Arial,sans-serif;font-size:28px;line-height:40px;font-weight:600;color:#043431;text-align:right;white-space:nowrap}
  .vip-modal[data-vip-level="svip"] .modal-checkout .plan-price{color:#D2A955}
  .modal-checkout .plan-badge{position:absolute;left:50px;right:auto;top:55px;margin:0;padding:2px 7px;border-radius:10px;background:#ff3f4c;color:#fff;font-size:12px;line-height:18px;white-space:nowrap}
  .modal-checkout .plan-card:not(:has(.plan-badge)) strong{top:50%;transform:translateY(-50%)}

  .benefit-title,.benefit-table,.pay-title,.modal-checkout .pay-row{display:none}
  .modal-checkout .buy-button,.vip-modal.is-guest .login-required{position:static;width:100%;height:48px;margin:0;transform:none;border-radius:24px;background:#ffdda0;color:#043431;font-size:16px;font-weight:700}
  .vip-modal[data-vip-level="svip"] .modal-checkout .buy-button,
  .checkout-panel[data-vip-level="svip"] .buy-button{background:#043431;color:#F6D89A}
  .vip-modal.is-guest .login-required{display:flex}
  .vip-modal.is-guest .buy-disabled{display:none}
  .desktop-login-label{display:none}
  .mobile-buy-label{display:inline}

  .mobile-vip-member-mask{display:none}
  .vip-modal.mobile-member-open .mobile-vip-member-mask{display:block;position:fixed;inset:0;background:rgba(0,0,0,.22);z-index:6}
  .mobile-vip-member-menu{display:none}
  .vip-modal.mobile-member-open .mobile-vip-member-menu{position:fixed;right:28px;top:94px;z-index:7;width:min(220px,calc(100vw - 56px));padding:18px;background:#fff;border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.22);display:block}
  .mobile-vip-member-menu strong{font-size:15px;line-height:22px}
  .mobile-vip-member-menu p{margin:8px 0 14px;color:#537472;font-size:13px;line-height:20px}
  .mobile-vip-member-menu button{border:0;background:transparent;color:#27B86D;font-size:14px;cursor:pointer}

  .login-modal{width:min(586px,calc(100vw - 32px));height:auto;min-height:0;margin:80px auto 0;grid-template-columns:1fr;border-radius:18px;overflow:hidden;background:#fff}
  .login-modal::before{content:"";position:absolute;left:0;right:0;top:0;height:210px;background-image:linear-gradient(180deg,rgba(252,243,224,.80) 0%,rgba(252,243,224,0) 100%);border-radius:18px 18px 0 0;pointer-events:none;z-index:0}
  .login-modal>*{position:relative;z-index:1}
  .login-copy{display:none}
  .login-modal .modal-x{position:absolute;right:18px;top:18px;z-index:2}
  .qr-card{padding:54px 24px 24px;background:transparent}
  .qr-card h2{font-size:25px;line-height:33px;margin-bottom:12px}
  .qr-intro{font-size:14px!important;line-height:24px!important;margin-bottom:14px!important;white-space:pre-line}
  .qr-box{width:230px;height:224px;margin:0 auto 42px;border:0;border-radius:0;background:url('/static/img/prototype/QR code-bg备份@2x.png') center/230px 224px no-repeat}
  .qr-box img{width:197px;height:197px}
  .agree-row{height:auto;gap:6px;margin:0 auto;color:#557472;font-size:11px;line-height:18px;white-space:normal}
  .agree-row input{appearance:none;width:16px;height:16px;margin:0;background:url('/static/img/prototype/small radio button-normal @2x.png') center/16px 16px no-repeat;flex:0 0 16px}
  .agree-row input:checked{background-image:url('/static/img/prototype/small radio button- selected@2x.png')}
  .qr-card [data-qr-status],.qr-card .ghost-btn{display:none}

  .modal-overlay[data-mobile-payment-modal],.modal-overlay[data-result-modal]{align-items:flex-end;overflow:hidden}
  .mobile-payment-sheet{position:relative;width:100%;min-height:399px;padding:24px 28px 50px;border-radius:18px 18px 0 0;background:#fff;display:flex;flex-direction:column;align-items:center;color:#043431;box-shadow:0 -16px 60px rgba(0,0,0,.12);overflow:hidden}
  .mobile-payment-sheet::before{content:"";position:absolute;left:0;right:0;top:0;height:320px;background-image:linear-gradient(180deg,rgba(252,243,224,.80) 0%,rgba(252,243,224,0) 100%);border-radius:18px 18px 0 0;pointer-events:none;z-index:0}
  .mobile-payment-sheet>*{position:relative;z-index:1}
  .mobile-payment-sheet .modal-x,.result-modal .modal-x{position:absolute;right:22px;top:22px;width:16px;height:16px;background-size:16px 16px;z-index:2}
  .mobile-payment-sheet h2{font-size:20px;line-height:28px;margin:0 0 16px}
  .mobile-payment-sheet>p{font-size:16px;line-height:24px;color:#537472;margin:0 0 18px}
  .mobile-payment-sheet>strong{font-size:42px;line-height:50px;margin:0;font-weight:700}
  .mobile-payment-sheet>strong::first-letter{font-size:20px}
  .mobile-payment-divider{width:100%;height:1px;margin:8px 0 17px;background:#edf1f1}
  .mobile-payment-options{width:100%;display:grid;gap:0}
  .mobile-payment-option{height:47px;display:flex;align-items:center;gap:10px;font-size:16px;cursor:pointer}
  .mobile-payment-option img{width:20px;height:20px;object-fit:contain}
  .mobile-payment-option input{appearance:none;width:20px;height:20px;margin-left:auto;background:url('/static/img/prototype-mobile/radio button-normal@2x.png') center/20px 20px no-repeat}
  .mobile-payment-option input:checked{background-image:url('/static/img/prototype-mobile/radio button-VIP-selected@2x.png')}
  [data-mobile-payment-modal][data-vip-level="svip"] .mobile-payment-option input:checked{background-image:url('/static/img/prototype-mobile/radio button-SVIP-selected@2x.png')}
  .mobile-payment-submit{width:100%;min-height:48px;margin-top:20px;padding:0 18px;border:0;border-radius:24px;background:#ffdda0;color:#043431;font-size:18px;font-weight:700;line-height:1.2;text-align:center;cursor:pointer}
  [data-mobile-payment-modal][data-vip-level="svip"] .mobile-payment-submit{background:#043431;color:#ffdda0}

  .result-modal{width:100%;max-width:none;min-height:207px;margin:0;padding:24px 28px 50px;border-radius:18px 18px 0 0;gap:0;box-shadow:0 -16px 60px rgba(0,0,0,.12);overflow:hidden;background:#fff}
  .result-modal[data-result-kind="success"]::before,.result-modal[data-result-kind="confirm"]::before{content:"";position:absolute;left:0;right:0;top:0;height:190px;background-image:linear-gradient(180deg,rgba(252,243,224,.80) 0%,rgba(252,243,224,0) 100%);border-radius:18px 18px 0 0;pointer-events:none}
  .result-modal[data-result-kind="confirm"]::before{height:220px}
  .result-modal>*{position:relative;z-index:1}
  .result-modal .success-icon{display:none}
  .result-modal h2{font-size:20px;line-height:28px;margin:0 0 16px;color:#043431}
  .result-modal p{min-height:24px;margin:0 0 24px;color:#537472;font-size:16px;line-height:26px;white-space:pre-line}
  .result-actions{gap:10px;justify-content:center;flex-wrap:nowrap}
  .result-btn{min-width:0;width:calc((100vw - 66px)/2);max-width:160px;height:48px;padding:0 18px;font-size:16px;flex:0 1 calc((100vw - 66px)/2)}
  .result-modal[data-result-kind="success"] .result-confirm{width:100%;max-width:319px;flex-basis:100%}
  .result-modal[data-result-kind="confirm"]{min-height:231px;padding-top:24px}
  .result-modal[data-result-kind="confirm"] .result-btn{flex:0 1 calc((100vw - 66px)/2)}
	  .result-modal[data-result-kind="payment"]{min-height:420px;padding-top:54px;overflow:hidden}
	  .result-modal[data-result-kind="payment"]::before{content:"";position:absolute;left:0;right:0;top:0;height:360px;background-image:linear-gradient(180deg, rgba(252,243,224,0.80) 0%, rgba(252,243,224,0.00) 100%);border-radius:18px 18px 0 0;pointer-events:none}
	  .result-modal[data-result-kind="payment"]>*{position:relative;z-index:1}
	  .result-modal[data-result-kind="payment"] .modal-x{position:absolute;z-index:2}
	  .result-modal[data-result-kind="payment"] .result-actions{flex-wrap:nowrap}
	  .result-modal[data-result-kind="payment"] .result-btn{flex:0 1 calc((100vw - 66px)/2)}
	  .result-modal[data-result-kind="payment"] .result-cancel{background:#f8efdf;color:#043431}
	  .result-modal[data-result-kind="payment"] .result-confirm{background:#043431;color:#F6D89A}
	  .result-modal[data-result-kind="payment"] .result-confirm:hover{opacity:.9;background:#043431;color:#F6D89A}
	  .result-modal[data-result-level="svip"] .result-confirm{background:#043431;color:#F6D89A}
  .result-modal .payment-qr{margin-bottom:20px}
}

/* Final PC tab composition: selected slices overhang to cover the angled bottom edge. */
@media(min-width:769px){
  .modal-checkout{
    border-radius:0!important;
    overflow:visible!important;
  }
  .modal-checkout .plan-tabs{
    height:45px;
    margin:0 -25px 0;
    background-color:#ffedc2;
    background-image:url('/static/img/prototype/VIP-watermark- rigth@2x.png'),url('/static/img/prototype/watermark- left@2x.png');
    background-position:right -75px,left -75px;
    background-repeat:no-repeat;
    background-size:250px 140px,100px 140px;
    overflow:visible;
  }
  .modal-checkout .plan-tabs button{
    position:relative;
    height:45px;
    overflow:visible;
    background-image:none!important;
    background-color:transparent!important;
    border-radius:0!important;
  }
  .modal-checkout .plan-tabs button::before,
  .modal-checkout .plan-tabs button::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    pointer-events:none;
    opacity:0;
  }
  .modal-checkout .plan-tabs button::before{display:none}
  .modal-checkout .plan-tabs button::after{
    top:2px;
    height:47px;
    background-position:center bottom;
    background-repeat:no-repeat;
    background-size:100% 47px;
  }
  .vip-modal[data-vip-level="vip"] .modal-checkout .plan-tabs [data-plan-filter="vip"]::after,
  .vip-modal[data-vip-level="svip"] .modal-checkout .plan-tabs [data-plan-filter="svip"]::after{opacity:1}
  .vip-modal[data-vip-level="vip"] .modal-checkout .plan-tabs [data-plan-filter="vip"]::after{background-image:url('/static/img/prototype/left-tab-selected@2x.png')}
  .vip-modal[data-vip-level="svip"] .modal-checkout .plan-tabs [data-plan-filter="svip"]::after{background-image:url('/static/img/prototype/right-tab-selected@2x.png')}
  .modal-checkout .plan-tabs button img{
    position:relative;
    z-index:2;
  }
  .modal-checkout .plans-grid{margin-top:20px}
  .vip-modal.is-guest .benefit-title,
  .vip-modal.is-guest .benefit-table,
  .vip-modal.is-guest .pay-title,
  .vip-modal.is-guest .pay-row,
  .vip-modal.is-guest .buy-disabled{opacity:1}
  .vip-modal.is-guest .modal-checkout::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:364px;
    border-radius:0 0 15px 15px;
    background-image:linear-gradient(180deg,rgba(255,255,255,0.20) 2%,#fff 100%);
    pointer-events:none;
    z-index:2;
  }
	  .vip-modal.is-guest .login-required{z-index:3}
	  .vip-modal[data-vip-level="svip"] .modal-checkout .buy-button,
	  .checkout-panel[data-vip-level="svip"] .buy-button{
	    background:#043431;
	    color:#F6D89A;
	  }
	  .vip-modal[data-vip-level="svip"] .modal-checkout .buy-button:hover,
	  .checkout-panel[data-vip-level="svip"] .buy-button:hover{
	    opacity:.9;
	    background:#043431;
	    color:#F6D89A;
	  }
	}

@media(min-width:769px) and (max-width:960px){
  .vip-modal{width:min(740px,calc(100vw - 32px));height:min(612px,calc(100vh - 32px));max-height:calc(100vh - 32px)}
  .vip-gold-head{height:72px;padding:20px 24px}
  .vip-gold-head h2{max-width:calc(100% - 48px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .modal-checkout{height:calc(100% - 72px);padding:0 22px 18px;overflow:hidden}
  .modal-checkout .plan-tabs{width:calc(100% + 44px);height:43px;margin:0 -22px 8px;background-position:right -75px,left -75px}
  .modal-checkout .plan-tabs button{height:43px}
  .modal-checkout .plan-tabs button::after{height:45px;background-size:100% 45px}
  .modal-checkout .plan-tabs button img{width:68px;height:auto}
  .modal-checkout .plans-grid{height:86px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0 15px}
  .modal-checkout .plan-card{height:86px;min-height:86px;padding:15px 10px 12px;overflow:hidden}
  .modal-checkout .plan-card strong{max-width:100%;font-size:clamp(12px,1.7vw,15px);line-height:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .modal-checkout .plan-price{font-size:clamp(18px,2.6vw,22px);line-height:24px;white-space:nowrap}
  .modal-checkout .plan-badge{right:7px;top:55px;max-width:calc(100% - 14px);padding:2px 5px;font-size:9px;line-height:14px;overflow:hidden;text-overflow:ellipsis}
  .benefit-title,.pay-title{font-size:13px;line-height:18px;margin-bottom:8px}
  .benefit-table{height:154px;margin-bottom:14px;border-radius:10px}
  .benefit-head{height:48px;font-size:clamp(10px,1.45vw,12px);line-height:16px}
  .benefit-row{height:53px;font-size:clamp(11px,1.6vw,13px);line-height:18px}
  .benefit-head span,.benefit-row span{min-width:0;padding:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html[lang="en"] .benefit-head span,html[lang="en"] .benefit-row span{font-size:10px;line-height:14px;white-space:normal}
  .benefit-row strong img{width:54px;height:auto}
  .modal-checkout .pay-row{left:22px;bottom:24px;height:28px;gap:24px;max-width:calc(100% - 226px);overflow:hidden}
  .modal-checkout .pay-option{height:28px;gap:6px;font-size:clamp(12px,1.8vw,15px);line-height:20px;min-width:0;white-space:nowrap}
  .modal-checkout .pay-option input{width:20px;height:20px;flex-basis:20px;background-size:20px 20px}
  .modal-checkout .pay-option img{width:24px;height:24px}
  .modal-checkout .pay-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .modal-checkout .buy-button{right:22px;bottom:14px;width:180px;height:48px;border-radius:24px;font-size:clamp(12px,1.8vw,14px);padding:0 12px}
  .vip-modal.is-guest .modal-checkout::after{height:310px}
  .vip-modal.is-guest .login-required{bottom:14px;width:190px;height:48px;font-size:14px}
}

.mobile-download-icon,.mobile-login-sheet,.mobile-vip-footer{display:none}

/* Mobile home, app authorization, language menu, and member-page footer. */
@media(max-width:768px){
  :root{--mobile-gutter:clamp(20px,7.4667vw,28px)}

  .page-download{display:block;min-height:812px;min-height:max(812px,100vh);min-height:max(812px,100dvh);background-image:url('/static/img/prototype-mobile/bg@2x.png');background-position:center top;background-size:cover;background-repeat:no-repeat;overflow:hidden}
  .site-topbar{height:56px;padding:0 var(--mobile-gutter);background:rgba(4,52,49,1);backdrop-filter:none}
  .site-logo img{width:171px;height:28px;object-fit:contain}
  .site-actions{gap:18px}
  .vip-pill{width:32px;height:32px;background-image:url('/static/img/prototype-mobile/VIP-small@2x.png');background-size:32px 32px;border-radius:50%}
  .vip-pill:hover{background-image:url('/static/img/prototype-mobile/VIP-small@2x.png')}
  .account-btn{width:32px;height:32px;background-image:url('/static/img/prototype-mobile/Not logged in-light@2x.png');background-size:32px 32px}
  body[data-auth="true"] .account-btn{background-color:transparent;background-image:url('/static/img/prototype/logged in- hover@2x.png')}
  .member-menu{top:40px;right:0;width:min(220px,calc(100vw - 40px))}
  .site-actions.open .member-menu-mask{display:block;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:28}
  .site-actions.open .member-menu{position:fixed;top:56px;right:var(--mobile-gutter);z-index:29}

  .dl-content{display:block;width:100%;max-width:none;margin:0;padding:179px var(--mobile-gutter) 0}
  .dl-title{margin:0 0 201px;font-size:40px;line-height:1.7;font-weight:200;white-space:nowrap}
  .dl-buttons{width:100%;max-width:none;display:flex;flex-direction:column;gap:20px}
  .dl-btn{display:flex;width:100%;height:52px;padding:0 24px;border-radius:28px;justify-content:center;gap:10px;font-size:16px;font-weight:600}
  .dl-btn:not(.primary){background:transparent;border-color:rgba(246,248,248,.35);color:#f6f8f8}
  .desktop-download-icon{display:none}
  .mobile-download-icon{display:block;width:24px;height:24px;object-fit:contain}

  .dl-footer{position:absolute;left:0;right:0;bottom:0;width:100%;max-width:none;padding:0 var(--mobile-gutter) 22px}
  .dl-divider{margin:0 0 20px;background:rgba(246,248,248,.14)}
  .dl-footer-inner{position:relative;display:block}
  .dl-footer-left{gap:10px;font-size:12px;line-height:18px;color:#789695}
  .dl-footer-links{width:190px;display:grid;grid-template-columns:max-content max-content;gap:6px 14px}
  .dl-footer-links>a{padding:0;font-size:12px;line-height:20px;color: rgba(150,181,181,0.80);font-weight: 400;}
  .dl-footer-links>a:nth-child(odd)::after,.mobile-vip-footer nav a:nth-child(odd)::after{content:"|";margin-left:14px;color:#537472}
  .dl-footer-links>.footer-icp{display:none}

  .dl-footer .lang-switch{position:absolute;right:0;top:40%;}
  .mobile-vip-footer .lang-switch{position:absolute;right:var(--mobile-gutter);top:40%;}
  .lang-btn{width:114px;height:40px;padding:0 14px;border-radius:22px;justify-content:space-between;gap:4px;font-size:14px;white-space:nowrap;outline:none}
  .lang-btn img{width:16px;height:16px;object-fit:contain}
  .lang-dropdown{right:0;bottom:50px;width:115px;padding:8px;border-radius:14px;background:#fff}
  .lang-opt{height:36px;padding:0 7px;border-radius:8px;font-size:14px;line-height:36px;white-space:nowrap}
  .lang-opt.active{background:#e8f5ef;color:#27b86d}

  .dark-footer{padding:22px 0 34px}
  .dark-footer-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px 18px;padding:0 var(--mobile-gutter)}
  .dark-footer .dl-footer-left{display:contents}
  .dark-footer .dl-footer-left>span{grid-column:1/-1;color:#789695;font-size:12px;line-height:18px;white-space:nowrap}
  .dark-footer .dl-footer-links{grid-column:1;width:190px;display:grid;grid-template-columns:max-content max-content;gap:6px 14px}
  .dark-footer .dl-footer-links>a{padding:0;font-size:12px;line-height:20px;color:rgba(150,181,181,.8);font-weight:400}
  .dark-footer .dl-footer-links>a:nth-child(odd)::after{content:"|";margin-left:14px;color:#537472}
  .dark-footer .dl-footer-links>.footer-icp{display:none}
  .dark-footer .lang-switch{grid-column:2;position:relative;right:auto;top:auto;align-self:center}

  .modal-overlay[data-mobile-login-modal]{align-items:flex-end;overflow:hidden}
  .mobile-login-sheet{position:relative;width:100%;min-height:231px;padding:24px var(--mobile-gutter) 44px;border-radius:18px 18px 0 0;background:#fff;display:flex;flex-direction:column;align-items:center;color:#043431;box-shadow:0 -16px 60px rgba(0,0,0,.12);overflow:hidden}
  .mobile-login-sheet::before{content:"";position:absolute;left:0;right:0;top:0;height:210px;background-image:linear-gradient(180deg,rgba(252,243,224,.80) 0%,rgba(252,243,224,0) 100%);border-radius:18px 18px 0 0;pointer-events:none;z-index:0}
  .mobile-login-sheet>*{position:relative;z-index:1}
  .mobile-login-sheet .modal-x{position:absolute;right:22px;top:22px;width:16px;height:16px;background-size:16px 16px;z-index:2}
  .mobile-login-sheet h2{margin:0 0 13px;font-size:20px;line-height:28px}
  .mobile-login-sheet>p{margin:0;color:#537472;font-size:16px;line-height:26px;text-align:center;white-space:pre-line}
  .mobile-login-status{margin-top:8px!important;font-size:12px!important;line-height:18px!important;color:#27b86d!important}
  .mobile-login-status[hidden]{display:none}
  .mobile-login-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
  .mobile-login-actions button{height:48px;border:0;border-radius:24px;background:#f6f8f8;color:#043431;font-size:16px;font-weight:700;cursor:pointer}
  .mobile-login-actions [data-mobile-auth-open]{background:#27b86d;color:#fff}
  .mobile-login-actions button:disabled{opacity:.55;cursor:wait}

  .mobile-vip-footer{position:relative;width:100%;min-height:176px;padding:34px var(--mobile-gutter) 39px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px 12px;background:#00120e;color:#789695;font-size:12px;line-height:18px}
  .mobile-vip-footer>span{grid-column:1/-1;display:block;white-space:nowrap}
  .mobile-vip-footer nav{grid-column:1;width:min(204px,100%);display:grid;grid-template-columns:minmax(0,max-content) minmax(0,max-content);gap:6px 12px;align-items:center}
  .mobile-vip-footer nav a{min-width:0;font-size:12px;line-height:20px;color:rgba(150,181,181,.8);white-space:nowrap}
  .mobile-vip-footer .lang-switch{grid-column:2;position:relative;right:auto;top:auto}
  html[lang="en"] .mobile-vip-footer nav{width:min(204px,100%);gap:6px 8px}
  html[lang="en"] .mobile-vip-footer nav a{font-size:12px}
  html[lang="en"] .mobile-vip-footer nav a:nth-child(odd)::after{margin-left:8px}
  html[lang="en"] .dl-title{font-size:30px;white-space:normal}
}

@media(max-width:350px){
  .site-logo img{width:155px;height:25px}
  .site-actions{gap:12px}
  .dl-title{font-size:36px}
  html[lang="en"] .dl-title{font-size:26px}
  .dl-footer-left,.mobile-vip-footer{font-size:11px}
  .dl-footer-links,.mobile-vip-footer nav{width:170px;gap:6px 10px}
  .dl-footer-links>a,.mobile-vip-footer nav a{font-size: 12px;color: rgba(150,181,181,0.80);font-weight: 400;}
  .dl-footer-links>a:nth-child(odd)::after,.mobile-vip-footer nav a:nth-child(odd)::after{margin-left:10px}
  .lang-btn{width:104px;padding:0 11px;font-size:13px}
  .lang-dropdown{width:106px}
  html[lang="en"] .mobile-vip-footer{gap:18px 8px}
  html[lang="en"] .mobile-vip-footer nav{width:166px;gap:6px 6px}
  html[lang="en"] .mobile-vip-footer nav a{font-size:11px}
  html[lang="en"] .mobile-vip-footer nav a:nth-child(odd)::after{margin-left:6px}
  html[lang="en"] .mobile-vip-footer .lang-btn{width:96px;padding:0 9px;font-size:12px}
}

@media(max-width:640px){
  .legal-contact{margin-top:28px;padding-top:20px}
  .article .legal-contact h3{font-size:18px;line-height:26px}
  .article .legal-contact p{font-size:15px;line-height:26px}
  .legal-contact dl{gap:8px}
  .legal-contact dl div{grid-template-columns:76px minmax(0,1fr);column-gap:10px}
  html[lang="en"] .legal-contact dl div{grid-template-columns:122px minmax(0,1fr)}
}

/* Keep mobile bottom sheets inside the currently visible browser viewport. */
@media(max-width:768px){
  .modal-overlay[data-mobile-login-modal],
  .modal-overlay[data-mobile-payment-modal],
  .modal-overlay[data-result-modal]{
    inset:var(--modal-viewport-top,0px) 0 auto;
    height:var(--modal-viewport-height,100vh);
    max-height:var(--modal-viewport-height,100vh);
    align-items:flex-end;
    overflow:hidden;
    overscroll-behavior:contain;
  }

  .mobile-login-sheet,
  .mobile-payment-sheet,
  .result-modal{
    flex:0 1 auto;
    max-height:100%;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }

  .mobile-login-sheet{min-height:min(231px,100%);padding-bottom:calc(44px + env(safe-area-inset-bottom,0px))}
  .mobile-payment-sheet{min-height:min(399px,100%);padding-bottom:calc(50px + env(safe-area-inset-bottom,0px))}
  .result-modal{min-height:min(207px,100%);padding-bottom:calc(50px + env(safe-area-inset-bottom,0px))}
  .result-modal[data-result-kind="confirm"]{min-height:min(231px,100%)}
  .result-modal[data-result-kind="payment"]{min-height:min(420px,100%);overflow-y:auto}
}
