*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
background:#0a0d16;
color:white;
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
max-width:1100px;
margin:auto;
padding:20px;
}

header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:35px;
}

.logo img{
    height:90px;
    display:block;
}

.support-btn{
background:#1e73ff;
color:white;
text-decoration:none;
padding:15px 24px;
border-radius:18px;
font-weight:600;
}

h1{
font-size:42px;
margin-bottom:30px;
}

.region-tabs{
display:flex;
gap:12px;
margin-bottom:35px;
}

.region{
background:#151c2d;
border:none;
color:white;
padding:14px 22px;
border-radius:18px;
font-size:15px;
cursor:pointer;
}

.region.active{
background:#1e73ff;
}

.gift-card{
display:flex;
align-items:center;
gap:20px;
background:#111827;
border:1px solid #1d2947;
border-radius:26px;
padding:18px;
margin-bottom:18px;
}

.gift-card img{
width:100px;
border-radius:18px;
}

.gift-info h2{
margin-bottom:8px;
font-size:24px;
}

.price{
color:#1e73ff;
font-size:28px;
font-weight:700;
}

.benefits{
margin-top:40px;
display:flex;
flex-direction:column;
gap:15px;
background:#111827;
padding:25px;
border-radius:24px;
}

.confirm{
    display:flex;
    gap:15px;
    margin-top:35px;
    line-height:1.6;
    font-size:12px !important;
    font-weight:400;
    color:#9aa0b2;
}
.confirm input{
    width:18px;
    height:18px;
    flex-shrink:0;
}

.buy-btn{
width:100%;
margin-top:30px;
border:none;
background:#1e73ff;
color:white;
padding:20px;
border-radius:20px;
font-size:18px;
font-weight:700;
cursor:pointer;
}

footer{
    margin-top:70px;
    display:flex;
    justify-content:center;
    gap:20px;
}

footer a{
    color:#2d7dff;
    text-decoration:none;
}

.tabs{
display:flex;
gap:12px;
margin-bottom:25px;
}

.catalog-tabs{
width:100%;
max-width:550px;
background:#151c2d;
border:1px solid #26355d;
border-radius:18px;
padding:4px;
gap:8px;
}
.tabs a{
    color:#2d7dff !important;
    text-decoration:none;
}

.tabs a:visited{
    color:#2d7dff !important;
}

.tabs a:hover{
    color:#4b8dff !important;
}

.tab{
display:flex;
align-items:center;
justify-content:center;
gap:8px;
flex:1;
background:transparent;
border:none;
color:#8d95a9;
padding:12px 18px;
border-radius:14px;
font-size:15px;
font-weight:800;
cursor:pointer;
transition:.2s;
}

.tab.active{
background:#1e73ff;
color:white;
box-shadow:0 8px 20px rgba(30,115,255,.28);
}

.tab-icon{
width:20px;
height:20px;
display:inline-flex;
align-items:center;
justify-content:center;
flex-shrink:0;
}

.tab-icon svg{
width:20px;
height:20px;
fill:currentColor;
}

.services-list{
display:flex;
flex-direction:column;
gap:18px;
max-width:550px;
}

.services-list .service-card{
width:100%;
max-width:none;
}

.service-card{
display:flex;
align-items:center;
gap:20px;
max-width:550px;
background:#111827;
border:1px solid #1d2947;
border-radius:26px;
padding:20px;
text-decoration:none;
color:white;
}

.service-card img{
width:100px;
border-radius:18px;
}

.service-card p{
color:#b8c1d1;
margin-top:8px;
}

.service-card-disabled{
filter:grayscale(100%);
opacity:.5;
cursor:default;
pointer-events:none;
transition:none;
transform:none;
}

.service-card-disabled:hover{
filter:grayscale(100%);
opacity:.5;
cursor:default;
transform:none;
}

.service-card[hidden]{
display:none !important;
}

.service-soon{
font-size:12px;
font-weight:400;
color:#94a3b8;
margin-left:6px;
}

