﻿:root{
    --gold:#d2aa62;
    --orange:#ff8a14;
    --red:#d9303e;
    --paper:#d6c7a7;
    --ink:#0b1216;
    --text:#d8c8aa
}
*{
    box-sizing:border-box
}
html{
    background:#080f13
}
body{
    margin:0;
    min-width:320px;
    color:var(--text);
    background:linear-gradient(#101b20,#070d10);
    font-family:Arial,"Microsoft YaHei",sans-serif
}
button,input{
    font:inherit;
    letter-spacing:0
}
.hero{
    position:relative;
    height:370px;
    background:url("../images/hero.jpg") center/cover no-repeat;
    border-bottom:3px solid #403d35
}
.hero-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,transparent 40%,rgba(3,9,12,.75))
}
.brand{
    position:absolute;
    top:78px;
    left:61%;
    width:410px;
    color:#e7ca94;
    text-align:center;
    text-shadow:0 2px 2px #000,0 0 17px #6b3518;
    font-family:Georgia,serif
}
.brand small{
    font-size:30px
}
.brand h1{
    margin:-3px 0 0;
    font-size:72px;
    line-height:1
}
.brand span{
    display:block;
    margin-top:18px;
    padding:9px;
    border-block:1px solid #ad9162;
    font-size:23px
}
.page{
    width:min(1400px,calc(100% - 50px));
    min-height:1260px;
    margin:auto;
    padding:33px max(25px,11vw) 55px;
    border:1px solid #4c473b;
    background:linear-gradient(135deg,#202b30,#0c1215);
    box-shadow:inset 0 0 100px #05080a
}
.label-row{
    position:relative;
    display:flex;
    align-items:center;
    gap:14px;
    min-height:45px
}
.label-row h2{
    margin:0;
    color:#c8af7e;
    font-size:22px;
    display: flex;
}
.label-row em{
    color:var(--red);
    font-style:normal;font-size:20px;
}
.tiny-info{
    display:inline-grid;
    width:22px;
    height:22px;
    margin-left:8px;
    margin-top:3px;
    padding:0;
    place-items:center;
    border:2px solid var(--red);
    border-radius:50%;
    color:var(--red);
    background:transparent;
    font:bold 12px Georgia;
    cursor:pointer
}
.coin-guide{
    position:absolute;
    right:-230px;
    top:10px;
    width:78px;
    height:78px;
    padding:11px;
    border:1px solid #9e8f69;
    transform:rotate(45deg);
    background:#152027;
    cursor:pointer
}
.coin-guide img{
    width:100%;
    height:100%;
    border-radius:50%;
    transform:rotate(-45deg);
    object-fit:cover
}
.account form{
    display:flex;
    gap:20px;
    padding-right:120px
}
.account input{
    flex:1;
    height:75px;
    padding:0 15px;
    border:1px solid #293439;
    outline:0;
    color:#eee1c8;
    background:#11191d
}
.account input:focus{
    border-color:#94733b
}
.confirm{
    width:160px;
    border:1px solid #f1d074;
    color:#fff0bf;
    background:linear-gradient(#bd8e36,#76511d);
    box-shadow:inset 0 0 0 3px #ffe39622;
    font:600 19px Georgia;
    cursor:pointer
}
.character{
    display:flex;
    gap:135px;
    padding:12px 70px;
    color:#9d8a68;font-weight: bold;
    font-size:16px
}
.shop{
    margin-top:8px
}
.shop>h2{
    margin:0 0 16px;
    padding:13px 18px;
    color:var(--orange);
    background:#081014a6;
    font-size:18px
}
.product-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:9px
}
.product-card{
    position:relative;
    aspect-ratio:1/1.04;
    min-width:0;
    overflow:hidden;
    border:1px solid #887957;
    background:radial-gradient(circle at 50% 37%,#eac86c77,transparent 35%),linear-gradient(145deg,#433a2b,#776641 67%,#302b23)
}
.product-card:after{
    content:"";
    position:absolute;
    inset:4px;
    border:1px solid #ffe8a733;
    pointer-events:none
}
.product-card.selected{
    border-color:#fff2a6;
    box-shadow:0 0 0 2px #ca922d,0 0 18px #e8ad3d
}
.ribbon{
    position:absolute;
    z-index:3;
    top:8px;
    left:-31px;
    width:112px;
    padding:4px 0;
    transform:rotate(-45deg); width: 111px;height: 108px;
    color:#fff;
    text-align:center;
    background:#b83d43;
    font-size:11px;
    font-weight:700;    background:url(../images/ribbon.png) center/cover no-repeat;
}
.card-info{
    position:absolute;
    z-index:4;
    right:8px;
    top:8px;
    display:grid;
    width:21px;
    height:21px;
    padding:0;
    place-items:center;
    border:0;
    border-radius:50%;
    color:#433b2b;
    background:#d5c99cbd;
    font:bold 13px Georgia;
    cursor:pointer
}
.select-product{
    position:absolute;
    z-index:2;
    inset:0;
    display:flex;
    width:100%;
    height:100%;
    padding:15% 0 0;
    align-items:center;
    flex-direction:column;
    justify-content:flex-end;
    border:0;
    color:#eadfc6;
    background:transparent;
    cursor:pointer
}
.select-product img{
    position:absolute;
    top:15%;
    width:50%;
    aspect-ratio:1;
    border-radius:50%;
    object-fit:cover;
    filter:drop-shadow(0 5px 6px #1b140c)
}
.select-product strong,.select-product small{
    width:100%;
    padding-inline:4px;
    background:#2b241ba8;
    font-family:Georgia,serif
}
.select-product strong{
    padding-top:9px;
    color:var(--orange);
    font-size:18px
}
.select-product small{
    padding-block:4px 10px;
    font-size:12px
}
.checkout{
    display:flex;
    align-items:center;
    flex-direction:column;
    padding:48px 0 32px
}
.pay,.modal-price{
    position:relative;
    width:min(400px,100%);
    min-height:80px;
    border:3px solid #fff2a3;
    color:#b23e0d;
    background:linear-gradient(#fff9c9,#eab937);
    box-shadow:0 0 20px #db8b20,inset 0 0 12px #fff;
    clip-path:polygon(6% 0,94% 0,100% 50%,94% 100%,6% 100%,0 50%);
    cursor:pointer
}
.pay strong,.modal-price strong{
    font-size:34px;
    color: #c94700;
    -webkit-text-fill-color: #c94700;
    -webkit-text-stroke: 1px #e56b00;
    font-family: "Arial Black", Arial, "Microsoft YaHei", sans-serif;
    font-style: italic;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 1px 0 #ffad22, 0 2px 2px rgba(103, 31, 0, .32);
}
.pay small,.modal-price small{
    display:block;
    color:#4a3825
}
.pay>b,.modal-price>b{
    position:absolute;
    right:24px;
    top:15px;
    color:#fff;
    background:#dc2936;
    border-radius:50%;
    font-size:13px
}
.checkout label{
    margin-top:22px;
    color:#827d72;
    font-size:12px
}
.checkout a{
    color:#b64348;
    text-decoration:none
}
#status{
    min-height:22px;
    color:#dfaf59
}
.notes{
    padding:25px 28px;
    border:1px solid #a9906440;
    background:#05080a33
}
.notes h2{
    color:#a2a2a3;
    font:600 20px Georgia
}
.notes ol{
    padding-left:22px;
    color:#a2a2a3
}
.notes li{
    margin-bottom:26px;font-size:18px;
    padding-left:5px
}
.overlay{
    position:fixed;
    z-index:20;
    inset:0;
    display:grid;
    place-items:center;
    padding:28px;
    background:#000a
}
.overlay[hidden],[hidden]{
    display:none!important
}
.modal{
    position:relative;
    width:min(680px,calc(100vw - 50px));
    max-height:calc(100vh - 48px);
    color:#554738;
    filter:drop-shadow(0 12px 18px #000)
}
.close{
    position:absolute;
    z-index:5;
    right:-59px;
    top:-8px;
    width:55px;
    height:55px;
    border:0;
    border-radius:50%;
    color:#eee9de;
    background:#111;
    font:300 52px/45px Arial;
    cursor:pointer
}
.paper{
    padding:42px 48px 38px;
    border:2px solid #887a61;
    border-radius:5px;
    background:linear-gradient(90deg,#b7a68222,#fff8df44,#9a886633),var(--paper);
    box-shadow:inset 0 0 0 10px #d8c9aa,inset 0 0 0 12px #8f8064,inset 0 0 35px #7b684c
}
.large-card{
    position:relative;
    width:min(430px,88%);
    aspect-ratio:1/1.03;
    margin:0 auto 28px;
    overflow:hidden;
    border:1px solid #867650;
    background:radial-gradient(circle at 50% 38%,#e7c26488,transparent 34%),linear-gradient(145deg,#4b412f,#776640 65%,#302b23)
}
.large-card img{
    display:block;
    /* width:47%; */
    margin:12% auto 14%;
    border-radius:50%
}
.large-card strong,.large-card small{
    display:block;
    padding:8px;
    text-align:center;
    color:#efe5cf;

    font:700 25px Georgia
}
.large-card small{
    padding-top:0;
    font-size:22px
}
.product-modal h2{
    margin:12px 0;
    font:600 23px Georgia
}
.modal-price{
    display:block;
    margin:28px auto 0
}
.guide-modal{
    height:min(860px,calc(100vh - 48px))
}
.guide-modal .paper{
    height:100%;
    padding:35px;
    overflow-y:auto
}
.guide-scroll h2{
    margin:0 0 22px;
    font:400 19px Arial
}
.guide-block{
    min-height:220px;
    margin-bottom:36px;
    padding:35px;
    color:#eadbbd;
    background:#63533f
}
.guide-block b{
    font-size:24px
}
.guide-block p{
    font:17px/1.6 Arial
}
.guide-scroll{
    scrollbar-color:#85765d #c4b493
}
body.modal-open{
    overflow:hidden
}
@media(max-width:1000px){
    .brand{
        left:auto;
        right:5%;
        width:43vw
    }
    .brand h1{
        font-size:54px
    }
    .page{
        padding-inline:5vw
    }
    .product-grid{
        grid-template-columns:repeat(3,1fr)
    }
}
@media(max-width:620px){
    .hero{
        height:285px;
        background-position:32% center
    }
    .brand{
        top:75px;
        left:50%;
        right:auto;
        width:88%;
        transform:translateX(-50%)
    }
    .brand small{
        font-size:19px
    }
    .brand h1{
        font-size:48px
    }
    .brand span{
        font-size:16px
    }
    .page{
        width:calc(100% - 18px);
        padding:22px 13px 35px
    }
    .label-row{
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
        padding-right:55px
    }
    .coin-guide{
        right:0;
        width:55px;
        height:55px
    }
    .account form{
        flex-direction:column;
        gap:9px;
        padding:0
    }
    .confirm{
        width:100%;
        height:48px
    }
    .character{
        justify-content:space-between;
        gap:8px;
        padding-inline:4px
    }
    .product-grid{
        grid-template-columns:repeat(2,1fr)
    }
    .select-product strong{
        font-size:12px
    }
    .select-product small{
        font-size:10px
    }
    .close{
        right:-7px;
        top:-17px;
        width:46px;
        height:46px;
        font-size:42px;
        line-height:38px
    }
    .paper{
        padding:38px 22px 28px
    }
    .product-modal h2{
        font-size:17px
    }
    .large-card strong{
        font-size:19px
    }
    .large-card small{
        font-size:17px
    }
}

/* Product list viewport with an independent scrollbar */
.product-grid{
    max-height:560px;
    overflow-y:auto;
    align-content:start;
    padding-right:14px;
    scrollbar-width:thin;
    scrollbar-color:#6f7779 #263238
}
.product-grid::-webkit-scrollbar{
    width:16px
}
.product-grid::-webkit-scrollbar-track{
    background:#263238
}
.product-grid::-webkit-scrollbar-thumb{
    border:3px solid #263238;
    background:#687174
}
.product-grid::-webkit-scrollbar-button{
    height:16px;
    background:#414b4f
}
@media(max-width:620px){
    .product-grid{
        max-height:520px;
        padding-right:8px
    }
    .product-grid::-webkit-scrollbar{
        width:10px
    }
}

/* Single-page view controller */
.shell{
    width:min(1400px,calc(100% - 50px));
    min-height:900px;
    margin:auto;
    padding:42px max(25px,11vw) 60px;
    border:1px solid #4c473b;
    background:linear-gradient(135deg,#202b30,#0c1215);
    box-shadow:inset 0 0 100px #05080a
}
.view{
    display:none
}
.view.active{
    display:block;padding-top:40px;
    animation:viewIn .25s ease
}
@keyframes viewIn{
    from{
        opacity:0;
        transform:translateY(12px)
    }
    to{
        opacity:1;
        transform:none
    }
}
.region-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px
}
.region-grid button{
    min-height:92px;
    border:1px solid #947d51;
    color:#d8c092;
    background:linear-gradient(135deg,#5a513e,#292c2a);
    font:600 27px Georgia;
    cursor:pointer
}
.region-grid button:hover{
    filter:brightness(1.2)
}
.intro{
    margin-top:55px
}
.section-head{
    display:flex;
    align-items:center;
    gap:14px;
    margin:0 0 16px;
    padding:12px 18px;
    background:#081014b8
}
.section-head button{
    width:42px;
    height:38px;
    border:0;
    color:#ff8a14;
    background:transparent;
    font-size:27px;
    cursor:pointer
}
.section-head h2{
    margin:0;
    color:#ff8a14;
    font-size:16px
}
.method-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px
}
.method{
    display:flex;
    min-height:76px;
    padding:14px 20px;
    align-items:center;
    gap:16px;
    border:1px solid #344d60;
    color:#c2bbad;
    background:#0b141acc;
    font-size:18px;
    cursor:pointer
}
.method:hover{
    border-color:#d0aa68;
    background:#17252d
}
.method img{
    width:auto;
    min-width: 44px;
    height:44px;
    object-fit:contain
}
.confirm-panel,.success-panel{
    width:min(780px,100%);
    margin:auto;
    padding:38px 48px;
    border:1px solid #554e40;
    background:#11191dcc
}
.confirm-panel>h2{
    padding:18px;
    color: #ff8a14;
    background:#08101480
}
.confirm-panel>h2 span{
    color: #c9ad7f;
}
dl div{
    display:grid;
    grid-template-columns:150px 1fr;
    padding:13px;
    font-size:18px
}
dt{
    text-align:right;
    color:#aaa
}
dd{
    margin-left:28px;
    color:#e5d8be
}
.actions{
    display:flex;
    justify-content:center;
    gap:55px;
    margin-top:35px
}
.actions button,.success-panel>button{
    min-width:210px;
    min-height:60px;
    border:1px solid #987d4f;
    color:#dbc69d;
    background:linear-gradient(135deg,#554b38,#272923);
    font-size:20px;
    cursor:pointer
}
.actions .primary,.success-panel>button{
    background:linear-gradient(#b98935,#75501c)
}
.success-panel{
    text-align:center
}
.success-icon{
    display:grid;
    width:86px;
    height:86px;
    margin:auto;
    place-items:center;
    border:2px solid #d1ad67;
    border-radius:50%;
    color:#f5d98e;
    background:#4b682e;
    font-size:52px
}
.success-panel h2{
    color:#dbc18b;
    font:600 34px Georgia
}
.alert-modal{
    width:min(620px,calc(100vw - 44px));
    text-align:center
}
.alert-modal .paper{
    padding:70px 45px
}
.alert-modal p{
    margin:0 0 42px;
    font-size:27px
}
.alert-confirm{
    min-width:180px;
    min-height:52px;
    border:1px solid #b3955d;
    color:#e9d5ad;
    background:linear-gradient(135deg,#6b5c40,#38372e);
    font-size:18px;
    cursor:pointer
}
.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0)
}
@media(max-width:1000px){
    .shell{
        padding-inline:5vw
    }
    .method-grid{
        grid-template-columns:repeat(2,1fr)
    }
}
@media(max-width:620px){
    .shell{
        width:calc(100% - 18px);
        padding:25px 13px
    }
    .region-grid,.method-grid{
        grid-template-columns:1fr
    }
    .region-grid button{
        min-height:68px;
        font-size:21px
    }
    .confirm-panel,.success-panel{
        padding:28px 14px
    }
    dl div{
        grid-template-columns:105px 1fr;
        font-size:15px
    }
    .actions{
        gap:10px
    }
    .actions button{
        min-width:0;
        flex:1
    }
    .alert-modal p{
        font-size:22px
    }
}

/* Supplied UI assets and persistent controls */
.language-picker{
    position:absolute;
    z-index:3;
    top:28px;
    right:28px;
    display:flex;
    align-items:center;
    gap:8px;
    color:#e6c88f
}
.language-picker select{
    min-width:92px;
    padding:8px 10px;
    border:1px solid #9d8455;
    color:#ead4a7;
    background:#11191d;
    font-size:15px
}
.region-grid.persistent{
    margin-bottom:25px
}
.region-grid button.active{
    border-color:#f0d080;
    box-shadow:inset 0 0 22px #e8bd5a66
}
.methods-title{
    margin:10px 0 28px
}
.methods-title h2{
    margin-bottom:8px;
    color:#dbc79e
}
.methods-title p{
    color:#aaa
}
.title-speaker{
    display:grid;
    width:25px;
    height:38px;
    place-items:center
}
.title-speaker img{
    width:18px;
    height:auto
}
.product-card{
    background:url("../images/product-bg.png") center/100% 100% no-repeat
}
.select-product img{
    object-fit:contain
}
.card-info{
    font-size:0;
    background:transparent url("../images/info-card.png") center/contain no-repeat
}
.tiny-info{
    font-size:0;
    border:0;
    background:transparent url("../images/info-red.png") center/contain no-repeat
}
.coin-guide{
    padding:0;
    border:0;
    transform:none;
    background:transparent
}
.coin-guide img{
    width:100%;
    height:100%;
    transform:none;
    object-fit:contain
}
.pay{
    border:0;
    background:transparent url("../images/price-bg.png") center/100% 100% no-repeat;
    box-shadow:none;
    clip-path:none
}
.result-panel{
    width:min(760px,100%);
    margin:80px auto;
    padding:55px;
    text-align:center
}
.result-icon{
    display:grid;
    width:98px;
    height:98px;
    margin:0 auto 28px;
    place-items:center;
    border-radius:50%;
    color:#fff;
    font:700 70px/1 Arial
}
.result-icon.success{
    background:#29ae8d
}
.result-icon.failure{
    background:#ef4d41
}
.result-panel h2{
    margin:0 0 32px;
    color:#ead3a8;
    font-size:34px;
    font-weight:400
}
.result-panel button{
    min-width:345px;
    min-height:84px;
    border:1px solid #887655;
    color:#d8bf91;
    background:linear-gradient(135deg,#514939,#282a26);
    font-size:31px;
    font-weight:700;
    cursor:pointer
}
.result-order,.result-message{
    margin:0 0 25px;
    color:#aaa
}
@media(max-width:620px){
    .language-picker{
        top:14px;
        right:12px
    }
    .language-picker span{
        display:none
    }
    .language-picker select{
        min-width:72px;
        padding:6px
    }
    .result-panel{
        margin:35px auto;
        padding:30px 10px
    }
    .result-panel button{
        min-width:min(300px,100%);
        min-height:64px;
        font-size:23px
    }
}

/* Final supplied-asset polish */
.product-card{
    border:0;
    background:transparent url("../images/product-bg.png") center/100% 100% no-repeat
}
.product-card:after{
    display:none
}
.product-card.selected{
    border:0;
    box-shadow:0 0 18px #ffc64e
}
 .product-card.selected:before{
    content:"";
    position:absolute;
    z-index:5;
    inset:0;
    background:transparent url("../images/selected.png") center/100% 100% no-repeat;
    pointer-events:none
}
.product-card .card-info{
    z-index:7
}
.product-card .ribbon{
    z-index:6
}
.select-product{
    z-index:4
}
.select-product img{
    width:47%;
    filter:drop-shadow(0 6px 7px #160d05)
}
.coin-guide{
    width:100px;
    height:100px;
     right:-230px;
    top:10px;
}
.pay{
    width:min(550px,100%);
    min-height:110px
}
.pay strong{
    font-size:40px
}
.pay>b{
    right:52px;
    top:28px
}
.section-head.product-title{
    min-height:54px
}
.title-speaker{
    flex:none
}
.modal-price{
    background:transparent url("../images/price-bg.png") center/100% 100% no-repeat;
    border:0;
    box-shadow:none;
    clip-path:none
}
.large-card{
    background:transparent url("../images/product-bg.png") center/100% 100% no-repeat;
    border:0
}
@media(max-width:620px){
    .coin-guide{
        width:58px;
        height:58px;
        right:0;
        top:0
    }
    .pay{
        min-height:82px
    }
    .pay strong{
        font-size:30px
    }
    .pay>b{
        right:28px;
        top:20px
    }
}

.shell{
    width:100%;
}
.shell_bg{
    background: url(../images/pay_bg_m.jpg) repeat-y scroll 0 0 transparent;
    overflow: hidden;
    position: relative;
    background-position: center top;
    width:100%;
}
.shell_bg_bottom{
    background: url(../images/pay_bg_b.jpg) no-repeat scroll 0 0 transparent;
    clear: both;
    height:156px;
    background-position: center top;
    width:100%;
}
.shell_bg_top {
    background:url(../images/pay_bg_t.jpg) no-repeat;
    min-height:476px;
    background-position: center top;
    width:100%;
}
/* Responsive sliced payment background */
body{
    background:#242424;
}
.hero{
    width:min(1920px,100%);
    height:auto;
    aspect-ratio:1920/480;
    margin:0 auto;
    border:0;
    background-image:url("../images/pay_top.jpg");
    background-repeat:no-repeat;
    background-position:center top;
    background-size:100% 100%;
}
.hero .brand{
    display:none;
}
.shell_bg{
    width:min(1920px,100%);
    min-height:700px;
    margin:0 auto;
    overflow:visible;
    background-image:url("../images/pay_bg_m.jpg");
    background-repeat:repeat-y;
    background-position:center top;
    background-size:100% auto;
}
.shell_bg_top{
    min-height:476px;
    background-image:url("../images/pay_bg_t.jpg");
    background-repeat:no-repeat;
    background-position:center top;
    background-size:100% auto;
}
.shell{
    width:min(1400px,calc(100% - 48px));
    min-height:700px;
    margin:0 auto;
    padding:110px max(24px,8vw) 70px;
    border:0;
    background:transparent;
    box-shadow:none;
}
.shell_bg_bottom{
    width:100%;
    aspect-ratio:1920/156;
    margin-top:-1px;
    background-image:url("../images/pay_bg_b.jpg");
    background-repeat:no-repeat;
    background-position:center bottom;
    background-size:100% 100%;
}
@media(max-width:620px){
    .hero{
        aspect-ratio:1920/480;
    }
    .shell{
        width:calc(100% - 18px);
        padding:55px 13px 40px;
    }
    .shell_bg_top{
        min-height:220px;
    }
}
/* 支付方式区域可调参数：修改下面 3 个数值即可统一调整。 */
:root {
    --payment-icon-size: 44px;
    --payment-card-height: 76px;
    --payment-text-size: 18px;
}

.method {
    min-height: var(--payment-card-height);
    font-size: var(--payment-text-size);
}

.method img {
    width: auto;
    min-width: var(--payment-icon-size);
    height: var(--payment-icon-size);
}

/* 图二样式：按国家推荐说明分组展示支付方式。 */
.methods-title {
  margin-top: 42px;
}

.methods-title h2 {
  color: #cfa17e;
  font-size: 22px;
}

.methods-title p {
  display: none;
}

#methods.method-grid {
  display: block;
}

.payment-group {
  margin: 0 0 28px;
}

.payment-group h3 {
  margin: 0 0 16px;
  color: #cfa17e;
  font-size: 18px;
  font-weight: 700;
}

.payment-group p {
  margin: 0 0 16px;
  color: #cfa17e;
  font-size: 16px;
  font-weight: 700;
}

.payment-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 620px) {
  .methods-title h2 {
    font-size: 24px;
  }

  .payment-group-grid {
    grid-template-columns: 1fr;
  }
}




/* Europe（第二个模块）使用设计稿中的三列支付布局。 */
#methods[data-region="eu"] .payment-group-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1000px) {
  #methods[data-region="eu"] .payment-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  #methods[data-region="eu"] .payment-group-grid {
    grid-template-columns: 1fr;
  }
}

/* 商品页按最终设计稿覆盖 */
.account input {
  padding-right: 52px;
  background-color: #11191d;
  background-image: url("../images/icon_down.png");
  background-position: right 18px center;
  background-repeat: no-repeat;
}

.account .confirm {
  width: 210px;
  height: 75px;
  flex: 0 0 210px;
  border: 0;
  color: #fff4d5;
  background: transparent url("../images/btn_infirm.png") center / 100% 100% no-repeat;
  box-shadow: none;
  font: 600 22px Georgia, serif;
  text-shadow: 0 1px 2px #35200d;
}

.account .confirm:hover,
.account .confirm:focus-visible {
  background-image: url("../images/product_hover.png");
}

.product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-height: 560px;
  gap: 9px;
  overflow-y: auto;
}

.product-card .ribbon,
.large-card .ribbon {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  width: 111px;
  height: 108px;
  padding: 0;
  transform: none;
  color: transparent;
  background: transparent url("../images/ribbon.png") left top / 111px 108px no-repeat;
}

.product-card .ribbon::after,
.large-card .ribbon::after {
  content: attr(data-label);
  position: absolute;
  top: 32px;
  left: 1px;
  width: 82px;
  transform: rotate(-45deg);
  color: #fff7dc;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 1px #5b1d1d;
}

.select-product strong {
  color: #f68000;
  font-size: 18px;
  line-height: 1.15;
}

.select-product small {
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
}

.pay strong {
  font-size: 54px;
}

.pay small {
  font-size: 18px;
}

.pay #off {
  display: none;
}

.checkout label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.checkout a {
  color: #b64348;
  text-decoration: none;
}

.checkout a:hover,
.checkout a:focus-visible {
  color: #e0676b;
  text-decoration: underline;
}

.notes ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: note-item;
}

.notes li {
  position: relative;
  min-height: 28px;
  padding-left: 38px;
  counter-increment: note-item;
}

.notes li::before {
  content: counter(note-item);
  position: absolute;
  top: -3px;
  left: 0;
  display: grid;
  width: 29px;
  height: 28px;
  place-items: center;
  color: #000;
  background: url("../images/tip_nuber_ico.png") center / contain no-repeat;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1000px) {
  .account .confirm {
    width: 180px;
    height: 62px;
    flex-basis: 180px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .select-product strong {
    font-size: 20px;
  }

  .select-product small {
    font-size: 15px;
  }
}

@media (max-width: 620px) {
  .account .confirm {
    width: 130px;
    height: 48px;
    flex-basis: 130px;
    font-size: 17px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card .ribbon {
    width: 82px;
    height: 80px;
    background-size: 82px 80px;
  }

  .product-card .ribbon::after {
    top: 15px;
    width: 62px;
    font-size: 10px;
  }

  .select-product strong {
    font-size: 17px;
  }

  .select-product small {
    font-size: 14px;
  }

  .pay strong {
    font-size: 36px;
  }
}

/* 选中/悬停框贴齐商品卡完整边缘，并隐藏价格下方原价。 */
.product-card.selected::before,
.product-card:hover::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  background: transparent url("../images/selected.png") center / 110% 110% no-repeat;
  pointer-events: none;
}

.pay #old-price {
  display: none;
}

/* 手机端充值 ID 区域：输入框与校验按钮同排、角色信息等距。 */
@media (max-width: 620px) {
  .label-row {
    display: block;
    min-height: 92px;
    padding-right: 62px;
  }

  .label-row h2 {
    font-size: 21px;
    line-height: 1.2;
  }

  .label-row em {
    display: block;
    margin-top: 8px;
    font-size: 19px;
    line-height: 1.25;
  }

  .coin-guide {
    top: 2px;
    right: 0;
    width: 52px;
    height: 52px;
  }

  .account form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 8px;
    width: 100%;
    padding-right: 0;
    align-items: stretch;
  }

  .account input {
    width: 100%;
    min-width: 0;
    height: 46px;
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 38px;
    background-position: right 12px center;
    font-size: 16px;
  }

  .account .confirm {
    width: 126px;
    height: 46px;
    min-width: 0;
    min-height: 0;
    flex-basis: auto;
    font-size: 17px;
  }

  .character {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    padding: 12px 4px 16px;
    box-sizing: border-box;
    font-size: 14px;
  }

  .character span:last-child {
    text-align: right;
  }
}

@media (max-width: 360px) {
  .account form {
    grid-template-columns: minmax(0, 1fr) 106px;
  }

  .account .confirm {
    width: 106px;
    font-size: 16px;
  }
}
