/* Brand colors and self-hosted fonts load before this sheet. */
:root{
  --bg:var(--keek-graphite);--surface:var(--keek-surface);--surface2:#292730;
  --line:var(--keek-border);--text:var(--keek-cloud);--muted:var(--keek-text-muted);
  --accent:var(--keek-lilac);--button:var(--keek-violet);--display:Nunito,"Golos Text",var(--keek-font-ui);
  color-scheme:dark;font-family:"Golos Text",var(--keek-font-ui);color:var(--text);background:var(--bg);
  font-size:100%;text-size-adjust:100%;-webkit-text-size-adjust:100%;
}
*,*::before,*::after{box-sizing:border-box}
html{min-width:0}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;margin:0}
body.modal-open{overflow:hidden}
button,input,a{font:inherit}
button,a{touch-action:manipulation}
button{border:0;cursor:pointer}
button,a{color:inherit}
a{text-decoration:none}
button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
button[disabled]{opacity:.58;cursor:default}
[hidden]{display:none!important}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:800}
img{max-width:100%}
.frame{width:min(100%,1104px);margin:0 auto;padding-left:40px;padding-right:40px}
main{flex:1;min-width:0;outline:0}
.icon{display:block;width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.sprites{position:absolute;width:0;height:0;pointer-events:none;overflow:hidden}
.skip{position:fixed;z-index:90;top:8px;left:8px;transform:translateY(-160%);padding:12px;background:var(--accent);color:var(--bg);border-radius:8px}
.skip:focus{transform:translateY(0)}
.topbar{border-bottom:1px solid var(--line);background:var(--bg)}
.header-row{min-height:82px;display:flex;align-items:center;gap:50px}
.brand{display:inline-flex;align-items:center;flex:none}
.brand img{display:block;width:119px;height:auto}
.desktop-nav{display:flex;gap:28px;align-self:stretch}
.desktop-nav a{display:inline-flex;position:relative;align-items:center;font-weight:600;font-size:.95rem;color:var(--muted)}
.desktop-nav a[aria-current=page]{color:var(--text)}
.desktop-nav a[aria-current=page]::after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--accent)}
.user-link,.button,.action{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:600}
.user-link{margin-left:auto;min-height:41px;padding:0 17px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:.91rem;max-width:32%}
.user-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-link .icon{width:17px;height:17px}
.button,.action{min-height:44px;border-radius:11px;padding:10px 19px;font-size:.95rem}
.accent{color:var(--keek-cloud);background:var(--button)}
.ghost-btn,.action{color:var(--text);background:var(--surface2);border:1px solid var(--line)}
.catalog-section{padding:36px 0 46px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-head h1,.inner-page h1{font-weight:900;letter-spacing:-.035em;line-height:1.13}
.section-head h1{font-size:2.05rem}
.filters{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.filters button{background:transparent;color:var(--muted);padding:7px 14px;min-height:33px;border-radius:8px;font-weight:600;font-size:.86rem}
.filters button[aria-pressed=true]{color:var(--text);background:#38333f;box-shadow:0 1px 3px #0004}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:16px}
.product-card{position:relative;display:block;min-width:0;overflow:hidden;isolation:isolate;container-type:inline-size;border-radius:var(--keek-radius-md);background:var(--surface);transition:transform .18s}
.product-card.pubg{background:#352b21}
.card-cover{display:block;width:100%;height:auto;aspect-ratio:496/846;object-fit:cover}
.product-card:not(.pubg)::before{content:"";position:absolute;inset:58% 0 0;background:linear-gradient(transparent,rgba(5,7,12,.65));pointer-events:none}
.card-caption{position:absolute;left:7%;right:20%;bottom:5.3%;color:#fff;font-size:clamp(1.1rem,2.7vw,2rem);font-size:clamp(1.1rem,12.6cqw,2rem);font-weight:900;line-height:.98;letter-spacing:-.045em;text-shadow:0 1px 7px #0004}
.card-series{display:block;margin-bottom:.24em;font-size:.47em;line-height:1.15;letter-spacing:.005em;font-weight:700}
.steam-caption{display:flex;align-items:center;gap:5%;font-family:"Golos Text",var(--keek-font-ui);font-weight:700;letter-spacing:.045em;line-height:1.1;text-transform:uppercase}
.steam-caption img{width:22%;height:auto;filter:brightness(0) invert(1)}
.card-chevron{position:absolute;right:4%;bottom:3.8%;width:13%;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:rgba(14,16,20,.72);color:#fff}
.card-chevron::after{content:"";display:block;width:29%;height:29%;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:translateX(-14%) rotate(45deg)}
.pubg-badges{position:absolute;top:clamp(6px,1.1vw,12px);right:clamp(6px,1.1vw,12px);display:flex;gap:4px;width:clamp(96px,49%,148px);max-width:calc(100% - 12px)}
.pubg-badge{display:grid;place-items:center;flex:1;min-width:0;aspect-ratio:1;border-radius:50%;background:rgba(17,19,24,.82);box-shadow:0 2px 6px #0004}
.pubg-badge img{display:block;width:82%;height:auto}
.product-type,.eyeline{font-size:.75rem;color:var(--muted);font-weight:600}
.product-type{display:none}
.product-card[aria-disabled=true] .card-cover{filter:saturate(.35)}
.product-card[aria-disabled=true] .product-type{display:block;position:absolute;bottom:25%;left:4%;max-width:92%;padding:5px 8px;border-radius:6px;background:#19171bec;color:#ffc885;line-height:1.25}
.footer{border-top:1px solid var(--line)}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:75px}
.footer-brand{display:inline-flex;align-items:center}
.footer-brand img{display:block;width:92px;height:auto}
.footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px}
.footer-links a,.footer-links button{display:inline-flex;align-items:center;gap:5px;min-height:40px;font-size:.88rem;color:var(--muted);background:none;padding:0}
.footer-links .icon{width:16px;height:16px}
.mobile-nav{display:none}
.inner-page{max-width:800px;padding:46px 0 68px}
.eyeline{letter-spacing:.075em;text-transform:uppercase}
.inner-page h1{font-size:clamp(2rem,5vw,3.3rem);margin:7px 0 24px}
.panel,.order-row{border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.panel{padding:22px;display:grid;gap:10px;justify-items:start}
.panel p,.muted{color:var(--muted);line-height:1.55;overflow-wrap:anywhere}
.panel h2,.dialog h2{line-height:1.15;letter-spacing:-.045em}
.panel h2{font-size:1.32rem}
.panel .button,.panel .action{margin-top:4px}
.order-list{display:grid;gap:10px}
.order-row{width:100%;text-align:left;padding:14px 17px;display:flex;align-items:center;gap:13px}
.order-row img{width:42px;height:42px;object-fit:contain;border-radius:9px;flex:none}
.order-row strong{display:block;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.order-row .row-info{min-width:0;flex:1}
.order-row small{display:block;color:var(--muted);font-size:.81rem;line-height:1.4;margin-top:3px}
.order-price{font-size:.95rem;white-space:nowrap}
.order-action{margin-top:15px}
.profile-actions,.detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:8px}
.overlay{position:fixed;z-index:50;inset:0;display:flex;align-items:center;justify-content:center;padding:18px;background:#08070bbb;overflow:auto}
.dialog{background:var(--surface);border:1px solid var(--line);border-radius:var(--keek-radius-lg);padding:28px;box-shadow:0 30px 100px #0008;max-width:452px;width:100%;position:relative;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);overflow:auto;overscroll-behavior:contain;outline:0}
.dialog h2{font-size:1.7rem;padding-right:32px;margin:0 0 14px}
.dialog-lead{color:var(--muted);font-size:.96rem;line-height:1.5;margin-bottom:20px;overflow-wrap:anywhere}
.icon-button{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--surface2);border:1px solid var(--line)}
.close{position:absolute;top:17px;right:17px}
.close .icon{width:17px;height:17px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:3px;background:var(--bg);border:1px solid var(--line);border-radius:12px;margin:18px 0 20px}
.auth-tabs button{background:transparent;color:var(--muted);font-weight:600;padding:10px 6px;min-height:41px;border-radius:9px}
.auth-tabs button[aria-selected=true]{background:#393342;color:var(--text)}
.auth-form{display:grid;gap:7px}
.auth-form .button{width:100%;min-height:46px;margin-top:13px}
.auth-alternative{margin-top:17px;border-top:1px solid var(--line);padding-top:17px}
.telegram-login{width:100%;min-height:46px;background:#193645;color:#b5e9ff}
.telegram-login::before{content:"";display:block;width:17px;height:16px;background:currentColor;clip-path:polygon(0 43%,100% 0,78% 100%,50% 73%,40% 89%,39% 67%,84% 18%,32% 59%)}
.telegram-flow{display:grid;gap:9px}
.telegram-flow .dialog-lead{margin:0 0 6px}
.auth-email-back{color:var(--muted)}
.auth-form label:not(:first-child){margin-top:9px}
.auth-form .field-hint{font-size:.80rem;color:var(--muted);line-height:1.45}
.auth-form .password-field{position:relative}
.auth-form .password-field input{padding-right:90px}
.toggle-password{position:absolute;inset:3px 5px 3px auto;background:transparent;color:var(--muted);border-radius:7px;font-size:.82rem;padding:4px 7px}
.profile-fields{display:grid;gap:3px;margin:0;overflow-wrap:anywhere;max-width:100%}
.profile-fields dt{color:var(--muted);font-size:.85rem}
.profile-fields dd{margin:0;font-size:1.06rem;font-weight:600}
.auth-form label,.field-name{display:block;font-size:.9rem;font-weight:600;color:var(--text)}
.auth-form input{width:100%;min-width:0;background:#292730;border:0;outline:none;border-radius:10px;padding:14px;color:var(--text);font-size:1rem}
.auth-form input:focus{background:#393344}
.minor{background:none;color:var(--text);text-decoration:underline;text-underline-offset:3px;font-size:.88rem;min-height:38px;padding:3px 7px}
.form-error{color:#ffbdab;line-height:1.45;font-size:.88rem;overflow-wrap:anywhere}
.form-error:empty{display:none}
.detail-fields{margin:10px 0;display:grid;grid-template-columns:minmax(85px,.8fr) minmax(0,1.6fr);row-gap:10px;column-gap:14px;font-size:.9rem;line-height:1.4}
.detail-fields dt{color:var(--muted)}
.detail-fields dd{margin:0;overflow-wrap:anywhere;text-align:right}
.delivery{margin:18px 0 10px;border:1px solid var(--line);padding:13px;border-radius:10px}
.delivery pre{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}
.notice,.no-script{position:fixed;bottom:20px;left:50%;z-index:80;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 24px);padding:12px 16px;border:1px solid var(--line);border-radius:12px;color:var(--text);background:#2b2733;box-shadow:0 5px 35px #0006;font-size:.91rem}
@media(hover:hover){
  .desktop-nav a:hover,.footer-links a:hover,.footer-links button:hover{color:white}
  .product-card:not([aria-disabled=true]):hover{transform:translateY(-3px)}
  .accent:hover{background:#6e31d8}
  .user-link:hover,.action:hover,.ghost-btn:hover,.icon-button:hover,.order-row:hover{background:#332e3c}
  .filters button:not([aria-pressed=true]):hover{color:white}
}
@media(max-width:960px){
  .frame{padding-left:26px;padding-right:26px}
  .header-row{min-height:70px;gap:35px}
  .cards{gap:12px}
}
@media(max-width:760px){
  .frame{padding-left:18px;padding-right:18px}
  .topbar{padding-top:env(safe-area-inset-top,0px)}
  .header-row{min-height:60px}
  .brand img{width:102px}
  .desktop-nav{display:none}
  .user-link{font-size:.84rem;min-height:36px;padding:0 12px;max-width:47%}
  .catalog-section{max-width:500px;margin:0 auto;padding:25px 0 32px}
  .section-head h1{font-size:1.7rem}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-row{min-height:63px;align-items:flex-start;flex-wrap:wrap;padding-top:14px;padding-bottom:15px;gap:4px 17px}
  .footer-brand{padding:8px 0}
  .footer-links{gap:0 14px}
  .footer{margin-bottom:calc(63px + env(safe-area-inset-bottom,0px))}
  .mobile-nav{position:fixed;z-index:15;left:0;right:0;bottom:0;display:flex;align-items:stretch;justify-content:space-evenly;padding:3px 10px calc(3px + env(safe-area-inset-bottom,0px));min-height:58px;border-top:1px solid var(--line);background:var(--bg)}
  .mobile-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;flex:1;min-height:49px;font-size:.705rem;font-weight:600;color:var(--muted)}
  .mobile-nav .icon{width:19px;height:19px}
  .mobile-nav a[aria-current=page]{color:var(--accent)}
  .notice,.no-script{bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  .inner-page{padding:30px 0 42px}
}
@media(max-width:490px){
  .frame{padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px))}
  .section-head{gap:6px;margin-bottom:13px}
  .section-head h1{font-size:1.49rem}
  .filters{padding:2px;gap:0}
  .filters button{padding:5px 9px;min-height:30px;font-size:.77rem}
  .cards{gap:10px}
  .product-card{border-radius:13px}
  .product-type{font-size:.68rem}
  .overlay{padding:12px}
  .dialog{padding:23px 18px;border-radius:16px}
  .close{top:12px;right:12px}
  .panel{padding:17px}
  .order-row{padding:12px 10px;gap:9px}
  .order-row img{width:32px;height:32px}
}
@media(max-width:355px){
 .section-head{flex-wrap:wrap}
 .order-price{white-space:normal}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