@media(max-width:768px){

.logo img{
height:55px;
}

h1{
font-size:32px;
}

.gift-card{
flex-direction:column;
align-items:flex-start;
}

.gift-card img{
width:130px;
}

}.top-buttons{
display:flex;
gap:10px;
align-items:center;
}

#theme-toggle{
width:38px;
height:38px;
border:none;
border-radius:12px;
background:#151c2d;
color:white;
font-size:16px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
padding:0;
}
width:55px;
height:55px;
border:none;
border-radius:18px;
background:#151c2d;
color:white;
font-size:24px;
cursor:pointer;
}body.light{
background:white;
color:black;
}

body.light .gift-card,
body.light .benefits,
body.light .service-card{
background:#f3f3f3;
border-color:#ddd;
}

body.light #theme-toggle{
background:#e5e5e5;
color:black;
}.top-buttons{
display:flex;
align-items:center;
gap:10px;
}

#theme-toggle{
width:44px;
height:44px;
border:none;
border-radius:14px;
background:#151c2d;
color:white;
font-size:20px;
cursor:pointer;
}

body.light{
background:#ffffff;
color:#111;
}

body.light .gift-card,
body.light .benefits,
body.light .service-card{
background:#f3f3f3;
border:1px solid #ddd;
}

body.light .tab,
body.light .region{
background:transparent;
color:#555;
}

body.light .tab.active{
color:white;
}

body.light #theme-toggle{
background:#e5e5e5;
color:black;
}body.light h1,
body.light h2,
body.light p{
color:#111;
}

body.light .service-card{
background:#f7f7f7;
border:1px solid #ddd;
}

body.light .service-card p{
color:#666;
}

body.light .support-btn{
color:white;
}

body.light footer a{
color:#4b7cff;
}#theme-toggle{
width:34px !important;
height:34px !important;
border:none !important;
border-radius:50% !important;
background:#151c2d !important;
color:white !important;
font-size:14px !important;
display:flex !important;
align-items:center !important;
justify-content:center !important;
padding:0 !important;
}

body.light #theme-toggle{
background:#e5e5e5 !important;
color:black !important;
}.buy-button{
width:100% !important;
height:52px !important;
border:none !important;
border-radius:28px !important;
background:#2d2d2d !important;
color:#888 !important;
font-size:16px !important;
font-weight:700 !important;
cursor:not-allowed !important;
margin-top:20px !important;
transition:0.3s !important;
}

.buy-button.active{
background:#0d6efd !important;
color:white !important;
cursor:pointer !important;
}.selected-card{
border:2px solid #0d6efd !important;
box-shadow:0 0 20px rgba(13,110,253,.4);
.input-field{
width:100%;
padding:18px 22px;
font-size:20px;
font-weight:500;
background:#141827;
border:2px solid #26355d;
border-radius:24px;
color:#fff;
outline:none;
box-sizing:border-box;
transition:.2s;
}

.input-field::placeholder{
color:#7c86a3;
}

.input-field:focus{
border-color:#4b8dff;
box-shadow:0 0 15px rgba(75,141,255,.35);
}
background:#15192c;
border:2px solid #24335e;
border-radius:25px;
color:white;
outline:none;
box-sizing:border-box;
}

.input-field:focus{
border-color:#0d6efd;
box-shadow:0 0 20px rgba(13,110,253,.4);
}
input.input-field{
display:block;
width:100%;
padding:16px 20px;
font-size:18px;
font-weight:500;
background:#141827;
color:white;
border:2px solid #26355d;
border-radius:24px;
outline:none;
box-sizing:border-box;
transition:0.2s;
}

input.input-field::placeholder{
color:#8a93ad;
}

input.input-field:focus{
border-color:#4b8dff;
box-shadow:0 0 15px rgba(75,141,255,.35);
}
.about-block{
    margin-top:20px;
    color:#a8afc5;
    line-height:1.8;
    font-size:15px;
}

