/* Approved CityGo mobile-first payment surface. No simulated balances. */
.cg-mobile-pay{margin:0;background:#f1f8f4;color:#19283a;font-family:'Instrument Sans',-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;font-size:14px;line-height:1.55;--paper:#f8fcfa;--surface:#fff;--ink:#19283a;--green:#079b64;--line:#e6eeeb;color-scheme:light}
.cg-mobile-pay *{box-sizing:border-box}.cg-mobile-pay .pay-wrap{max-width:none;margin:0;padding:0;min-height:100dvh}.cg-mobile-pay [hidden]{display:none!important}.cg-mobile-pay h1,.cg-mobile-pay h2,.cg-mobile-pay h3{font-family:inherit;color:#182b36;letter-spacing:-.02em}.cg-mobile-pay h2{font-size:15px;font-weight:700;margin:0 0 12px;line-height:1.4}.cg-mobile-pay a{text-decoration:none;color:#08955f}.cg-mobile-pay :focus-visible{outline:3px solid #149466;outline-offset:3px}.cg-mobile-pay .cg-icon{vertical-align:middle;flex-shrink:0}.cg-mobile-shell{max-width:460px;min-height:100dvh;margin:0 auto;background:linear-gradient(180deg,#fbfefc 0%,#f6f9f8 37%,#fff 100%);position:relative;box-shadow:0 0 65px #204e3010;border-left:1px solid #edf3ee;border-right:1px solid #edf3ee}.cg-mobile-header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:15px}.cg-mobile-brand{display:flex;align-items:center;gap:5px;color:#078650!important;font-size:20px}.cg-mobile-brand .cg-brand-mark{width:25px;height:29px;flex-shrink:0;color:#32b474}.cg-mobile-brand strong{letter-spacing:-.6px}.cg-mobile-back{width:35px;height:35px;display:grid;place-items:center;color:#324254!important}.cg-language{position:relative;font-size:11px;z-index:10}.cg-language summary{cursor:pointer;list-style:none;display:flex;gap:4px;align-items:center;color:#77897d;min-height:36px;padding:0 3px}.cg-language summary::-webkit-details-marker{display:none}.cg-language>div{position:absolute;inset:calc(100% + 4px) 0 auto auto;min-width:168px;background:white;border:1px solid #e6eee9;border-radius:10px;box-shadow:0 8px 25px #102d2814;max-height:380px;overflow:auto;padding:5px}.cg-language a{display:block;padding:9px 12px;color:#495e51}.cg-mobile-content{padding:8px 20px 18px}.cg-mobile-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px}.cg-mobile-intro h1{font-size:24px;font-weight:750;line-height:1.3;margin:0 0 8px;letter-spacing:-.6px}.cg-mobile-intro p{font-size:12px;line-height:1.65;color:#7c8e87;margin:0;max-width:260px}.cg-intro-art{display:grid;place-items:center;flex-shrink:0;width:55px;height:60px;color:#19a473;background:#e9f8ee;border-radius:22px 22px 16px 16px;transform:rotate(7deg);border:1px solid #e3f5e9}.cg-intro-art.is-wallet{color:#078650;background:#e2f7e8}.cg-mobile-card{background:white;border:1px solid #e9efec;border-radius:13px;box-shadow:0 4px 15px #28433703;margin:0 0 21px;padding:17px 15px}.cg-order-meta{padding-bottom:12px;border-bottom:1px solid #eef2ef}.cg-order-meta>div{display:flex;gap:8px;align-items:flex-start;line-height:1.6;margin-bottom:8px;font-size:12px}.cg-order-meta>div:last-child{margin:0}.cg-order-meta .cg-icon{margin-top:2px;color:#80918c}.cg-order-meta>div>span{color:#8b9a97;width:40px;flex-shrink:0}.cg-order-meta strong{font-weight:550;color:#3c4b58;overflow-wrap:anywhere}.cg-order-number{font-size:11px;font-variant-numeric:tabular-nums}.cg-mobile-item{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #f0f4f1;font-size:12px}.cg-mobile-item>img,.cg-mobile-food-placeholder{height:45px;width:45px;border-radius:7px;object-fit:cover;background:#f0f5ef;flex-shrink:0;display:grid;place-items:center;color:#9eafa4}.cg-mobile-item>div{flex:1;min-width:0}.cg-mobile-item strong{font-size:12px;font-weight:550;display:block;color:#344c4a;line-height:1.5}.cg-mobile-item small{font-size:10px;color:#9ba9a1;display:block;margin-top:3px}.cg-mobile-item>span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap;color:#273e3f;font-size:13px}.cg-mobile-total{display:flex;justify-content:space-between;align-items:center;padding:15px 0 2px;gap:12px}.cg-mobile-total>span{font-weight:650;font-size:13px}.cg-mobile-total strong{font-size:22px;font-weight:750;letter-spacing:-.5px;color:#059962;font-variant-numeric:tabular-nums}.cg-order-detail{font-size:11px;color:#81928a;margin-top:13px}.cg-order-detail summary{cursor:pointer;color:#8d9e96}.cg-order-detail p{white-space:pre-line;font-size:11px;line-height:1.7;color:#84988a;margin:10px 0 0}.cg-payment-choices{margin:25px 0 16px}.cg-method-choice{display:flex;align-items:center;gap:13px;padding:18px 14px;background:#fff;border:1px solid #e0eae5;border-radius:11px;margin-bottom:12px;color:#233d31!important;transition:border-color .15s,background .15s}.cg-method-choice:hover{border-color:#13a772;background:#f4fcf7}.cg-method-choice>div{flex:1;min-width:0}.cg-method-choice strong{display:block;font-size:15px;font-weight:700}.cg-method-choice small{font-size:11px;color:#8a9b92;display:block;margin-top:3px}.cg-choice-orb{display:grid;place-items:center;align-self:flex-start;width:40px;height:40px;background:#dff5e6;color:#058f5f;border-radius:50%;flex-shrink:0}.cg-choice-channels{display:flex;gap:9px;align-items:center;margin-top:11px;color:#688276;font-size:9px;flex-wrap:wrap}.cg-choice-channels>span{display:flex;align-items:center;gap:3px}.cg-choice-channels .cg-pay-icon{width:16px;height:16px;min-width:16px;font-size:11px;border-radius:50%;box-shadow:none}.cg-choice-channels .cg-pay-icon-paypal{background:none}.cg-choice-channels .cg-icon{width:13px;height:13px}.cg-pay-icon{width:33px;height:33px;min-width:33px;display:grid;place-items:center;border-radius:50%;font-family:Arial,sans-serif;font-size:23px;font-weight:700;color:#fff;background:#17a681}.cg-pay-icon-paypal{color:#063d94;font-style:italic;background:#e6f4fc;font-size:28px;font-weight:900;line-height:1;text-shadow:3px 1px #1c9fe9}.cg-pay-icon-usdc_ethereum{background:#2782df;font-size:26px}.cg-pay-icon-usdt_trc20{background:#22a183}.cg-pay-icon-gift_card{color:#f38825;background:#fff2e8}.cg-channel-section{margin-top:24px}.cg-channel-list{background:white;border:1px solid #e4ece7;border-radius:12px;padding:4px;box-shadow:0 5px 15px #123a2503}.cg-channel{display:flex;gap:12px;align-items:center;min-height:59px;padding:10px;border-radius:8px;border:1px solid transparent;border-bottom-color:#f0f4f2;cursor:pointer;margin:0;font-weight:400}.cg-channel:last-of-type{border-bottom-color:transparent}.cg-channel:has(input:checked){border:1px solid #1aa96e;background:#f1fcf5}.cg-channel>span:nth-child(2){flex:1;min-width:0}.cg-channel strong{display:block;font-size:14px;color:#243b39;font-weight:650}.cg-channel em{font-style:normal;font-weight:450;font-size:12px}.cg-channel small{display:block;font-size:10px;color:#8e9e96;margin-top:1px}.cg-channel input[type=radio]{width:19px;height:19px;accent-color:#099e68;flex-shrink:0;cursor:pointer;margin:0}.cg-channel.is-disabled{opacity:.53;cursor:not-allowed}.cg-channel.is-disabled input{cursor:not-allowed}.cg-recharge-order h2{margin-bottom:13px}.cg-recharge-order>div:nth-child(2){display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#879a8f}.cg-recharge-order>div:nth-child(2) small{font-size:9px;color:#a0aea5;overflow-wrap:anywhere}.cg-recharge-order .cg-mobile-total{padding-top:12px}.cg-mobile-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.cg-mobile-section-title h2{margin:0}.cg-mobile-section-title>span{font-size:11px;color:#8c9e93;background:#eaf5ee;padding:2px 7px;border-radius:5px}.cg-recharge-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cg-recharge-presets>a,.cg-recharge-presets>span{height:54px;border-radius:9px;border:1px solid #e2eae6;background:white;display:flex;align-items:center;justify-content:center;position:relative;font-size:14px;font-weight:550;color:#374b44;font-variant-numeric:tabular-nums}.cg-recharge-presets>a:hover{border-color:#06905d}.cg-recharge-presets>.active{border-color:#129d69;background:#f0fcf3;color:#088851;font-weight:750;box-shadow:0 0 0 1px #129d6912}.cg-recharge-presets>.active span{position:absolute;bottom:0;right:0;font-size:9px;background:#159c69;color:white;width:17px;height:15px;border-radius:7px 0 7px 0;text-align:center;line-height:15px}.cg-recharge-presets>.is-disabled{background:#f5f7f6;color:#bac5bf;border-color:#edf1ee;cursor:not-allowed}.cg-mobile-hint{font-size:10px;color:#a2ada7;margin:10px 1px 0}.cg-mobile-notice{display:flex;align-items:flex-start;gap:8px;padding:12px;border-radius:9px;background:#edf7fc;color:#6d8a9b;font-size:11px;line-height:1.75;margin-top:17px}.cg-mobile-notice p{margin:0}.cg-mobile-notice .cg-icon{margin-top:2px;color:#318bc2;flex-shrink:0}.cg-mobile-notice.is-warning{background:#fff7e9;color:#a6792f}.cg-recharge-charge{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#7c9286;gap:10px;margin:17px 1px 0}.cg-recharge-charge strong{font-size:17px;color:#078953}.cg-payment-consent{display:flex;align-items:flex-start;gap:8px;margin:12px 1px 0;font-size:10px;font-weight:400;color:#8a9a91;line-height:1.7}.cg-payment-consent input{width:15px;height:15px;min-width:15px;margin:2px 0 0;accent-color:#08a46b}.cg-mobile-sticky{position:sticky;bottom:0;z-index:3;background:rgba(255,255,255,.97);margin:18px -20px -1px;padding:12px 20px max(13px,env(safe-area-inset-bottom));display:flex;gap:15px;align-items:center;border-top:1px solid #e7efeb;box-shadow:0 -5px 20px #214b3305;backdrop-filter:blur(10px)}.cg-mobile-sticky>div{min-width:90px;max-width:42%}.cg-mobile-sticky small{display:block;font-size:10px;color:#91a297}.cg-mobile-sticky strong{font-size:20px;color:#069557;letter-spacing:-.4px}.cg-pay-submit{border:0;border-radius:24px;background:linear-gradient(120deg,#009e69,#078c4f);color:#fff;min-height:49px;padding:12px 19px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:650;font-size:14px;line-height:1.4;font-family:inherit;font-size:14px;flex:1;cursor:pointer;box-shadow:0 3px 8px #15995114}.cg-pay-submit:disabled{opacity:.45;cursor:not-allowed}.cg-mobile-footer{padding:15px 0 8px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px;font-size:10px;color:#93a99a}.cg-mobile-footer a{font-size:10px;color:#629179}.cg-mobile-footer>small{display:block;width:100%;text-align:center;font-size:10px;color:#b0bdb5}.cg-payment-state{padding:24px 20px;background:#edf6fc;border:1px solid #dfeef7;border-radius:14px;margin-bottom:18px;text-align:center}.cg-payment-state.is-success{background:linear-gradient(130deg,#e4f9ec,#f3fcf4);border-color:#d8f1e2}.cg-state-icon{width:57px;height:57px;border-radius:50%;background:#b6e3d4;color:#078053;display:grid;place-items:center;margin:0 auto 17px}.cg-payment-state h2{font-size:19px;margin-bottom:9px}.cg-payment-state p{font-size:12px;color:#7c8f85;margin:0 0 18px;line-height:1.75}.cg-payment-state>div{display:flex;justify-content:space-between;padding:9px 12px;background:#ffffffb3;gap:10px;font-size:12px;color:#728a7e}.cg-payment-state>div strong{color:#224e36;font-size:14px}.cg-progress-row{display:flex;align-items:flex-start;gap:14px;position:relative;padding:8px 0 20px}.cg-progress-row:not(:last-child):before{content:'';position:absolute;left:12px;top:35px;bottom:0;width:2px;background:#dce7df}.cg-progress-row.done:not(:last-child):before{background:#4db888}.cg-progress-row i{width:26px;height:26px;border-radius:50%;background:#eaf0ed;color:#8da398;display:grid;place-items:center;font-size:12px;font-style:normal;flex-shrink:0}.cg-progress-row.done i{background:#12a36d;color:#fff}.cg-progress-row.current i{border:2px solid #0c9f65;color:#0c9f65;background:#fff}.cg-progress-row strong{display:block;font-size:13px;color:#365e47}.cg-progress-row small{display:block;font-size:11px;color:#9aaca0;margin-top:4px}
@media(min-width:650px){.cg-mobile-shell{margin:28px auto;min-height:calc(100dvh - 56px);border-radius:24px;overflow:clip;box-shadow:0 20px 75px #234e3010}.cg-mobile-header{height:76px}.cg-mobile-pay{background:radial-gradient(ellipse at 30% 15%,#dff5e6 0,transparent 60%),#f4f9f6}.cg-mobile-content{padding-left:24px;padding-right:24px}.cg-mobile-sticky{margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}}
@media(max-width:359px){.cg-mobile-content{padding:6px 15px 15px}.cg-mobile-header{padding:0 15px}.cg-mobile-intro h1{font-size:22px}.cg-intro-art{width:43px;height:49px}.cg-mobile-total strong{font-size:20px}.cg-recharge-presets>a,.cg-recharge-presets>span{font-size:12px}.cg-mobile-sticky{margin-left:-15px;margin-right:-15px;padding-left:15px;padding-right:15px}.cg-pay-submit{padding:10px;font-size:13px}.cg-mobile-item>span:last-child{font-size:12px}}
@media(prefers-reduced-motion:reduce){.cg-mobile-pay *{transition:none!important;animation:none!important}}
/* Related legacy gift-card / on-chain forms inherit a matching light shell. */
.gift-card-pay,.crypto-pay{font-family:'Instrument Sans','PingFang SC','Microsoft YaHei',sans-serif}

/* 2026-09-07 reference-led public payment refinement.
   Visual only: payment amounts, providers and state transitions remain server-authoritative. */
.cg-mobile-pay{background:
  radial-gradient(circle at 15% 2%,rgba(67,191,126,.10),transparent 34%),
  linear-gradient(180deg,#f8fcfa 0%,#f1f8f4 100%)}
.cg-mobile-shell{background:linear-gradient(180deg,#fff 0%,#fbfdfc 45%,#f8fbf9 100%)}
.cg-mobile-header{position:sticky;top:0;z-index:20;height:68px;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(228,237,232,.72);backdrop-filter:blur(14px)}
.cg-mobile-content{padding-top:18px}
.cg-mobile-intro{align-items:flex-start;margin-bottom:18px}
.cg-mobile-intro h1{font-size:26px;font-weight:800;letter-spacing:-.75px}
.cg-mobile-intro p{color:#778a80;font-size:12px}
.cg-mobile-card{border-color:#e4ede8;border-radius:15px;box-shadow:0 10px 30px rgba(30,76,48,.055)}
.cg-method-choice{min-height:104px;border-color:#dfeae4;border-radius:14px;box-shadow:0 8px 22px rgba(31,83,51,.04)}
.cg-method-choice strong{font-size:16px}.cg-choice-orb{width:44px;height:44px;background:linear-gradient(145deg,#e3f8e9,#cef0da)}
.cg-channel-list{border-radius:14px;padding:5px}.cg-channel{min-height:66px;border-radius:10px}.cg-channel:has(input:checked){box-shadow:inset 0 0 0 1px rgba(26,169,110,.08)}
.cg-pay-submit{min-height:52px;border-radius:12px;background:linear-gradient(135deg,#16a05d,#087f42);font-weight:750;box-shadow:0 8px 18px rgba(9,139,75,.18)}
.cg-payment-state{position:relative;overflow:hidden;padding:30px 20px 22px;border-radius:16px;background:linear-gradient(145deg,#eef8fd,#f8fcfe)}
.cg-payment-state.is-success{background:linear-gradient(145deg,#ebf9f0,#f8fdf9)}
.cg-payment-state.is-success::before,.cg-payment-state.is-success::after{content:'';position:absolute;width:7px;height:7px;background:#f0a42d;transform:rotate(45deg);top:38px}
.cg-payment-state.is-success::before{left:44px}.cg-payment-state.is-success::after{right:44px;background:#77b875}
.cg-state-icon{width:66px;height:66px;border:10px solid #dcf5e6;background:#1ba566;color:#fff;box-shadow:0 0 0 1px #caecd7;margin-bottom:18px}
.cg-payment-state h2{font-size:22px;font-weight:800}.cg-payment-state>div{border-radius:8px;margin-top:1px}
.cg-progress{padding:20px 18px}.cg-progress-row.current i{box-shadow:0 0 0 7px #dff5e8}.cg-progress-row strong{font-weight:750}

/* Gift-card and on-chain subflows now share the same CityGo mobile shell. */
.cg-subflow-mobile{width:min(100%,460px);max-width:460px}
.cg-subflow-header .payment-language{display:flex;align-items:center;justify-content:flex-end;gap:4px;width:76px;margin:0;color:#829188;font-size:10px;font-weight:700}
.cg-subflow-header .payment-language a{color:#829188}.cg-subflow-header .payment-language a.active{color:#078650}
.cg-subflow-content{padding-top:14px}
.cg-subflow-panel{position:relative;margin-bottom:12px;padding:22px 16px 18px}
.cg-subflow-panel .cg-subflow-kicker{margin:0 0 5px;color:#168b59;font-size:10px;font-weight:800;letter-spacing:.08em;text-align:left;text-transform:uppercase}
.cg-subflow-panel>h1{max-width:300px;margin:0 0 7px;padding-right:52px;color:#172c25;font-size:25px;font-weight:800;line-height:1.25;letter-spacing:-.65px;text-align:left}
.cg-subflow-panel>p:not(.cg-subflow-kicker):not(.payment-trust):not(.muted):not(.crypto-source-note){max-width:330px;margin:0 0 18px;color:#74867d;font-size:12px;line-height:1.7;text-align:left}
.cg-subflow-panel .friend-subflow-icon{position:absolute;top:18px;right:16px;width:46px;height:46px;margin:0;border:1px solid #e6f2e9;border-radius:15px;background:#e8f8ed;color:#14935a}
.cg-subflow-panel .friend-subflow-icon.usdc{background:#e7f1ff;color:#2775ca;font-size:21px}.cg-subflow-panel .friend-subflow-icon.usdt{background:#e0f7ef;color:#168b70;font-size:23px}
.cg-subflow-panel .invoice-meta{display:grid;gap:9px;margin:14px 0;padding:13px 14px;border:1px solid #e7eee9;border-radius:11px;background:#fbfdfc}
.cg-subflow-panel .invoice-meta{grid-template-columns:1fr}.cg-subflow-panel .invoice-meta>div{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;min-height:27px}.cg-subflow-panel .invoice-meta dt{margin:0;color:#829188;font-size:11px;letter-spacing:0;text-transform:none}.cg-subflow-panel .invoice-meta dd{margin:0;color:#2c4339;font-size:12px;font-weight:700;text-align:right}
.gift-card-steps{justify-content:flex-start;margin:15px 0 14px;padding:0 2px}.gift-card-total{margin:12px 0 14px;padding:12px 13px}
.gift-card-entry{margin:14px 0;padding:15px;border-color:#e1e9e4;border-radius:12px;background:#fff!important;box-shadow:0 7px 20px rgba(26,63,40,.035)}
.gift-card-entry-head{margin-bottom:12px}.gift-card-entry-label{font-size:15px}.gift-picker-label{font-size:10px}
.gift-card-panel .form-row{display:grid;grid-template-columns:1fr}
.gift-brand-options{gap:7px}.gift-brand-option{min-height:45px;border-radius:9px;font-size:10px}.gift-brand-logo{width:28px;height:28px;flex-basis:28px;border-radius:8px}
.gift-card-type-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gift-card-type-option{min-height:46px;border-radius:9px;justify-content:center}
.gift-card-panel input,.gift-card-panel select,.gift-card-panel textarea,.crypto-panel input{min-height:46px;border-color:#dfe8e3;border-radius:9px;background:#fff;font-family:inherit;font-size:13px}
.gift-card-panel input[type=file]{min-height:0;padding:9px;background:#f9fbfa}
.gift-card-file-preview{min-height:64px;justify-content:center;border-radius:9px;background:#fbfdfc}
.gift-card-form-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.gift-card-form-actions .btn{justify-content:center;min-height:47px;margin:0;border-radius:10px}.gift-card-form-actions .btn-primary{grid-column:1/-1;grid-row:1}.gift-card-form-actions>a{grid-column:1/-1}
.crypto-amount-block{margin:15px 0;padding:18px;border:0;border-radius:11px!important;background:linear-gradient(135deg,#fff8df,#fff3c9)!important}.crypto-amount-block span{color:#7e7044;font-size:11px}.crypto-amount-block strong{color:#172c25;font-family:inherit!important;font-size:27px!important;font-weight:800}
.crypto-instructions{gap:0;margin:14px 0;border:1px solid #e4ece7!important;border-radius:12px!important;background:#fff}
.crypto-instructions>div{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:start;gap:10px;padding:12px;border-bottom:1px solid #edf2ef}.crypto-instructions>div:last-child{border-bottom:0}.crypto-instructions dt{color:#647970;font-size:10px;letter-spacing:0;text-transform:none}.crypto-instructions dd{display:flex;align-items:flex-start;justify-content:flex-end;gap:7px;min-width:0;color:#253a32;font-size:10px;text-align:right}.crypto-instructions code{min-width:0;overflow-wrap:anywhere;font-size:10px}.copy-inline{flex:0 0 auto;margin:0;padding:3px 7px;border-color:#d7e2dc;border-radius:6px;color:#167d50;background:#fff;font-size:9px}
.crypto-source-note{margin:-4px 2px 13px!important;font-size:10px!important}.crypto-panel .banner{border-radius:10px;font-size:11px;line-height:1.7}.crypto-submit{margin-top:18px;padding-top:18px}.crypto-submit h2{font-size:17px}.crypto-submit>p{color:#71847a;font-size:11px;line-height:1.7}.crypto-submit .btn-primary{width:100%;min-height:50px;border-radius:10px;background:linear-gradient(135deg,#16a05d,#087f42);font-weight:750}.payment-trust{margin-top:14px;padding-top:14px}.payment-trust a{display:inline-flex;align-items:center;gap:5px}

@media(min-width:650px){.cg-subflow-mobile{margin-top:28px;margin-bottom:28px}}
@media(max-width:430px){.cg-subflow-content{padding-left:14px;padding-right:14px}.cg-subflow-panel{padding:20px 14px 16px}.gift-brand-options{grid-template-columns:repeat(2,minmax(0,1fr))}.cg-mobile-sticky{box-shadow:0 -10px 30px rgba(19,68,39,.08)}}

/* Readable payment details and touch targets. Financial values remain server-owned. */
.cg-mobile-intro p,.cg-payment-state p,.cg-progress-row small,.cg-mobile-footer,
.cg-mobile-footer>small,.cg-order-meta>div>span,.cg-mobile-item small,
.cg-subflow-panel .invoice-meta dt,.cg-subflow-header .payment-language a,
.cg-subflow-panel>p:not(.cg-subflow-kicker):not(.payment-trust):not(.muted):not(.crypto-source-note),
.crypto-submit>p,.gift-picker-label{color:#53665c;font-size:13px}
.cg-mobile-footer a,.cg-language summary{color:#456653}
.cg-progress-row small{line-height:1.65}
.cg-mobile-pay .btn-primary,.cg-mobile-pay .cg-pay-submit{background:linear-gradient(135deg,#147443,#096b3b);color:#fff}
.gift-card-panel input,.gift-card-panel select,.crypto-panel input{font-size:16px}
.gift-card-entry label,.gift-brand-option,.gift-card-type-option{font-size:13px}
.cg-mobile-pay .gift-brand-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.gift-brand-option>span:last-child{min-width:0;overflow-wrap:anywhere}
.gift-brand-option,.gift-card-type-option,.gift-card-remove{min-height:44px}
.gift-card-remove{min-width:44px}
.gift-brand-logo img{width:100%;height:100%;object-fit:contain}
.cg-pay-icon img{width:25px;height:25px;object-fit:contain}
.cg-mobile-pay .gift-brand-logo{background:#fff;border:1px solid #dce8df;padding:4px;color:#24563a}
.crypto-instructions>div{grid-template-columns:1fr;gap:6px}
.crypto-instructions dt{font-size:13px;color:#53665c}
.crypto-instructions dd{font-size:14px;text-align:left;justify-content:space-between;align-items:center}
.crypto-instructions code{font-size:13px;user-select:all;line-height:1.7}
.copy-inline{min-height:44px;padding:8px;font-size:12px}
.crypto-qr{margin:18px 0;padding:18px 12px;border:1px solid #dce8df;border-radius:14px;background:#fff;text-align:center}
.crypto-qr img{display:block;max-width:100%;height:auto;margin:0 auto}
.crypto-qr figcaption{font-size:13px;line-height:1.7;color:#53665c;max-width:300px;margin:12px auto 0}
#crypto-copy-feedback{font-size:13px;color:#315b43;overflow-wrap:anywhere}
.crypto-amount-block strong{overflow-wrap:anywhere}
.cg-mobile-pay .banner{font-size:13px}
.cg-mobile-pay :focus-visible{outline-color:#08633c}
@media(prefers-reduced-motion:reduce){.cg-mobile-pay *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readability and identity: preserve existing green design and both entry flows. */
.cg-mobile-pay .cg-payment-consent,.cg-mobile-pay .cg-channel small{font-size:13px;line-height:1.6;color:#40584b}
.cg-mobile-pay .cg-mobile-notice{font-size:13px;line-height:1.7;color:#36566a}
.cg-mobile-pay .cg-mobile-notice.is-warning{color:#70501e}
.cg-mobile-pay .cg-mobile-notice p{font-size:inherit;color:inherit}
.cg-merchant-identity{display:flex;align-items:center;gap:12px;padding:14px 0}
.cg-merchant-identity img{flex:none;object-fit:contain;border:1px solid #e0eae4;border-radius:12px;background:#fff;padding:5px}
.cg-merchant-identity small,.cg-merchant-identity strong{display:block;overflow-wrap:anywhere}
.cg-merchant-identity small{font-size:12px;color:#53665c;margin-bottom:4px}
.cg-merchant-identity strong{font-size:16px;color:#152d20}
.cg-order-image{display:block;position:relative;width:64px;height:64px;flex:none}
.cg-order-image img,.cg-order-image .cg-mobile-food-placeholder{width:100%;height:100%;border-radius:10px;object-fit:contain}
.cg-order-image [hidden]{display:none!important}
.cg-item-details p{white-space:pre-wrap;overflow-wrap:anywhere}
.cg-payment-receipt{display:grid;gap:12px;margin:16px 0;padding:16px;border:1px solid #e0eae4;border-radius:14px;background:#fff}
.cg-payment-receipt div{display:flex;justify-content:space-between;gap:16px;font-size:13px;line-height:1.5}
.cg-payment-receipt dt{color:#53665c}.cg-payment-receipt dd{margin:0;text-align:right;overflow-wrap:anywhere;color:#152d20}
/* Keyboard targets and bounded locale picker, including short mobile viewports. */
.cg-mobile-pay .cg-language summary{min-height:44px;min-width:44px;justify-content:center}
.cg-mobile-pay .cg-language>div{max-height:min(380px,65dvh);max-width:calc(100vw - 48px);overscroll-behavior:contain}
.cg-mobile-pay .cg-language a{min-height:44px;display:flex;align-items:center}
.cg-mobile-pay .cg-mobile-footer a{min-height:44px;display:inline-flex;align-items:center;font-size:13px}
[dir="rtl"] .cg-progress-row:not(:last-child):before{left:auto;right:12px}
[dir="rtl"] .cg-language>div{inset-inline-start:auto;inset-inline-end:0}
/* Small channel marks must fit their 16px slots rather than overlap text. */
.cg-choice-channels .cg-pay-icon img{width:16px;height:16px}
.cg-choice-channels{flex-wrap:wrap;row-gap:6px}
/* Keep consent and channel controls unobscured, including tall mobile forms. */
.cg-mobile-pay .cg-mobile-sticky{position:static}
.cg-file-picker{position:relative;display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #bacdc1;border-radius:10px;background:#fff;color:#1b5a38;padding:12px;font-size:14px}
.cg-mobile-pay .cg-file-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0}
.cg-file-picker:focus-within{outline:3px solid #08633c;outline-offset:3px}
.cg-mobile-pay .cg-mobile-footer,.cg-mobile-pay .cg-mobile-footer>small,.cg-mobile-pay .cg-mobile-hint,
.cg-mobile-pay .cg-order-detail summary,.cg-mobile-pay .cg-recharge-order small,.cg-mobile-pay .cg-progress-row small{color:#4c6456;font-size:13px;line-height:1.6}
.cg-mobile-pay .cg-choice-channels{font-size:11px;color:#40584b}
.cg-mobile-pay .cg-order-detail p,.cg-mobile-pay .cg-method-choice small{font-size:13px;color:#4c6456;line-height:1.6}
/* English field labels must not overlap values in the compact order summary. */
.cg-mobile-pay .cg-order-meta>div{display:grid;grid-template-columns:16px 76px minmax(0,1fr);gap:8px}
.cg-mobile-pay .cg-order-meta>div>span{width:auto;color:#53665c;overflow-wrap:anywhere}
.cg-mobile-pay .cg-order-meta strong{min-width:0}

/* Preserve actual product proportions; the original order image remains the source. */
.cg-mobile-pay .cg-order-image{width:76px;height:76px;position:relative;flex:none;display:block;border:1px solid #e1eae4;border-radius:10px;background:#fff;overflow:hidden}
.cg-order-image img,.cg-order-image .cg-mobile-food-placeholder{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;border-radius:9px}
.cg-order-image .cg-mobile-food-placeholder{display:grid;place-items:center}
.cg-order-image-food img{object-fit:cover}
.cg-mobile-pay .cg-order-image-portrait{height:auto;aspect-ratio:3/4}
.cg-order-image-portrait img,.cg-order-image-contain img{object-fit:contain}
.cg-order-image.cg-image-fit-contain img{object-fit:contain}
.cg-order-image.cg-image-fit-cover img{object-fit:cover}
.cg-image-expand{position:absolute;inset-inline-end:3px;bottom:3px;display:grid;place-items:center;width:22px;height:22px;border:1px solid #d6e4dc;border-radius:6px;background:rgba(255,255,255,.94);color:#24563a}
.cg-order-image:hover{border-color:#147443}
.cg-merchant-identity>div{min-width:0;flex:1}
.cg-merchant-logo{display:block;position:relative;flex:none;width:64px;height:64px}
.cg-merchant-logo.is-wordmark{width:min(160px,44vw)}
.cg-merchant-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px;padding:5px}
.cg-logo-placeholder{position:absolute;inset:0;display:grid;place-items:center;border:1px solid #e0eae4;border-radius:10px;background:#f1f7f3;color:#53665c}
.cg-mobile-pay .cg-image-preview{width:min(920px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;margin:auto;padding:0;border:1px solid #dbe7df;border-radius:16px;background:#fff;color:#19283a;box-shadow:0 18px 60px #0003}
.cg-image-preview[open]{display:flex;flex-direction:column}
.cg-image-preview::backdrop{background:rgba(16,29,22,.72)}
.cg-image-preview header{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #e4ede8}
.cg-image-preview h2{flex:1;min-width:0;margin:0;font-size:16px;overflow-wrap:anywhere}
.cg-image-preview button{display:grid;place-items:center;flex:none;width:44px;height:44px;margin:0;padding:8px;border:1px solid #d5e3da;border-radius:10px;background:#fff;color:#24563a;cursor:pointer}
.cg-image-preview-body{display:grid;place-items:center;min-height:140px;padding:12px;overflow:auto}
.cg-image-preview-body img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(90dvh - 100px);object-fit:contain}
.cg-image-preview-body p{padding:12px;color:#53665c}

/* Four-batch local refinement: the order page alone expands on desktop.
   Payment subflows retain their compact shell; no amount/state logic lives here. */
.cg-order-page .cg-checkout-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.cg-order-page .cg-order-overview,.cg-order-page .cg-payment-overview{min-width:0}
.cg-order-page .cg-mobile-intro{padding:7px 0 18px;margin-bottom:0;gap:16px}
.cg-order-page .cg-mobile-intro p{max-width:36ch;font-size:14px;line-height:1.65}
.cg-order-page .cg-merchant-identity{padding:3px 0 18px}
.cg-order-page .cg-order-summary{padding:20px 17px;margin-bottom:18px}
.cg-order-page .cg-order-summary>h2{font-size:17px;padding-bottom:13px;margin-bottom:13px;border-bottom:1px solid #e4ede8}
.cg-order-page .cg-order-meta>div{font-size:13px;grid-template-columns:16px 80px minmax(0,1fr)}
.cg-order-page .cg-order-number{font-size:12px}
.cg-order-page .cg-mobile-item{gap:12px;padding:16px 0;align-items:center}
.cg-order-page .cg-mobile-item strong{font-size:14px;font-weight:650;overflow-wrap:anywhere}
.cg-order-page .cg-mobile-item>span:last-child{font-size:14px}
.cg-order-page .cg-mobile-total{padding-top:18px;align-items:flex-start}
.cg-order-page .cg-mobile-total>span{font-size:14px;padding-top:4px}
.cg-order-page .cg-mobile-total strong{font-size:25px;overflow-wrap:anywhere;text-align:end;min-width:0}
.cg-order-page .cg-order-detail summary{min-height:44px;padding:10px 0;color:#315740;font-weight:600}
.cg-order-page .cg-original-copy{border-top:1px solid #e4ede8;padding-top:12px;font-size:12px}
.cg-order-page .cg-payment-choices{margin-top:8px}
.cg-order-page .cg-method-choice{padding:18px 16px;min-height:112px}
.cg-order-page .cg-method-choice strong{font-size:17px}
.cg-order-page .cg-method-choice small{font-size:14px}
.cg-order-page .cg-channel-section{margin-top:14px}
.cg-order-page .cg-channel-section>h2,.cg-order-page .cg-mobile-section-title h2{font-size:17px}
.cg-order-page .cg-channel{min-height:76px;padding:13px 12px}
.cg-order-page .cg-channel strong{font-size:16px}
.cg-order-page .cg-channel input[type=radio]{width:22px;height:22px}
.cg-order-page .cg-recharge-presets>a,.cg-order-page .cg-recharge-presets>span{font-size:clamp(12px,3.2vw,14px);min-height:60px;height:auto;padding:12px 4px}
.cg-order-page .cg-payment-consent{padding:12px 0;gap:11px;font-size:14px;line-height:1.6}
.cg-order-page .cg-payment-consent input{width:20px;height:20px;min-width:20px;margin-top:2px}
.cg-order-page .cg-mobile-sticky{gap:14px;margin-top:12px;align-items:center}
.cg-order-page .cg-mobile-sticky strong{overflow-wrap:anywhere;display:block}
.cg-order-page .cg-pay-submit{min-height:54px;font-size:15px}
.cg-order-page .cg-payment-state p{font-size:14px;line-height:1.75;color:#40584b}
.cg-order-page .cg-payment-state>div{font-size:14px;line-height:1.6}
.cg-order-page.is-status-page .cg-payment-overview{order:-1}
.cg-order-page .cg-mobile-back{min-width:44px;min-height:44px}
.cg-order-page .cg-language summary{font-size:13px}
.cg-order-page .cg-mobile-footer{margin-top:20px;padding-top:16px;border-top:1px solid #e1ebe5}
.cg-public-support,.cg-recharge-destination{margin:18px 0;padding:18px;border:1px solid #dce8e0;border-radius:14px;background:#f5faf7;color:#3d5748;font-size:14px;line-height:1.7}
.cg-public-support h2,.cg-recharge-destination h2{font-size:15px;margin:0;color:#213f2d;font-weight:700}
.cg-public-support-heading,.cg-recharge-destination h2{display:flex;align-items:center;gap:8px}
.cg-public-support p,.cg-recharge-destination p{margin:10px 0 0;font-size:13px;line-height:1.7;color:#40594a}
.cg-public-support .cg-support-contact,.cg-public-support .cg-support-back{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:14px;color:#136b3c;font-weight:650;overflow-wrap:anywhere}
.cg-public-support .cg-support-contact{margin-top:5px}
.cg-public-support .cg-support-back{display:flex}
.cg-recharge-destination{background:#fffdf7;border-color:#e7dfc8}
.cg-recharge-destination dl{display:grid;gap:9px;margin:14px 0 0}
.cg-recharge-destination dl>div{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:12px;font-size:13px}
.cg-recharge-destination dt{color:#566456}
.cg-recharge-destination dd{margin:0;text-align:end;overflow-wrap:anywhere;font-weight:650;color:#2d4636}
.cg-recharge-destination>small{display:block;margin-top:10px;font-size:12px;line-height:1.6;color:#586656}
@media(min-width:1000px){
 .cg-order-page.cg-mobile-shell{width:calc(100% - 64px);max-width:1120px;min-height:calc(100dvh - 64px);margin:32px auto;border-radius:24px}
 .cg-order-page .cg-mobile-header{height:84px;padding-inline:32px}
 .cg-order-page .cg-mobile-brand{font-size:24px;gap:8px}
 .cg-order-page .cg-mobile-brand .cg-brand-mark{width:30px;height:35px}
 .cg-order-page .cg-mobile-content{padding:24px 32px}
 .cg-order-page .cg-mobile-intro{padding:0 0 28px;max-width:none}
 .cg-order-page .cg-mobile-intro h1{font-size:32px;letter-spacing:-.8px}
 .cg-order-page .cg-mobile-intro p{max-width:none;font-size:15px}
 .cg-order-page .cg-intro-art{width:60px;height:64px}
 .cg-order-page .cg-checkout-layout{grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);align-items:start;gap:32px}
 .cg-order-page.is-status-page .cg-payment-overview{order:initial}
 .cg-order-page .cg-payment-overview{border-inline-start:1px solid #e2ece6;padding-inline-start:32px}
 .cg-order-page .cg-order-summary{padding:22px}
 .cg-order-page .cg-mobile-sticky{margin-inline:0;padding:18px 0 0;box-shadow:none;background:transparent;border-top:1px solid #dce8e1;backdrop-filter:none;flex-wrap:wrap}
 .cg-order-page .cg-mobile-sticky>div{max-width:none;flex:1}
 .cg-order-page .cg-mobile-sticky .cg-pay-submit{flex-basis:100%}
 .cg-order-page .cg-mobile-footer{margin-top:28px}
}
@media(max-width:389px){
 .cg-order-page .cg-mobile-content{padding-inline:16px}
 .cg-order-page .cg-mobile-sticky{margin-inline:-16px;padding-inline:16px}
 .cg-order-page .cg-mobile-item{gap:9px}
 .cg-order-page .cg-mobile-item strong{font-size:13px}
 .cg-order-page .cg-mobile-item>span:last-child{font-size:13px}
 .cg-order-page .cg-pay-submit{padding-inline:12px;font-size:14px}
}

/* Public channel language controls: native keyboard behavior and no financial form submission. */
.cg-subflow-header .cg-channel-language{display:flex;align-items:center;gap:4px;margin:0;max-width:156px;min-width:0}
.cg-channel-language select{width:112px;min-width:0;height:36px;padding:4px 20px 4px 7px;font:inherit;font-size:12px;border:1px solid #b3c7bb;border-radius:8px;background-color:#fff;color:#234c36}
.cg-channel-language button{display:flex;align-items:center;justify-content:center;width:32px;height:36px;padding:4px;flex-shrink:0;background:#fff;color:#234c36;border:1px solid #b3c7bb;border-radius:8px}
.cg-channel-language select:focus-visible,.cg-channel-language button:focus-visible{outline:3px solid #185d3b;outline-offset:2px}
@media(max-width:389px){.cg-subflow-header .cg-channel-language{max-width:142px}.cg-channel-language select{width:98px}}
.cg-subflow-mobile .cg-subflow-kicker{color:#12643f}
.cg-subflow-mobile .gift-card-steps span,.cg-subflow-mobile .gift-card-file-preview{color:#526159}
.cg-subflow-mobile .gift-type-icon{color:#12643f}
.cg-subflow-mobile .gift-card-form-actions .btn-secondary{color:#155b3c}
.cg-subflow-mobile .payment-trust a{color:#155b3c}
