 [hidden]{display:none!important}


:root{--ink:#f9f2ed;--muted:#b8aab0;--plum:#210b15;--plum-2:#34111f;--panel:#2a1620;--line:rgba(255,255,255,.12);--pink:#ef82aa;--pink-deep:#d94c84;--yellow:#ffd45f;--green:#72d5a4;--black:#10080c}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;color:var(--ink);background:radial-gradient(circle at 88% 0,rgba(110,46,60,.55),transparent 29%),radial-gradient(circle at 0 100%,rgba(83,38,55,.55),transparent 32%),var(--black);font-family:Geist,Inter,system-ui,sans-serif}
button,input,a{font:inherit}
button,a{touch-action:manipulation}
.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,64px);border-bottom:1px solid var(--line);background:rgba(15,7,10,.78);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}
.brand{display:inline-flex;align-items:center;gap:11px;color:var(--ink);font-weight:820;text-decoration:none}
.brand-mark{width:39px;height:39px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:50%;color:var(--pink);background:#332730}
.home-link{color:var(--muted);text-decoration:none;font-size:14px}
.home-link:hover{color:var(--ink)}
.login-screen{min-height:calc(100vh - 76px);display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,.85fr);align-items:center;gap:7vw;max-width:1320px;margin:auto;padding:70px clamp(24px,6vw,80px)}
.kicker{margin:0 0 12px;color:var(--yellow);font-size:12px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.login-copy h1,.page-heading h1{margin:0;letter-spacing:-.055em;line-height:.92}
.login-copy h1{font-size:clamp(50px,7vw,96px)}
.login-copy h1 span{color:var(--pink)}
.login-copy>p:not(.kicker):not(.form-error){max-width:600px;margin:25px 0 30px;color:var(--muted);font-size:18px;line-height:1.6}
.primary,.secondary{min-height:50px;border:0;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:0 22px;font-weight:820;cursor:pointer;text-decoration:none}
.primary{color:#2b0d18;background:linear-gradient(135deg,#f597ba,var(--pink));box-shadow:0 16px 38px rgba(226,71,132,.2)}
.primary:hover{filter:brightness(1.07);transform:translateY(-1px)}
.primary.disabled{pointer-events:none;color:#806f75;background:#3a3035;box-shadow:none}
.secondary{color:var(--ink);background:#3b2630;border:1px solid var(--line)}
.yandex{min-width:260px}
.safe-notes{display:flex;flex-wrap:wrap;gap:12px 24px;margin:22px 0;color:#d9cdd1;font-size:13px}
.safe-notes span:first-child{color:var(--green)}
.code-box{max-width:580px;margin-top:26px;padding:17px 20px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.035)}
.code-box summary{cursor:pointer;font-weight:760}
.code-box p{color:var(--muted);font-size:13px;line-height:1.5}
.code-box form{display:flex;gap:10px}
.code-box label{flex:1}
.code-box label span{display:none}
.code-box input{width:100%;height:50px;padding:0 15px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#160b10;outline:none}
.code-box input:focus{border-color:var(--pink)}
.form-error{min-height:20px;color:#ff9fb2;font-size:13px}
.login-art{position:relative;min-height:560px;isolation:isolate}
.art-glow{position:absolute;inset:3%;z-index:-1;border-radius:50%;background:radial-gradient(circle at 60% 36%,rgba(239,130,170,.32),transparent 39%),radial-gradient(circle at 24% 78%,rgba(255,212,95,.2),transparent 36%);filter:blur(25px)}
.library-card{position:absolute;width:min(390px,78%);aspect-ratio:1.45;padding:35px;border:1px solid var(--line);border-radius:27px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 35px 70px rgba(0,0,0,.4)}
.library-card b{font-size:40px;letter-spacing:-.06em}
.library-card span{margin-top:8px;font-size:13px;font-weight:720}
.card-a{top:50px;right:8%;color:#361521;background:linear-gradient(145deg,#f5d987,#efb7c5);transform:rotate(6deg)}
.card-b{top:220px;left:2%;color:#fff;background:linear-gradient(145deg,#63213b,#250e18);transform:rotate(-7deg)}
.library-count{position:absolute;right:1%;bottom:70px;width:215px;display:flex;align-items:center;gap:14px;padding:17px;border:1px solid rgba(255,212,95,.28);border-radius:18px;background:rgba(21,10,14,.84);box-shadow:0 20px 45px rgba(0,0,0,.32);backdrop-filter:blur(16px)}
.library-count strong{color:var(--yellow);font-size:38px}
.library-count span{font-size:12px;line-height:1.25;text-transform:uppercase;letter-spacing:.04em}

.account-shell{width:100%;min-height:calc(100vh - 76px);display:grid;grid-template-columns:275px minmax(0,1fr);max-width:none;margin:0}
.sidebar{position:sticky;top:76px;height:calc(100vh - 76px);display:flex;flex-direction:column;padding:28px 18px;border-right:1px solid var(--line);background:rgba(24,11,17,.7)}
.profile{display:flex;align-items:center;gap:12px;padding:8px 9px 26px;border-bottom:1px solid var(--line)}
.profile .avatar{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;color:#2b0d18;background:var(--pink);font-weight:900}
.profile div{min-width:0}
.profile strong,.profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile small{margin-top:3px;color:var(--muted);font-size:11px}
.sidebar nav{display:grid;gap:7px;margin-top:24px}
.nav-item,.logout{width:100%;border:0;border-radius:13px;color:var(--muted);background:transparent;text-align:left;cursor:pointer}
.nav-item{min-height:49px;display:flex;align-items:center;gap:11px;padding:0 13px;font-weight:730}
.nav-item span{width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px}
.nav-item:hover,.nav-item.active{color:var(--ink);background:#3a202b}
.nav-item.active span{color:#2c0e19;border-color:transparent;background:var(--pink)}
.logout{margin-top:auto;padding:15px 13px}
.logout:hover{color:#ff9fb2;background:rgba(255,100,130,.08)}
.workspace{min-width:0;padding:54px clamp(25px,5vw,80px) 100px}
.mobile-profile{display:none}
.view{display:none}
.view.active{display:block}
.page-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:45px}
.page-heading h1{font-size:clamp(46px,5vw,76px)}
.page-heading>p{max-width:470px;margin:0;color:var(--muted);line-height:1.55}
.catalog-group{margin-top:37px}
.group-title{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.group-title h2{margin:0;font-size:25px}
.group-title span{min-width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#3a141f;background:var(--yellow);font-size:13px;font-weight:900}
.store-group{margin-top:62px}
.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1320px}
.game-card{--card:#0b2b20;--card-border:#315e4e;--accent:#3f9d73;min-width:0;overflow:hidden;border:1px solid var(--card-border);border-radius:22px;color:#f7f7f2;background:var(--card);box-shadow:0 18px 44px rgba(0,0,0,.16);transition:transform .22s ease,box-shadow .22s ease}
.game-card:hover{transform:translateY(-4px);box-shadow:0 25px 55px rgba(0,0,0,.27)}
.game-card.card-theme-1{--card:#2c2024;--card-border:#634850;--accent:#ef82aa}
.game-card.card-theme-2{--card:#16182b;--card-border:#444d78;--accent:#7762b2}
.game-cover{aspect-ratio:16/9;overflow:hidden;margin:12px 12px 0;border-radius:16px;background:#09110e;position:relative}
.game-cover img{width:100%;height:100%;display:block;object-fit:cover}
.game-cover .placeholder{height:100%;display:grid;place-items:center;color:var(--pink);font-size:32px;font-weight:900}
.game-type-pill{position:absolute;z-index:2;top:11px;left:11px;display:inline-flex;align-items:center;max-width:calc(100% - 100px);min-height:29px;padding:6px 10px;border:1px solid rgba(255,255,255,.22);border-radius:999px;color:#fff;background:rgba(7,16,13,.80);box-shadow:0 5px 18px rgba(0,0,0,.26);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);font-size:11px;font-weight:850;line-height:1;letter-spacing:.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.owned-pill{position:absolute;top:11px;right:11px;padding:7px 10px;border-radius:999px;color:#082417;background:var(--green);font-size:10px;font-weight:900;text-transform:uppercase}
.game-copy{padding:20px 20px 14px}
.game-copy h3{min-height:2.16em;margin:0;font-size:clamp(23px,2vw,30px);letter-spacing:-.045em;line-height:1.08}
.game-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:3.2em;margin:18px 0 20px;overflow:hidden;color:#b5c6bf;font-size:16px;line-height:1.55}
.game-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-top:16px;border-top:1px solid rgba(255,255,255,.09)}
.game-facts span{min-width:0;text-align:center}
.game-facts small,.game-facts b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-facts small{margin-bottom:7px;color:#aebcb6;font-size:12px;font-weight:750}
.game-facts b{color:#f8f8f3;font-size:15px;font-weight:820}
.game-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px 16px;padding:15px 20px 19px;border-top:1px solid rgba(255,255,255,.09)}
.game-bottom>small{overflow:hidden;color:#f7f7f2;font-size:14px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
.game-bottom>strong{font-size:21px;white-space:nowrap}
.game-bottom button{grid-column:1/-1;min-height:48px;border:1px solid rgba(255,255,255,.16);border-radius:13px;color:#fff;background:var(--accent);font-size:16px;font-weight:820;cursor:pointer}
.loading-card,.empty-card{grid-column:1/-1;min-height:170px;display:grid;place-items:center;padding:30px;border:1px dashed var(--line);border-radius:20px;color:var(--muted);text-align:center}
.download-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.download-card{position:relative;overflow:hidden;min-height:365px;padding:32px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(145deg,#3c202c,#1a0d13)}
.download-card::after{content:'';position:absolute;right:-80px;bottom:-110px;width:260px;height:260px;border-radius:50%;background:rgba(239,130,170,.12)}
.download-card .os-icon{width:66px;height:66px;display:grid;place-items:center;margin-bottom:45px;border-radius:19px;color:#2a1019;background:var(--pink);font-size:35px;font-weight:900}
.download-card .os-icon.windows{background:var(--yellow)}
.download-card small{color:var(--muted)}
.download-card h2{margin:5px 0;font-size:42px}
.download-version{min-height:38px;color:#d4c8cc}
.download-card .primary{position:relative;z-index:1;margin-top:24px}
.download-help{margin-top:22px;padding:27px 30px;border:1px solid rgba(114,213,164,.22);border-radius:20px;background:rgba(18,58,40,.24)}
.download-help ol{display:flex;gap:32px;margin:17px 0 0;padding-left:19px;color:#cfc4c8}
.download-help li{padding-left:5px}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.steps article{display:block;min-height:220px;padding:26px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,rgba(59,31,43,.9),rgba(31,15,22,.82))}
.steps article>span{display:block;margin-bottom:36px;color:var(--pink);font-size:38px;font-weight:900}
.steps h2{margin:0 0 10px;font-size:22px}
.steps p{margin:0;color:var(--muted);line-height:1.5}
.buy-dialog{width:min(560px,calc(100% - 30px));padding:0;border:0;border-radius:25px;color:var(--ink);background:transparent}
.buy-dialog::backdrop{background:rgba(7,3,5,.82);backdrop-filter:blur(7px)}
.dialog-card{position:relative;margin:0;padding:33px;border:1px solid var(--line);border-radius:25px;background:#25131c}
.dialog-card h2{margin:0;font-size:34px}
.dialog-card>p:not(.kicker):not(.form-error){color:var(--muted);line-height:1.5}
.dialog-close{position:absolute;right:18px;top:16px;width:39px;height:39px;border:1px solid var(--line);border-radius:50%;color:var(--ink);background:transparent;cursor:pointer;font-size:25px}
.dialog-price{display:block;margin:20px 0;font-size:32px}
.consent{display:flex;gap:10px;margin:20px 0;color:#d7cbd0;font-size:12px;line-height:1.45}
.consent input{accent-color:var(--pink)}
.consent a{color:var(--pink)}
.dialog-card .primary{width:100%}
.toast{position:fixed;right:25px;bottom:25px;z-index:50;max-width:360px;padding:14px 18px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:#37202a;box-shadow:0 20px 50px #000;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s}
.toast.show{opacity:1;transform:none}

@media(max-width:1250px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
}

@media(max-width:1100px){
.page-heading{display:block}
.page-heading>p{margin-top:17px}
.login-screen{gap:3vw}
}

@media(max-width:820px){.topbar{height:66px}
.brand span:last-child{font-size:14px}
.account-shell{display:block}
.sidebar{position:fixed;z-index:30;left:0;top:66px;width:280px;height:calc(100vh - 66px);transform:translateX(-105%);transition:.25s;box-shadow:30px 0 70px #000}
.sidebar.open{transform:none}
.workspace{padding-top:22px}
.mobile-profile{display:flex;align-items:center;gap:12px;margin-bottom:38px}
.mobile-menu{width:42px;height:42px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#35202a}
.login-screen{min-height:calc(100vh - 66px);grid-template-columns:1fr}
.login-art{min-height:480px}
.download-help ol{display:grid;gap:9px}
.steps{grid-template-columns:1fr}
}

@media(max-width:600px){.home-link{font-size:0}
.home-link::after{content:'←';font-size:22px}
.login-screen{padding:45px 21px}
.login-copy h1{font-size:49px}
.code-box form{display:grid}
.login-art{min-height:390px}
.library-card{padding:24px}
.card-a{right:2%}
.card-b{top:175px}
.library-count{bottom:10px}
.workspace{padding:25px 17px 70px}
.page-heading h1{font-size:46px}
.game-grid,.download-grid{grid-template-columns:1fr}
.game-grid{justify-content:stretch}
.game-copy h3{min-height:auto}
.download-card{min-height:325px}
.steps article{min-height:0;padding:22px 18px}
.steps article>span{margin-bottom:22px;font-size:28px}
.steps h2{font-size:20px}
.dialog-card{padding:28px 21px}
}

.brand-mark{overflow:hidden;padding:0}
.brand-mark img{width:100%;height:100%;display:block;object-fit:cover}
.login-app-icon{width:82px;height:82px;margin-bottom:28px;padding:5px;border:1px solid rgba(255,255,255,.2);border-radius:23px;background:rgba(255,255,255,.07);box-shadow:0 20px 55px rgba(0,0,0,.32),0 0 0 8px rgba(239,130,170,.055)}
.login-app-icon img{width:100%;height:100%;display:block;border-radius:18px;object-fit:cover}
@media(max-width:600px){
.login-app-icon{width:68px;height:68px;margin-bottom:22px;border-radius:20px}
.login-app-icon img{border-radius:15px}
}

/* v18.0 — Email OTP auth + separate legal consents */
.email-auth{max-width:620px;margin-top:28px;padding:20px;border:1px solid var(--line);border-radius:19px;background:rgba(255,255,255,.04)}
.email-auth-step form{margin:0}
.field-label{display:block;margin:0 0 8px;color:#e6dce0;font-size:13px;font-weight:760}
.email-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
.email-row input{min-width:0;height:52px;padding:0 15px;border:1px solid var(--line);border-radius:13px;color:var(--ink);background:#160b10;outline:none}
.email-row input:focus{border-color:var(--pink);box-shadow:0 0 0 3px rgba(239,130,170,.08)}
.email-row .primary{min-width:160px}
.code-row input{font-size:23px;font-weight:850;letter-spacing:.18em;font-variant-numeric:tabular-nums}
.privacy-note{margin:11px 0 0!important;color:var(--muted)!important;font-size:12px!important;line-height:1.5!important}
.privacy-note a,.legal-consent a{color:var(--pink)}
.email-status{margin:0 0 14px!important;color:#e8dde1!important;font-size:14px!important;line-height:1.5!important}
.spam-note{margin:0 0 17px;padding:12px 14px;border:1px solid rgba(255,212,95,.25);border-radius:13px;color:#eadba7;background:rgba(255,212,95,.07);font-size:12px;line-height:1.45}
.spam-note strong{color:var(--yellow)}
.email-actions{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:12px}
.text-button{padding:0;border:0;color:var(--pink);background:transparent;cursor:pointer;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.text-button:disabled{color:#74646a;cursor:default;text-decoration:none}
.login-divider{max-width:620px;display:flex;align-items:center;gap:12px;margin:20px 0 15px;color:#8e7e84;font-size:11px;text-transform:uppercase;letter-spacing:.12em}
.login-divider::before,.login-divider::after{content:'';height:1px;flex:1;background:var(--line)}
.full-width{width:100%;margin-top:14px}
.legal-consent{margin:11px 0;padding:0;border:0;border-radius:0;background:transparent;font-size:13px;line-height:1.5;align-items:flex-start}
.legal-consent input{flex:0 0 auto;margin-top:2px;width:17px;height:17px}
.required-star{display:inline;color:#ff5d68;font-weight:950;font-style:normal;text-decoration:none;margin-left:3px}
.account-footer{padding:24px clamp(20px,4vw,64px) 28px;border-top:1px solid var(--line);background:rgba(15,7,10,.72)}
.account-footer-links{display:flex;flex-wrap:wrap;gap:9px 18px;max-width:1280px;margin:0 auto}
.account-footer-links a,.account-footer-seller a{color:#d7cbd0;text-decoration:none;font-size:12px}
.account-footer-links a:hover,.account-footer-seller a:hover{color:var(--pink)}
.account-footer-seller{max-width:1280px;margin:13px auto 0;color:#8f7f86;font-size:11px;line-height:1.5}
.email-auth .form-error{margin:10px 0 0}
.email-auth button:disabled{filter:none;transform:none;opacity:.7;cursor:default}

@media(max-width:600px){
.email-auth{padding:16px}
.email-row{grid-template-columns:1fr}
.email-row .primary{width:100%}
.login-divider{max-width:none}
}


/* v18.2 — simplified login heading, yellow OTP CTA, real OS brand icons */
#email-start-button{color:#201316;background:#f5cb63;box-shadow:0 12px 34px rgba(245,203,99,.18)}
#email-start-button:hover{filter:brightness(1.04);transform:translateY(-1px)}
.download-card .os-icon img{display:block;max-width:38px;max-height:38px;width:auto;height:auto}


/* v19 — login cleanup + canonical game-card sizing */
.email-auth{max-width:620px;margin-top:28px;padding:0;border:0;border-radius:0;background:transparent}
.login-alt{max-width:620px}
.login-alt .login-divider{max-width:none;margin:20px 0 15px}
.login-alt .yandex{display:flex;width:fit-content;margin:0 auto}
.game-grid{display:flex;flex-wrap:wrap;align-items:stretch;gap:22px;max-width:none}
.game-card{flex:0 0 clamp(330px,33vw,430px);width:clamp(330px,33vw,430px);max-width:100%}
@media(max-width:720px){
  .game-grid{justify-content:center}
  .game-card{flex:0 0 min(86vw,390px);width:min(86vw,390px);max-width:390px}
}
@media(max-width:600px){.email-auth{padding:0}}


/* v22 — slimmer canonical game cards. */
.game-grid{gap:22px}
.game-card{flex:0 0 clamp(300px,30vw,380px);width:clamp(300px,30vw,380px);max-width:100%}
.game-cover{margin:10px 10px 0;border-radius:15px}
.game-copy{padding:17px 17px 12px}
.game-copy h3{font-size:clamp(21px,1.75vw,27px)}
.game-copy p{margin:14px 0 16px;font-size:15px}
.game-facts{padding-top:14px;gap:6px}
.game-facts small{font-size:11px;margin-bottom:6px}
.game-facts b{font-size:14px}
.game-bottom{gap:10px 14px;padding:13px 17px 16px}
.game-bottom>small{font-size:13px}
.game-bottom>strong{font-size:19px}
.game-bottom button{min-height:44px;font-size:15px}
@media(max-width:720px){.game-card{flex:0 0 min(82vw,350px);width:min(82vw,350px);max-width:350px}}


/* v24 — Yandex SmartCaptcha in the e-mail login flow. */
.captcha-wrap{max-width:620px;margin:14px 0 0}
.captcha-container{min-height:100px;width:100%;overflow:visible}
.captcha-status{margin:6px 2px 0;color:#a9979f;font-size:12px;line-height:1.4}
.captcha-wrap iframe{max-width:100%}
#email-start-button:disabled{opacity:.55;cursor:not-allowed;transform:none;filter:none;box-shadow:none}
@media(max-width:600px){
  .captcha-wrap{margin-top:12px}
  .captcha-container{min-height:100px}
}

/* v28: cards open the shared detailed game view. */
.game-card[data-account-game]{cursor:pointer}
.game-card[data-account-game]:focus-within{box-shadow:0 0 0 2px rgba(239,130,170,.4),0 25px 55px rgba(0,0,0,.27)}


/* v30: compact desktop downloads + editable installation guides */
.download-heading{align-items:end}.download-heading>div{max-width:none}
.download-grid-compact{gap:14px}
.download-card-compact{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:0;padding:18px 20px;border-radius:20px;background:linear-gradient(145deg,#321a25,#1a0d13)}
.download-card-compact::after{width:150px;height:150px;right:-70px;bottom:-90px}
.download-card-compact .os-icon{width:50px;height:50px;margin:0;border-radius:14px}
.download-card-compact .os-icon img{max-width:29px;max-height:29px}
.download-card-copy{min-width:0}.download-card-copy small{font-size:11px}.download-card-copy h2{margin:1px 0 3px;font-size:25px}.download-card-copy .download-version{min-height:0;margin:0;color:#cfc3c8;font-size:12px}
.download-card-compact .primary{position:relative;z-index:1;margin:0;min-width:164px;white-space:nowrap}
.install-guides{margin-top:30px;padding:26px;border:1px solid var(--line);border-radius:24px;background:rgba(34,17,24,.72)}
.install-guides-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.install-guides-heading .kicker{margin:0 0 5px}.install-guides-heading h2{margin:0;font-size:31px;letter-spacing:-.04em}
.install-guide-tabs{display:flex;gap:5px;padding:5px;border:1px solid var(--line);border-radius:14px;background:#160b10}.install-guide-tabs button{border:0;border-radius:10px;padding:9px 16px;color:#a99ca2;background:transparent;font:inherit;font-size:13px;font-weight:750;cursor:pointer}.install-guide-tabs button.active{color:#2b0d18;background:var(--pink)}
.install-guide-content{min-height:160px}.install-guide-copy{max-width:760px}.install-guide-copy h3{margin:0;font-size:25px}.install-guide-intro{color:var(--muted);margin:7px 0 0;line-height:1.55}
.install-guide-steps{display:grid;gap:14px;margin-top:24px}.install-guide-step{display:grid;grid-template-columns:46px minmax(0,1fr);gap:15px;padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(12,6,9,.34)}
.install-guide-step-number{display:grid;place-items:center;width:42px;height:42px;border:1px solid #8b3a58;border-radius:13px;color:#f8eaf0;background:#5b1f34;font-weight:850;font-size:14px}.install-guide-step-main h4{margin:4px 0 7px;font-size:19px}.install-guide-step-body{color:#cfc3c8;line-height:1.6}.install-guide-step-body p{margin:0 0 9px}.install-guide-step-body p:last-child{margin-bottom:0}
.install-guide-step figure{margin:16px 0 0}.install-guide-step figure img{display:block;width:min(100%,860px);max-height:600px;object-fit:contain;object-position:left center;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:#12090e}.install-guide-step figcaption{color:#8f8288;margin-top:7px;font-size:11px;line-height:1.45}.install-guide-loading,.install-guide-empty{color:var(--muted);padding:18px 0}
@media(max-width:900px){.download-card-compact{grid-template-columns:50px 1fr}.download-card-compact .primary{grid-column:1/-1;width:100%}.install-guides-heading{align-items:flex-start;flex-direction:column}.install-guide-tabs{width:100%}.install-guide-tabs button{flex:1}}
@media(max-width:560px){.download-card-compact{padding:16px}.install-guides{margin-top:22px;padding:18px 15px;border-radius:20px}.install-guides-heading h2{font-size:26px}.install-guide-step{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:14px}.install-guide-step-number{width:36px;height:36px;border-radius:11px}.install-guide-step-main h4{font-size:17px}}


/* v33.2 — canonical card palette shared with public catalog + relocated type badge. */
.game-card{position:relative;--accent2:#62c295}
.game-card.card-theme-1{--accent2:#ffabd0}
.game-card.card-theme-2{--accent2:#a38ee1}
.game-type-pill{
  top:10px;left:22px;z-index:4;
  max-width:calc(100% - 44px);
  min-height:29px;padding:6px 11px;
  color:#fff;background:var(--accent);
  border:1px solid var(--accent2);
  box-shadow:0 6px 16px rgba(0,0,0,.20);
  backdrop-filter:none;-webkit-backdrop-filter:none;
}
.game-bottom button{border-color:var(--accent2)}


/* v33.6 — backend game.theme cards + edge-mounted game type badge. */
.game-card{
  background:var(--card,#0b2b20);
  border-color:var(--card-border,#315e4e);
  color:var(--card-text,#f7f7f2);
}
.game-cover{background:var(--card-surface-high,#09110e)}
.game-copy h3,.game-facts b,.game-bottom>small,.game-bottom>strong{color:var(--card-text,#f7f7f2)}
.game-copy p,.game-facts small{color:var(--card-muted,#b5c6bf)}
.game-type-pill{
  top:-1px;
  left:-1px;
  width:max-content;
  max-width:calc(100% - 28px);
  min-height:34px;
  padding:7px 14px;
  border:1px solid var(--accent2,#62c295);
  border-radius:22px 0 22px 0;
  color:var(--card-text,#fff);
  background:var(--accent,#3f9d73);
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.game-bottom button{
  color:#fff;
  background:var(--accent,#3f9d73);
  border-color:var(--accent2,#62c295);
}

/* v33.7 — borderless card CTA + game-type badge */
.game-card .game-bottom button,
.game-card .game-type-pill {
  border: 0 !important;
}


/* v33.8 — account cards use the same themed control outline as public cards. */
.game-card .game-bottom button,
.game-card .game-type-pill{
  border:1px solid color-mix(in srgb,var(--accent,#3f9d73) 88%,white 12%) !important;
}

/* v33.9 — purchase cannot proceed until the mandatory offer is accepted. */
#pay-button:disabled{
  opacity:.5;
  cursor:not-allowed;
  box-shadow:none;
  filter:saturate(.72);
}

/* v34.2 — account catalogue adopts the same card system as /games/.
   The workspace starts closer to the sidebar so one additional card can fit
   on a 13-inch desktop viewport without shrinking typography. */
@media (min-width:821px){
  .workspace{
    padding-left:22px !important;
    padding-right:32px !important;
  }
  .view[data-panel="catalog"]{
    width:100%;
    max-width:none;
  }
  .view[data-panel="catalog"] .game-grid{
    width:100%;
    max-width:none !important;
    gap:14px !important;
    align-items:stretch;
  }
}

/* Same external geometry: full-bleed cover, same body spacing and controls. */
.view[data-panel="catalog"] .game-card{
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  flex:none !important;
  border-radius:22px;
}
.view[data-panel="catalog"] .game-cover{
  margin:0 !important;
  border-radius:0 !important;
}
.view[data-panel="catalog"] .game-copy{padding:20px 20px 14px}
.view[data-panel="catalog"] .game-copy h3{
  margin:0;
  min-height:2.16em;
  font-size:clamp(21px,1.75vw,27px);
  line-height:1.08;
  letter-spacing:-.045em;
}
.view[data-panel="catalog"] .game-copy p{
  margin:14px 0 16px;
  min-height:3.2em;
  font-size:15px;
  line-height:1.55;
}
.view[data-panel="catalog"] .game-facts{
  gap:8px;
  padding-top:16px;
}
.view[data-panel="catalog"] .game-facts small{font-size:12px}
.view[data-panel="catalog"] .game-facts b{font-size:15px}
.view[data-panel="catalog"] .game-bottom{
  gap:12px 16px;
  padding:15px 20px 19px;
}
.view[data-panel="catalog"] .game-bottom>small{font-size:14px}
.view[data-panel="catalog"] .game-bottom>strong{font-size:21px}
.view[data-panel="catalog"] .game-bottom button{
  min-height:48px;
  height:48px;
  font-size:16px;
}

/* Desktop: use the newly recovered horizontal space for one more card. */
@media (min-width:1320px){
  .view[data-panel="catalog"] .game-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}
@media (min-width:1100px) and (max-width:1319px){
  .view[data-panel="catalog"] .game-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media (min-width:821px) and (max-width:1099px){
  .view[data-panel="catalog"] .game-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* v34.3 HOTFIX — account catalogue layout.
   v34.2 applied grid column rules while a legacy rule kept .game-grid as flex.
   Restore a real grid and target four cards on a 13-inch MacBook (1280 CSS px).
   No auth, purchase or detail-card behavior is changed. */
@media (min-width:821px){
  .view[data-panel="catalog"] .game-grid{
    display:grid !important;
    width:100% !important;
    max-width:none !important;
    gap:14px !important;
    align-items:stretch !important;
  }
  .view[data-panel="catalog"] .game-card{
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    flex:none !important;
  }
}

/* Typical 13-inch MacBook default logical width is around 1280px. */
@media (min-width:1240px){
  .view[data-panel="catalog"] .game-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}
@media (min-width:1000px) and (max-width:1239px){
  .view[data-panel="catalog"] .game-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media (min-width:821px) and (max-width:999px){
  .view[data-panel="catalog"] .game-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* v34.4 — account catalogue uses the SAME physical card width as the public
   /games/ catalogue at the same viewport. Never squeeze four cards into the
   account workspace. The row wraps naturally; max three cards per row. */
.view[data-panel="catalog"] .game-grid{
  --sgr-account-card-width:calc((min(1480px, calc(100vw - 40px)) - 42px) / 4);
  display:flex !important;
  flex-wrap:wrap !important;
  grid-template-columns:none !important;
  gap:14px !important;
  width:100% !important;
  max-width:calc((3 * var(--sgr-account-card-width)) + 28px) !important;
  justify-content:flex-start !important;
  align-items:stretch !important;
}
.view[data-panel="catalog"] .game-card{
  flex:0 0 var(--sgr-account-card-width) !important;
  width:var(--sgr-account-card-width) !important;
  max-width:var(--sgr-account-card-width) !important;
  min-width:0 !important;
}
@media (min-width:900px) and (max-width:1179px){
  .view[data-panel="catalog"] .game-grid{
    --sgr-account-card-width:calc((min(1480px, calc(100vw - 40px)) - 28px) / 3);
    max-width:calc((3 * var(--sgr-account-card-width)) + 28px) !important;
  }
}
@media (max-width:899px){
  .view[data-panel="catalog"] .game-grid{
    --sgr-account-card-width:min(82vw,350px);
    max-width:100% !important;
    justify-content:center !important;
  }
}


/* v34.5 — equal side insets for the workspace to the right of the sidebar. */
@media (min-width:821px){
  .workspace{
    padding-left:22px !important;
    padding-right:22px !important;
  }
}

/* v34.6 — account catalogue typography exactly matches the homepage rail. */
.view[data-panel="catalog"] .game-copy h3{
  font-size:clamp(21px,1.75vw,27px) !important;
  line-height:1.08 !important;
  letter-spacing:-.045em !important;
}
.view[data-panel="catalog"] .game-copy p{
  margin:14px 0 16px !important;
  font-size:15px !important;
  line-height:1.55 !important;
}
.view[data-panel="catalog"] .game-facts small{
  margin-bottom:6px !important;
  font-size:11px !important;
}
.view[data-panel="catalog"] .game-facts b{
  font-size:14px !important;
}
.view[data-panel="catalog"] .game-bottom>small{
  font-size:13px !important;
}
.view[data-panel="catalog"] .game-bottom>strong{
  font-size:19px !important;
}
.view[data-panel="catalog"] .game-bottom button{
  min-height:44px !important;
  height:44px !important;
  font-size:15px !important;
}

/* v34.7 — account catalogue uses the exact same compact card geometry and
   weights as the homepage /games cards. The number of columns is automatic:
   cards keep their canonical physical width and another column appears only
   when it really fits in the workspace. */
@media (min-width:821px){
  .workspace{
    padding-left:22px !important;
    padding-right:22px !important;
  }
  .view[data-panel="catalog"] .game-grid{
    --sgr-account-card-width:calc((min(1480px, calc(100vw - 40px)) - 42px) / 4);
    display:grid !important;
    grid-template-columns:repeat(auto-fill,minmax(var(--sgr-account-card-width),var(--sgr-account-card-width))) !important;
    gap:14px !important;
    width:100% !important;
    max-width:none !important;
    justify-content:start !important;
    align-items:stretch !important;
  }
  .view[data-panel="catalog"] .game-card{
    width:100% !important;
    max-width:var(--sgr-account-card-width) !important;
    min-width:0 !important;
    flex:none !important;
  }
}
@media (min-width:900px) and (max-width:1179px){
  .view[data-panel="catalog"] .game-grid{
    --sgr-account-card-width:calc((min(1480px, calc(100vw - 40px)) - 28px) / 3);
  }
}
@media (min-width:821px) and (max-width:899px){
  .view[data-panel="catalog"] .game-grid{
    --sgr-account-card-width:min(82vw,350px);
  }
}

/* Exact same compact body spacing as the public cards. */
.view[data-panel="catalog"] .game-copy{padding:17px 17px 12px !important}
.view[data-panel="catalog"] .game-facts{padding-top:14px !important;gap:6px !important}
.view[data-panel="catalog"] .game-bottom{gap:10px 14px !important;padding:13px 17px 16px !important}
.view[data-panel="catalog"] .game-bottom button{min-height:44px !important;height:44px !important}

/* Explicitly pin the account card weights to the homepage standard. */
.view[data-panel="catalog"] .game-copy h3{font-weight:700 !important}
.view[data-panel="catalog"] .game-copy p{font-weight:400 !important}
.view[data-panel="catalog"] .game-facts small{font-weight:750 !important}
.view[data-panel="catalog"] .game-facts b{font-weight:820 !important}
.view[data-panel="catalog"] .game-bottom>small{font-weight:400 !important}
.view[data-panel="catalog"] .game-bottom>strong{font-weight:700 !important}
.view[data-panel="catalog"] .game-bottom button{font-weight:820 !important}


/* v34.8 — card font weights are intentionally NOT redefined here.
   The account catalogue consumes the exact same --sgr-card-* variables and
   selectors from /catalog-v34.8.css as homepage and /games/. */
.view[data-panel="catalog"] .game-card{font-family:var(--sgr-card-font) !important}

/* v34.9.2 — mobile account menu: opaque/readable drawer, neutral workspace,
   explicit outside backdrop and visible logout icon. */
.logout{display:flex;align-items:center;gap:10px;text-align:left}
.logout svg{width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sidebar-backdrop{display:none}

@media(max-width:820px){
  body.sgr-account-active{
    background:radial-gradient(circle at 88% 0,rgba(110,46,60,.38),transparent 29%),var(--black) !important;
  }
  .sidebar{
    z-index:32 !important;
    background:rgba(18,8,13,.97) !important;
    -webkit-backdrop-filter:blur(22px) saturate(.9);
    backdrop-filter:blur(22px) saturate(.9);
    box-shadow:none !important;
  }
  .sidebar-backdrop{
    position:fixed;
    z-index:31;
    inset:66px 0 0 0;
    display:block;
    padding:0;
    border:0;
    background:rgba(5,2,4,.62);
    -webkit-backdrop-filter:blur(8px);
    backdrop-filter:blur(8px);
    cursor:default;
  }
  .sidebar-backdrop[hidden]{display:none !important}
  .logout{min-height:50px;padding:0 13px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035)}
}

/* v37 — mobile account top-right action returns to the home page. */
.topbar-home-mobile{
  display:none;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--ink);
  background:#35202a;
  text-decoration:none;
}
.topbar-home-mobile svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.topbar-home-mobile:hover{color:#ffd166;background:rgba(255,209,102,.08)}
@media(max-width:820px){
  body.sgr-account-active .home-link{display:none !important}
  body.sgr-account-active .topbar-home-mobile{display:flex !important}
}

/* v37 — keep drawer logout comfortably above Safari's bottom toolbar. */
@media(max-width:820px){
  .sidebar .logout{
    margin-top:24px !important;
    margin-bottom:0 !important;
    flex:0 0 auto;
  }
}

/* v38 — the real /account/ mobile action is the home/back arrow. */
@media(max-width:820px){
  body.sgr-account-active .topbar-logout{display:none !important}
  body.sgr-account-active .home-link{display:none !important}
  body.sgr-account-active .topbar-home-mobile{display:flex !important}
}

/* v47 — real game covers in login artwork; preserve v44 geometry/rotation */
.login-art .library-card.sgr-login-cover{padding:0;overflow:hidden;background:#160b10}
.login-art .library-card.sgr-login-cover img{width:100%;height:100%;display:block;object-fit:cover}


/* v48 — session-check gate and owned-state price placement. */
.auth-check-screen{
  min-height:calc(100vh - 76px);
  display:grid;
  place-items:center;
  padding:40px 24px;
}
.auth-check-card{
  width:min(420px,100%);
  display:grid;
  justify-items:center;
  gap:16px;
  padding:34px 28px;
  border:1px solid var(--line);
  border-radius:24px;
  background:rgba(42,22,32,.82);
  box-shadow:0 24px 70px rgba(0,0,0,.28);
  text-align:center;
}
.auth-check-spinner{
  width:38px;
  height:38px;
  border:3px solid rgba(255,255,255,.16);
  border-top-color:var(--pink);
  border-radius:50%;
  animation:sgr-auth-spin .75s linear infinite;
}
.auth-check-card strong{font-size:20px}
.auth-check-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
@keyframes sgr-auth-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.auth-check-spinner{animation:none;border-top-color:rgba(255,255,255,.55)}}

/* v50 — compact purchased state in the price slot.
   Keep 11px text (same as the Quiz badge) but shrink the capsule itself. */
.game-bottom .owned-price-state{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self:end;
  min-height:22px;
  padding:4px 7px;
  border-radius:999px;
  color:#082417;
  background:var(--green);
  font-size:11px;
  font-weight:900;
  line-height:1;
  letter-spacing:0;
  text-transform:none;
  white-space:nowrap;
}


/* v51 — purchased badge fix.
   The generic catalogue rule `.view[data-panel="catalog"] .game-bottom>strong`
   uses !important, so the purchased state must explicitly override it. */
.view[data-panel="catalog"] .game-bottom > strong.owned-price-state,
.game-card .game-bottom > strong.owned-price-state{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  justify-self:end !important;
  width:max-content !important;
  min-width:0 !important;
  min-height:29px !important;
  height:auto !important;
  padding:7px 14px !important;
  border-radius:999px !important;
  color:#082417 !important;
  background:var(--green) !important;
  font-size:11px !important;
  font-weight:850 !important;
  line-height:1 !important;
  letter-spacing:.035em !important;
  text-transform:none !important;
  white-space:nowrap !important;
}


/* v52 — purchased status styled like the compact "Скачана" state:
   neutral translucent capsule, subtle outline, themed text. */
.view[data-panel="catalog"] .game-bottom > strong.owned-price-state,
.game-card .game-bottom > strong.owned-price-state{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  justify-self:end !important;
  width:max-content !important;
  min-width:0 !important;
  min-height:29px !important;
  height:29px !important;
  padding:0 12px !important;
  border:1px solid color-mix(in srgb,var(--card-text,#fff) 28%,transparent) !important;
  border-radius:999px !important;
  color:var(--card-text,#fff) !important;
  background:color-mix(in srgb,var(--card-text,#fff) 8%,transparent) !important;
  box-shadow:none !important;
  font-size:11px !important;
  font-weight:800 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  white-space:nowrap !important;
}


/* v57 — promo code checkout, backend v60. */
.dialog-price-wrap{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.dialog-price-original{font-size:14px;color:var(--muted);text-decoration:line-through;text-decoration-thickness:1px}
.dialog-price-original[hidden]{display:none!important}
.account-promo{display:grid;gap:7px;margin:4px 0 2px}
.account-promo>label{font-size:13px;font-weight:700;color:var(--ink)}
.account-promo-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.account-promo-row input{min-width:0;height:44px;padding:0 13px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--ink);font:inherit;font-size:14px;text-transform:uppercase;outline:none}
.account-promo-row input::placeholder{text-transform:none;color:var(--muted)}
.account-promo-row input:focus{border-color:#7e3954;box-shadow:0 0 0 3px rgba(126,57,84,.12)}
.account-promo-row button{height:44px;padding:0 15px;border:1px solid #7e3954;border-radius:11px;background:transparent;color:var(--ink);font:inherit;font-size:14px;font-weight:750;cursor:pointer}
.account-promo-row button:hover{background:rgba(126,57,84,.08)}
.account-promo-row button:disabled{opacity:.58;cursor:wait}
.promo-status{min-height:0;margin:0;color:var(--danger,#a32743);font-size:12px;line-height:1.4}
.promo-status.success{color:#237a4d}
@media(max-width:430px){.account-promo-row{grid-template-columns:1fr}.account-promo-row button{width:100%}}


/* v58 — promo field is collapsed by default. */
.account-promo-disclosure{margin:5px 0 2px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.account-promo-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;color:var(--muted);font-size:13px;font-weight:750;cursor:pointer;list-style:none;user-select:none}
.account-promo-disclosure>summary::-webkit-details-marker{display:none}
.account-promo-disclosure>summary::after{content:'⌄';font-size:16px;line-height:1;transition:transform .18s ease}
.account-promo-disclosure[open]>summary::after{transform:rotate(180deg)}
.account-promo-disclosure[open]>summary{color:var(--ink)}
.account-promo-disclosure .account-promo{margin:0;padding:0 0 13px}

/* v59 — compact promo disclosure: no separator lines, chevron hugs the label. */
.account-promo-disclosure{margin:5px 0 2px;border:0}
.account-promo-disclosure>summary{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;gap:6px;padding:7px 0}
.account-promo-disclosure>summary::after{margin:0;flex:0 0 auto;font-size:15px}
.account-promo-disclosure .account-promo{padding:7px 0 6px}

/* v60 bundle cards */
.account-bundle-card .game-bottom strong s{opacity:.55;font-weight:500;margin-right:5px}
.account-bundle-collage{position:relative;width:100%;height:100%;min-height:190px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.account-bundle-collage img{position:absolute;width:54%;height:78%;object-fit:cover;border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.28)}
.account-bundle-collage img:nth-child(1){transform:translateX(-25%) rotate(-7deg)}
.account-bundle-collage img:nth-child(2){transform:translateX(0);z-index:2}
.account-bundle-collage img:nth-child(3){transform:translateX(25%) rotate(7deg)}
.account-bundle-games{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.account-bundle-games span{font-size:12px;padding:5px 7px;border-radius:999px;background:rgba(255,255,255,.08)}

/* v68 — account catalogue uses exactly the same compact product-card geometry
   as homepage and /games/. Bundle conforms to the game card, not vice versa. */
.view[data-panel="catalog"] .game-grid{align-items:flex-start!important}
.view[data-panel="catalog"] .game-card{align-self:flex-start!important}
.view[data-panel="catalog"] .game-copy h3{
  min-height:2.16em!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
}
.view[data-panel="catalog"] .account-card-main{display:block;position:relative}

.view[data-panel="catalog"] .account-bundle-main{
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 82% 12%,#ffd45f22,transparent 30%),
    radial-gradient(circle at 8% 100%,#ff4f6d26,transparent 36%),
    linear-gradient(145deg,#32151f,#241118 66%,#351811);
}
.view[data-panel="catalog"] .account-bundle-card .game-cover{
  position:relative;
  z-index:1;
  margin:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.view[data-panel="catalog"] .account-bundle-card .game-copy{
  position:relative;
  z-index:3;
  padding:17px 17px 12px!important;
  background:linear-gradient(180deg,rgba(39,17,25,.18),rgba(31,13,19,.9));
}
.view[data-panel="catalog"] .account-bundle-card .account-bundle-slogan{
  min-height:3.2em!important;
  margin:14px 0 16px!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  color:var(--card-muted,#eadce1)!important;
  font-size:15px!important;
  font-weight:650!important;
  line-height:1.55!important;
}
.view[data-panel="catalog"] .account-bundle-saving{
  box-sizing:border-box;
  min-height:49px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0;
  padding:8px 10px;
  border:1px solid #ffb36b45;
  border-radius:11px;
  background:linear-gradient(90deg,#ff5b6b16,#ffb34712);
  font-size:12px;
}
.view[data-panel="catalog"] .account-bundle-saving span{color:var(--card-muted,#d7c6cc);font-weight:720}
.view[data-panel="catalog"] .account-bundle-saving strong{color:#ffd45f;font-size:14px;font-weight:950;white-space:nowrap}
.view[data-panel="catalog"] .account-bundle-games{display:none!important}

.view[data-panel="catalog"] .account-bundle-collage span{
  position:absolute;
  width:54%;
  height:78%;
  display:grid;
  place-items:center;
  padding:8px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.38);
  border-radius:12px;
  background:#26161d;
  color:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.42),0 0 0 2px rgba(255,255,255,.06);
  font-size:12px;
  font-weight:850;
  text-align:center;
}
.view[data-panel="catalog"] .account-bundle-collage img{border:1px solid rgba(255,255,255,.38)}
.view[data-panel="catalog"] .account-bundle-collage span:nth-child(1){transform:translateX(-25%) rotate(-7deg)}
.view[data-panel="catalog"] .account-bundle-collage span:nth-child(2){transform:translateX(0);z-index:2}
.view[data-panel="catalog"] .account-bundle-collage span:nth-child(3){transform:translateX(25%) rotate(7deg)}

.view[data-panel="catalog"] .account-bundle-discount{
  position:absolute;
  z-index:8;
  top:12px;
  right:12px;
  width:76px;
  height:76px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  border:2px solid #fff1c8;
  border-radius:50%;
  background:linear-gradient(145deg,#ff4f6d,#ff7548 62%,#ff9f43);
  color:#fff;
  transform:rotate(7deg);
  box-shadow:0 12px 28px #0006,0 0 0 4px #ff66452b;
}
.view[data-panel="catalog"] .account-bundle-discount small{font-size:9px;font-weight:950;letter-spacing:.12em;line-height:1}
.view[data-panel="catalog"] .account-bundle-discount strong{font-size:25px;font-weight:950;letter-spacing:-.04em;line-height:1}
.view[data-panel="catalog"] .account-bundle-ribbon{
  position:absolute;
  z-index:5;
  left:12px;
  bottom:12px;
  padding:8px 11px;
  border:1px solid #ffdca9;
  border-radius:9px;
  background:linear-gradient(90deg,#ff4f6d,#ff7c46);
  color:#fff;
  box-shadow:0 8px 24px #0005;
  font-size:11px;
  font-weight:950;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.view[data-panel="catalog"] .account-bundle-card--custom-art .account-bundle-main::before{
  content:'';
  display:block;
  width:100%;
  aspect-ratio:16/9;
}
.view[data-panel="catalog"] .account-bundle-card--custom-art .game-cover{
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  aspect-ratio:auto!important;
  width:100%!important;
  height:100%!important;
}
.view[data-panel="catalog"] .account-bundle-card--custom-art .game-cover::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(14,7,10,.04) 18%,rgba(22,8,14,.15) 45%,rgba(24,8,14,.94) 78%,#18080e 100%);
}
.view[data-panel="catalog"] .account-bundle-card--custom-art .game-cover>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.view[data-panel="catalog"] .account-bundle-card--custom-art .game-copy{background:transparent!important}
.view[data-panel="catalog"] .account-bundle-card--custom-art .account-bundle-ribbon{top:46px;bottom:auto}

.view[data-panel="catalog"] .account-bundle-card .game-bottom>small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px!important;
  font-weight:650!important;
}
.view[data-panel="catalog"] .account-bundle-price{display:grid!important;justify-items:end;gap:2px;line-height:1}
.view[data-panel="catalog"] .account-bundle-price s{color:var(--card-muted,#b9abb0);font-size:12px;font-weight:650;opacity:.75}
.view[data-panel="catalog"] .account-bundle-price b{color:#ffd45f;font-size:19px;font-weight:950;letter-spacing:-.04em;white-space:nowrap}
.view[data-panel="catalog"] .account-bundle-card .game-bottom button{background:linear-gradient(90deg,#ff4f6d,#ff7848)!important;border-color:#ffb26e!important}

/* Same mobile physical width as homepage and /games/: about 6px per side. */
@media(max-width:820px){
  .view[data-panel="catalog"] .game-grid{
    --sgr-account-card-width:min(420px,calc(100vw - 12px))!important;
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:14px!important;
    width:100%!important;
    max-width:100%!important;
  }
  .view[data-panel="catalog"] .game-card{
    flex:0 0 auto!important;
    width:var(--sgr-account-card-width)!important;
    max-width:var(--sgr-account-card-width)!important;
  }
  .view[data-panel="catalog"] .game-copy h3{min-height:2.16em!important}
  .view[data-panel="catalog"] .account-bundle-discount{width:66px;height:66px;top:8px;right:8px}
  .view[data-panel="catalog"] .account-bundle-discount strong{font-size:21px}
  .view[data-panel="catalog"] .account-bundle-ribbon{left:9px;padding:7px 9px;font-size:9px}
}

/* v68 final compact price alignment: Bundle footer follows normal Game height. */
.view[data-panel="catalog"] .account-bundle-price{
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-end!important;
  gap:6px!important;
  min-height:22px!important;
  line-height:1!important;
}
.view[data-panel="catalog"] .account-bundle-price s{
  margin:0!important;
  font-size:11px!important;
  line-height:1!important;
}
.view[data-panel="catalog"] .account-bundle-price b{
  font-size:18px!important;
  line-height:1!important;
  white-space:nowrap!important;
}

/* v68 final card equalization: same two-line title/description slots as public cards. */
.view[data-panel="catalog"] .game-card:not(.account-bundle-card) .game-copy h3,
.view[data-panel="catalog"] .account-bundle-card .game-copy h3{
  min-height:2.16em!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
}
.view[data-panel="catalog"] .game-card:not(.account-bundle-card) .game-copy p{
  min-height:3.2em!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
}


/* v69 — account "Мои игры" and store cards share the exact same phone width
   as public cards. Bundle compact card no longer has a separate Economy box. */
.view[data-panel="catalog"] .account-bundle-saving{display:none!important}
.view[data-panel="catalog"] .account-bundle-ribbon-slot{
  min-height:49px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  margin:0!important;
  padding:0!important;
}
.view[data-panel="catalog"] .account-bundle-ribbon-slot .account-bundle-ribbon{
  position:static!important;
  inset:auto!important;
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
  transform:none!important;
}
.view[data-panel="catalog"] .account-bundle-card--custom-art .account-bundle-ribbon-slot .account-bundle-ribbon{
  position:static!important;
  inset:auto!important;
}

@media(max-width:820px){
  .workspace{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .view[data-panel="catalog"] .game-grid{
    --sgr-account-card-width:min(420px,100%)!important;
    width:100%!important;
    max-width:100%!important;
    align-items:center!important;
  }
  .view[data-panel="catalog"] .game-card{
    flex:0 0 auto!important;
    width:var(--sgr-account-card-width)!important;
    max-width:var(--sgr-account-card-width)!important;
  }
}

/* v70 — match the mobile title/description hierarchy of public game cards. */
@media(max-width:820px){
  .view[data-panel="catalog"] .game-copy h3{
    font-size:25px!important;
    line-height:1.08!important;
    font-weight:700!important;
  }
  .view[data-panel="catalog"] .game-copy p{
    font-size:15px!important;
    line-height:1.55!important;
  }
}

/* v91 — Bundle cards in the account catalog use the canonical public .sgr-bundle-card component from catalog-v82.css. */


/* v65 / site v101: same visual size and layout as the home download buttons. */
.account-download-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.account-download-actions > div { flex: 0 0 auto; max-width: 100%; }
.account-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 17px;
  border: 0;
  border-radius: 14px;
  background: #f5cb63;
  color: #2b1720;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.account-download-button:hover:not(.disabled) { background: #f9d980; transform: translateY(-1px); }
.account-download-button.disabled { pointer-events: none; cursor: default; opacity: .72; }
.account-download-button img { display: block; width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
@media (max-width: 600px) {
  .account-download-actions { gap: 10px; }
  .account-download-button { font-size: 16px; }
}