.about-block h2{
    color:white;
    font-size:20px;
    font-weight:600;
}

.about-block h3{
    color:#8d95a9;
    font-size:13px;
    font-weight:500;
    letter-spacing:1px;
    margin-top:35px;
}

.about-block a{
    color:#8d95a9;
    text-decoration:underline;
}

#agreement-text{
    margin-top:20px;
    margin-bottom:35px;
    font-size:15px;
    color:#8d95a9;
}
.about-block p{
    font-size:15px;
    color:#8d95a9;
    line-height:1.8;
}

.about-header{
    display:flex;
    align-items:center;
    gap:4px;
    margin-bottom:8px;
}

.about-header img{
    height:50px;
}

.about-block h2{
    color:white;
    font-size:18px;
    font-weight:600;
}
label{
    font-size:18px !important;
    font-weight:600 !important;
}
h2{
    font-size: 18px !important;
    font-weight: 600 !important;
}

header{
align-items:center;
}

.logo{
display:flex;
align-items:center;
}

.logo img{
height:104px;
display:block;
}

.top-buttons{
display:flex;
align-items:center;
gap:16px;
}

#theme-toggle{
position:relative !important;
width:64px !important;
height:36px !important;
flex:0 0 64px !important;
border:1px solid #26355d !important;
border-radius:999px !important;
background:#151c2d !important;
color:transparent !important;
font-size:0 !important;
line-height:0 !important;
padding:0 !important;
overflow:hidden !important;
cursor:pointer !important;
box-shadow:inset 0 0 0 1px rgba(255,255,255,.04) !important;
transition:background .25s ease,border-color .25s ease,box-shadow .25s ease !important;
}

#theme-toggle::before{
content:"";
position:absolute;
left:4px;
top:3px;
width:28px;
height:28px;
border-radius:50%;
background:#ffffff;
box-shadow:0 5px 14px rgba(0,0,0,.3);
transition:transform .25s ease;
z-index:1;
}

#theme-toggle::after{
content:"☾";
position:absolute;
left:4px;
top:3px;
width:28px;
height:28px;
display:flex;
align-items:center;
justify-content:center;
color:#1e73ff;
font-size:17px;
line-height:1;
transition:transform .25s ease,color .25s ease;
z-index:2;
}

body.light #theme-toggle{
background:#dbeafe !important;
border-color:#93c5fd !important;
color:transparent !important;
font-size:0 !important;
line-height:0 !important;
box-shadow:inset 0 0 0 1px rgba(30,115,255,.08) !important;
}

body.light #theme-toggle::before,
body.light #theme-toggle::after{
transform:translateX(28px);
}

body.light #theme-toggle::after{
content:"☀";
color:#f59e0b;
font-size:16px;
}

.region-tabs{
position:relative;
display:flex;
flex-wrap:nowrap;
gap:8px;
min-width:0;
max-width:550px;
width:100%;
padding:4px;
margin-bottom:35px;
background:#151c2d;
border:1px solid #26355d;
border-radius:18px;
overflow:hidden;
scrollbar-width:none;
}

.region-tabs::-webkit-scrollbar{
display:none;
}

.region-tabs::before{
content:"";
position:absolute;
left:4px;
top:4px;
width:calc((100% - 24px) / 3);
height:calc(100% - 8px);
background:#1e73ff;
border-radius:14px;
box-shadow:0 8px 20px rgba(30,115,255,.28);
transition:transform .25s ease;
}

.region-tabs:has(.region:nth-child(2).active)::before{
transform:translateX(calc(100% + 8px));
}

.region-tabs:has(.region:nth-child(3).active)::before{
transform:translateX(calc((100% + 8px) * 2));
}

.region{
position:relative;
z-index:1;
min-width:132px;
flex:1;
background:transparent !important;
border:none !important;
border-radius:14px;
color:#8d95a9;
padding:13px 20px;
font-size:15px;
font-weight:700;
text-align:center;
white-space:nowrap;
transition:color .2s ease;
}

.region.active{
background:transparent !important;
color:white;
}

body.light .region-tabs{
background:#ececec;
border-color:#d4d4d4;
}

body.light .catalog-tabs{
background:#ececec;
border-color:#d4d4d4;
}

body.light .region{
background:transparent !important;
color:#555;
}

body.light .region.active{
background:transparent !important;
color:white;
}

@media(max-width:768px){
.logo img{
height:68px;
}

.top-buttons{
gap:12px;
}

#theme-toggle{
width:58px !important;
height:34px !important;
flex-basis:58px !important;
}

#theme-toggle::before,
#theme-toggle::after{
width:26px;
height:26px;
}

body.light #theme-toggle::before,
body.light #theme-toggle::after{
transform:translateX(24px);
}

.region-tabs{
display:flex;
flex-wrap:nowrap;
width:100%;
}

.region{
min-width:0;
flex:1;
padding:12px 10px;
}
}

.steam-panel{
display:flex;
flex-direction:column;
gap:20px;
max-width:550px;
background:#111827;
border:1px solid #1d2947;
border-radius:26px;
padding:24px;
margin-top:18px;
}

.steam-head{
max-width:550px;
}

.steam-field{
display:flex;
flex-direction:column;
gap:10px;
}

.steam-label-row{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
}

.steam-panel label,
.steam-label-row label{
margin:0;
font-size:18px;
font-weight:800;
}

.steam-help-link{
border:none;
background:transparent;
color:#4f8cff;
font-size:14px;
font-weight:800;
cursor:pointer;
padding:0;
white-space:nowrap;
}

.steam-hint{
margin:0;
color:#9aa0b2;
font-size:14px;
line-height:1.45;
}

.steam-status{
margin-top:0;
color:#9aa0b2;
font-size:15px;
line-height:1.5;
}

.steam-quick-amounts{
display:flex;
align-items:center;
gap:8px;
flex-wrap:nowrap;
}

.steam-amount{
background:#151c2d;
border:1px solid #26355d;
color:white;
font-size:13px;
font-weight:600;
cursor:pointer;
transition:.2s;
border-radius:999px;
padding:8px 12px;
line-height:1;
min-width:0;
white-space:nowrap;
}

.steam-amount.active{
background:#1e73ff;
border-color:#1e73ff;
box-shadow:0 8px 20px rgba(30,115,255,.28);
}

.steam-summary{
display:flex;
flex-direction:column;
align-items:stretch;
gap:10px;
background:#151c2d;
border:1px solid #26355d;
border-radius:18px;
padding:16px;
}

.steam-summary-row{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
}

.steam-summary-row span{
color:#9aa0b2;
}

.steam-summary-row strong{
font-size:18px;
color:white;
white-space:nowrap;
}

.steam-summary-total{
border-top:1px solid #26355d;
padding-top:12px;
margin-top:2px;
}

.steam-summary-total strong{
font-size:26px;
color:#1e73ff;
}

.steam-benefits{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
}

.steam-benefits div{
background:#151c2d;
border:1px solid #26355d;
border-radius:14px;
padding:10px 12px;
font-size:13px;
font-weight:500;
line-height:1.3;
color:#d7deef;
}

.steam-countries{
background:#151c2d;
border:1px solid #26355d;
border-radius:18px;
overflow:hidden;
}

.steam-countries-toggle{
width:100%;
border:none;
background:transparent;
color:white;
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
padding:16px;
font-size:16px;
font-weight:500;
cursor:pointer;
text-align:left;
}

.steam-countries-toggle b{
font-size:24px;
line-height:1;
transition:.2s;
}

.steam-countries-toggle[aria-expanded="true"] b{
transform:rotate(180deg);
}

.steam-countries-list{
border-top:1px solid #26355d;
padding:0 16px 16px;
color:#d7deef;
}

.steam-countries-list p{
margin:14px 0 10px;
color:#d7deef;
font-weight:800;
}

.steam-countries-list ul{
list-style:none;
display:grid;
gap:8px;
padding:0;
margin:0;
}

.steam-modal{
position:fixed;
inset:0;
z-index:200;
display:flex;
align-items:center;
justify-content:center;
padding:20px;
}

.steam-modal[hidden]{
display:none !important;
}

.steam-modal-backdrop{
position:absolute;
inset:0;
background:rgba(5,10,22,.72);
backdrop-filter:blur(8px);
}

.steam-modal-card{
position:relative;
width:min(520px,100%);
max-height:calc(100vh - 40px);
overflow:auto;
background:#111827;
border:1px solid #26355d;
border-radius:26px;
padding:22px;
box-shadow:0 28px 80px rgba(0,0,0,.55);
}

.steam-modal-card h2{
margin:0 0 16px;
font-size:24px;
}

.steam-modal-card img{
width:100%;
border-radius:18px;
display:block;
background:#2b3242;
}

.steam-modal-card p{
margin:16px 0 0;
color:#d7deef;
font-size:15px;
line-height:1.55;
}

.steam-modal-card .buy-button{
margin-top:18px !important;
}

body.steam-modal-open{
overflow:hidden;
}

body.light .steam-hint,
body.light .steam-status,
body.light .steam-summary-row span{
color:#666;
}

body.light .steam-panel,
body.light .steam-summary,
body.light .steam-amount,
body.light .steam-benefits div,
body.light .steam-countries,
body.light .steam-modal-card{
background:#f3f3f3;
border-color:#ddd;
color:#111;
}

body.light .steam-countries-toggle,
body.light .steam-summary-row strong{
color:#111;
}

body.light .steam-countries-list{
border-color:#ddd;
color:#333;
}

body.light .steam-countries-list p,
body.light .steam-modal-card p{
color:#333;
}

@media(max-width:768px){
.steam-panel,
.steam-head{
max-width:none;
}

.steam-quick-amounts{
gap:6px;
}

.steam-amount{
font-size:12px;
padding:8px 10px;
}

.steam-benefits{
grid-template-columns:repeat(2,1fr);
}

.steam-label-row{
align-items:flex-start;
}
}

.wallet-topup-head,
.wallet-topup-panel{
max-width:550px;
}

.wallet-topup-panel{
display:flex;
flex-direction:column;
gap:20px;
background:#111827;
border:1px solid #1d2947;
border-radius:26px;
padding:24px;
margin-top:18px;
}

.wallet-region-tabs{
margin-bottom:0;
max-width:none;
}

.wallet-region-tabs::before{
width:calc((100% - 16px) / 2);
}

.wallet-region-tabs:has(.region:nth-child(2).active)::before{
transform:translateX(calc(100% + 8px));
}

.wallet-region-info{
font-size:14px;
font-weight:400;
line-height:1.55;
color:#cbd5e1;
background:#151c2d;
border:1px solid #26355d;
border-radius:18px;
padding:16px;
}

.wallet-field{
display:flex;
flex-direction:column;
gap:10px;
}

.wallet-field label{
margin:0;
font-size:18px;
font-weight:800;
}

.wallet-quick-amounts{
display:flex;
align-items:center;
gap:8px;
flex-wrap:nowrap;
overflow-x:auto;
scrollbar-width:none;
}

.wallet-quick-amounts::-webkit-scrollbar{
display:none;
}

.wallet-amount-chip{
background:#151c2d;
border:1px solid #26355d;
color:white;
font-size:13px;
font-weight:600;
cursor:pointer;
transition:.2s;
border-radius:999px;
padding:8px 12px;
line-height:1;
min-width:0;
white-space:nowrap;
flex:1;
}

.wallet-amount-chip.active{
background:#1e73ff;
border-color:#1e73ff;
box-shadow:0 8px 20px rgba(30,115,255,.28);
}

.wallet-summary{
display:flex;
flex-direction:column;
align-items:stretch;
gap:10px;
background:#151c2d;
border:1px solid #26355d;
border-radius:18px;
padding:16px;
}

.wallet-summary-row{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
}

.wallet-summary-row span{
color:#9aa0b2;
}

.wallet-summary-row strong{
font-size:18px;
color:white;
white-space:nowrap;
}

.wallet-summary-total{
border-top:1px solid #26355d;
padding-top:12px;
margin-top:2px;
}

.wallet-summary-total strong{
font-size:26px;
color:#1e73ff;
}

.wallet-benefits{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
}

.wallet-benefits div{
background:#151c2d;
border:1px solid #26355d;
border-radius:14px;
padding:12px;
font-size:13px;
font-weight:500;
line-height:1.35;
color:#d7deef;
}

.wallet-confirm{
margin-top:0;
}

.wallet-confirm input{
accent-color:#22c55e;
}

.wallet-status{
background:#271717;
border:1px solid #783232;
border-radius:16px;
color:#fecaca;
font-size:14px;
line-height:1.45;
padding:14px 16px;
}

.wallet-warning-strip,
.wallet-important-strip{
background:#151c2d;
border:1px solid #26355d;
border-radius:16px;
color:#e5e7eb;
font-size:15px;
line-height:1.45;
padding:14px 16px;
text-align:center;
}

.wallet-important-strip{
border-color:#7c2d12;
background:#24160f;
color:#fed7aa;
}

.wallet-instruction{
background:#151c2d;
border:1px solid #26355d;
border-radius:20px;
padding:18px;
}

.wallet-instruction-note{
color:#fbbf24;
font-size:15px;
margin-bottom:12px;
}

.wallet-instruction a{
color:#fbbf24;
}

.wallet-instruction-box{
background:#111827;
border:1px solid #26355d;
border-radius:14px;
color:#cbd5e1;
font-size:14px;
line-height:1.45;
padding:12px 14px;
margin-bottom:16px;
}

.wallet-instruction h2{
font-size:18px !important;
font-weight:800 !important;
margin-bottom:12px;
}

.wallet-instruction ul{
margin-left:20px;
display:grid;
gap:8px;
color:#d7deef;
}

.wallet-2fa-banner{
width:100%;
border-radius:20px;
border:1px solid #26355d;
display:block;
background:#151c2d;
}

.wallet-final-note{
color:#9aa0b2;
font-size:14px;
line-height:1.55;
text-align:center;
}

.ps-plus-plans{
display:flex;
flex-direction:column;
gap:10px;
}

.ps-plus-plan{
display:flex;
align-items:center;
gap:14px;
width:100%;
background:#151c2d;
border:1px solid #26355d;
border-radius:18px;
padding:14px;
color:white;
text-align:left;
cursor:pointer;
transition:.2s;
}

.ps-plus-plan.active{
border-color:#1e73ff;
box-shadow:0 8px 20px rgba(30,115,255,.28);
}

.ps-plus-plan img{
width:54px;
height:54px;
border-radius:12px;
object-fit:cover;
flex-shrink:0;
}

.ps-plus-plan span{
display:flex;
flex-direction:column;
gap:6px;
min-width:0;
}

.ps-plus-plan strong{
font-size:16px;
line-height:1.25;
}

.ps-plus-plan em{
font-style:normal;
font-size:18px;
font-weight:800;
color:#1e73ff;
}

.ps-plus-differences{
display:flex;
flex-direction:column;
gap:14px;
margin-top:10px;
}

.ps-plus-differences h2{
font-size:20px;
font-weight:800;
line-height:1.3;
}

.ps-plus-differences img{
width:100%;
border-radius:18px;
border:1px solid #26355d;
display:block;
background:#151c2d;
}

body.light .wallet-topup-panel,
body.light .wallet-region-info,
body.light .wallet-summary,
body.light .wallet-benefits div,
body.light .wallet-warning-strip,
body.light .wallet-instruction,
body.light .wallet-instruction-box,
body.light .wallet-amount-chip,
body.light .ps-plus-plan{
background:#f3f3f3;
border-color:#ddd;
color:#111;
}

body.light .wallet-region-info,
body.light .wallet-benefits div,
body.light .wallet-instruction-box,
body.light .wallet-instruction ul,
body.light .wallet-final-note{
color:#333;
}

body.light .wallet-summary-row strong{
color:#111;
}

body.light .wallet-summary-row span{
color:#666;
}

body.light .wallet-important-strip{
background:#fff7ed;
border-color:#fed7aa;
color:#9a3412;
}

body.light .ps-plus-differences img{
border-color:#ddd;
}

@media(max-width:768px){
.wallet-topup-head,
.wallet-topup-panel{
max-width:none;
}

.wallet-topup-panel{
padding:20px;
}

.wallet-quick-amounts{
gap:6px;
}

.wallet-amount-chip{
font-size:12px;
padding:8px 9px;
}

.wallet-benefits{
grid-template-columns:repeat(2,1fr);
}
}

.games-title-row{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:16px;
max-width:900px;
width:100%;
}

.games-title-row h1{
margin-bottom:0;
}

.games-region-tabs{
margin:0;
max-width:360px;
min-width:280px;
}

.games-region-info{
width:100%;
max-width:900px;
margin-top:8px;
}

.games-region-tabs::before{
width:calc((100% - 8px) / 2);
}

.games-region-tabs:has(.region:nth-child(2).active)::before{
transform:translateX(calc(100% + 8px));
}

.games-search-panel{
display:flex;
flex-direction:column;
gap:12px;
width:100%;
max-width:900px;
margin-top:20px;
}

.games-search-input{
margin-bottom:0 !important;
}

.games-status{
background:#151c2d;
border:1px solid #26355d;
border-radius:16px;
color:#cbd5e1;
font-size:14px;
line-height:1.45;
padding:12px 14px;
}

.games-results{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:16px;
width:100%;
max-width:900px;
margin-top:16px;
}

.game-card{
display:flex;
min-width:0;
}

.game-card-button{
width:100%;
background:#111827;
border:1px solid #1d2947;
border-radius:18px;
color:white;
cursor:pointer;
display:flex;
flex-direction:column;
overflow:hidden;
padding:0;
text-align:left;
transition:.2s;
}

.game-card-button:hover{
border-color:#1e73ff;
transform:translateY(-2px);
}

.game-card-button img{
width:100%;
aspect-ratio:1/1;
object-fit:cover;
display:block;
background:#151c2d;
}

.game-card-body{
display:flex;
flex-direction:column;
gap:8px;
padding:14px;
min-height:168px;
}

.game-card-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:10px;
}

.game-card-head h2{
font-size:16px;
line-height:1.25;
margin:0;
}

.games-edition{
margin:0;
color:#9aa0b2;
font-size:13px;
line-height:1.35;
}

.games-discount{
background:#ff3b3b;
color:white;
border-radius:999px;
font-size:11px;
font-weight:800;
padding:4px 7px;
white-space:nowrap;
}

.game-card-meta{
display:flex;
flex-direction:column;
gap:4px;
color:#9aa0b2;
font-size:13px;
line-height:1.35;
margin-top:auto;
}

.game-rub-price{
color:#1e73ff;
font-size:22px;
line-height:1.2;
}

.game-order-head,
.game-order-panel{
max-width:550px;
}

.game-order-head img{
object-fit:cover;
}

body.light .games-status,
body.light .game-card-button{
background:#f3f3f3;
border-color:#ddd;
color:#111;
}

body.light .games-status,
body.light .games-edition,
body.light .game-card-meta{
color:#555;
}

@media(max-width:768px){
.games-title-row{
flex-direction:column;
align-items:stretch;
}

.games-region-tabs{
max-width:none;
min-width:0;
}

.games-results{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:12px;
}

.game-card-body{
padding:12px;
min-height:164px;
}

.game-card-head h2{
font-size:14px;
}

.game-rub-price{
font-size:18px;
}
}
