
body .module:has(+ .cpyh) > .container{border-bottom:1px solid var(--line);border-radius:0 0 var(--r) var(--r);padding-bottom:26px!important}
body .cpyh + .module > .container{border-top:1px solid var(--line);border-radius:var(--r) var(--r) 0 0;padding-top:20px!important}
body .cpyh + .module:last-of-type > .container{border-radius:var(--r)}
.cpyh{margin:28px 0;padding:0 var(--pad);font-family:inherit}
.cpyh__in{max-width:var(--wide);margin:0 auto}
.cpyh--pelit,.cpyh--studiot{padding:44px var(--pad)}
.cpyh--pelit{background:#191d24;color:#f3eee6}
.cpyh--studiot{background:var(--steel);color:#fff}
.cpyh a{text-decoration:none;color:inherit}
body .cpyh h2{margin:0;padding:0;border:0;font-size:28px;line-height:1.2;color:inherit;font-weight:700}
body .cpyh li{margin:0;padding:0;list-style:none}
body .cpyh ul,body .cpyh ol{margin:0;padding:0}
.cpyh__hd{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:10px}
.cpyh__k{margin:0 0 4px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--accent)}
.cpyh--pelit .cpyh__k{color:#e5a3b4}
.cpyh--studiot .cpyh__k{color:#bfe0ee}
.cpyh__lead{margin:0 0 22px;max-width:720px;color:var(--ink2);font-size:16px;line-height:1.5}
.cpyh--pelit .cpyh__lead{color:#c4c9d2}
body .cpyh a.cpyh__all{flex:none;font-weight:600;color:var(--accent);border-bottom:2px solid currentColor;padding:6px 0;min-height:32px;box-sizing:border-box}
body .cpyh--studiot a.cpyh__all{color:#fff}
.cpyh__tx{display:flex;flex-direction:column;gap:4px}
.cpyh__tx b{font-size:17px}
.cpyh__tx span,.cpyh-tiles li span:last-child,.cpyh-split li span,.cpyh-help span,.cpyh-guide li span{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cpyh__also{margin:22px 0 0;font-size:15px;line-height:2}
.cpyh__also span{font-weight:700;margin-right:4px}
.cpyh__also i{font-style:normal;opacity:.5;margin:0 4px}
body .cpyh .cpyh__also a{border-bottom:1px solid currentColor;padding:6px 0;color:var(--accent)}
.cpyh--pelit .cpyh__also a,.cpyh--studiot .cpyh__also a{color:#fff!important}
.cpyh-games{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cpyh-games a{display:block;position:relative;border-radius:var(--r);overflow:hidden;aspect-ratio:4/5;background:#000}
.cpyh-games img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.cpyh-games a:hover img{transform:scale(1.04)}
.cpyh-games .cpyh__tx{position:absolute;left:0;right:0;bottom:0;padding:60px 16px 16px;background:linear-gradient(transparent,rgba(10,12,16,.92) 45%);color:#fff}
.cpyh-games .cpyh__tx span{color:#d6d9df}
.cpyh-rc{max-width:var(--w);margin:0 auto;background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:26px 30px;box-shadow:var(--shadow);background-image:radial-gradient(circle at 10px 0,transparent 7px,var(--paper) 7.5px);background-size:20px 100%}
.cpyh--kassa .cpyh__hd,.cpyh--kassa .cpyh__lead{max-width:var(--w);margin-left:auto;margin-right:auto}
.cpyh-rc__top{margin:0 0 6px}
.cpyh-rc__top a{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:8px;background:var(--accent);color:#fff!important}
.cpyh-rc__top b{font-size:19px}
.cpyh-rc__top span{font-size:14px;opacity:.9}
.cpyh-rc li{border-bottom:1px dashed var(--line2)}
.cpyh-rc li a{display:grid;grid-template-columns:112px 1fr auto;gap:16px;align-items:center;padding:12px 0;min-height:40px}
.cpyh-rc__logo{display:flex;gap:4px}
.cpyh-rc__logo img{height:40px;width:auto;max-width:100%;border:1px solid var(--line);border-radius:6px;background:#fff}
.cpyh-rc__logo img+img{max-width:52px;object-fit:contain}
.cpyh-rc em{font-style:normal;font-family:ui-monospace,Consolas,monospace;font-size:13px;color:var(--ok);background:#e8f2ec;border-radius:4px;padding:4px 8px;white-space:nowrap}
.cpyh-rc li a:hover b{color:var(--accent)}
.cpyh-wall{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.22);border-radius:var(--r);overflow:hidden}
.cpyh-wall a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:118px;padding:12px;background:var(--steel);box-sizing:border-box}
.cpyh-wall img{max-height:34px;max-width:78%;width:auto;height:auto;object-fit:contain}
.cpyh-wall span{font-size:12px;letter-spacing:.06em;text-transform:uppercase;opacity:.75}
.cpyh-wall a:hover{background:#174b61}
.cpyh-mosaic{display:grid;grid-template-columns:1.3fr 1fr 1fr;grid-template-rows:220px 220px;gap:12px}
.cpyh-mosaic .cpyh-m0{grid-row:span 2}
.cpyh-mosaic a{display:block;position:relative;height:100%;border-radius:var(--r);overflow:hidden}
.cpyh-mosaic img{width:100%;height:100%;object-fit:cover;display:block}
.cpyh-mosaic .cpyh__tx{position:absolute;left:0;right:0;bottom:0;padding:40px 14px 12px;background:linear-gradient(transparent,rgba(10,12,16,.88) 50%);color:#fff}
.cpyh-mosaic .cpyh__tx span{-webkit-line-clamp:2;color:#e2e4e8}
.cpyh-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.cpyh-tiles a{display:flex;flex-direction:column;gap:8px;height:100%;padding:18px;border:1px solid var(--line);border-radius:var(--r);background:var(--paper);box-sizing:border-box}
.cpyh-tiles a:hover{border-color:var(--accent)}
.cpyh-tok{display:inline-flex;align-self:flex-start;align-items:center;justify-content:center;min-width:52px;height:52px;padding:0 10px;border-radius:50%;border:3px double var(--accent);color:var(--accent);font-weight:800;font-size:17px;box-sizing:border-box;white-space:nowrap}
.cpyh-tiles b{font-size:16px;color:var(--ink);overflow-wrap:anywhere;hyphens:auto}
.cpyh-tiles li span:last-child{color:var(--ink2)}
.cpyh-split{display:grid;grid-template-columns:5fr 7fr;gap:28px;align-items:stretch}
.cpyh-fig{margin:0;border-radius:var(--r);overflow:hidden}
.cpyh-fig img{width:100%;height:100%;object-fit:cover;display:block}
.cpyh-split ul{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;align-content:center}
.cpyh-split li{border-top:2px solid var(--ink)}
.cpyh-split a,.cpyh-guide li a{display:flex;flex-direction:column;gap:4px;padding:14px 0 18px}
.cpyh-split b,.cpyh-guide b{font-size:17px;color:var(--ink)}
.cpyh-split span,.cpyh-guide li span{color:var(--ink2)}
.cpyh-split a:hover b,.cpyh-guide a:hover b{color:var(--accent)}
.cpyh-help{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:var(--w);margin:0 auto!important}
.cpyh-help a{display:flex;flex-direction:column;gap:4px;padding:18px 20px;border-left:4px solid var(--steel);background:var(--paper2);border-radius:0 8px 8px 0;height:100%;box-sizing:border-box}
.cpyh-help .is-tel a{border-left-color:var(--ok);background:#e8f2ec}
.cpyh-help b{font-size:17px;color:var(--ink)}
.cpyh-help span{color:var(--ink2)}
.cpyh-guide{display:grid;grid-template-columns:7fr 5fr;gap:28px}
.cpyh-guide .cpyh-fig{order:2;max-height:520px}
.cpyh-guide ol{counter-reset:g}
.cpyh-guide ol li{counter-increment:g;display:grid;grid-template-columns:44px 1fr;border-bottom:1px solid var(--line)}
.cpyh-guide ol li::before{content:counter(g,decimal-leading-zero);font-weight:800;font-size:20px;color:var(--accent);padding-top:14px}
.cpyh-cred{margin-top:18px;font-size:12px;color:var(--ink2)}
.cpyh-cred summary{cursor:pointer;padding:8px 0;min-height:32px;box-sizing:border-box}
.cpyh-cred p{margin:4px 0 0;line-height:1.5}
body .module p.cpyh-jump{margin:16px 0 6px}
body .module .cpyh-jump a{display:inline-flex;align-items:center;min-height:44px;padding:11px 20px;border-radius:8px;background:var(--accent);color:#fff!important;font-weight:700;text-decoration:none;box-sizing:border-box}
body .module .cpyh-jump a:hover{background:var(--accent-d)}
#cpyv-top{scroll-margin-top:20px}
body .games-carousel-module .glide__track{overflow:visible!important}
body .games-carousel-module .glide__slides{display:grid!important;grid-template-columns:repeat(3,1fr);gap:14px;transform:none!important;width:auto!important;white-space:normal!important;padding:0!important;margin:10px 0!important}
body .games-carousel-module .glide__slide{width:auto!important;margin:0!important;padding:0!important;list-style:none}
body .games-carousel-module .glide__slide--clone,body .games-carousel-module .glide__arrows,body .games-carousel-module .glide__bullets{display:none!important}
body .games-carousel-module .card-game{display:flex;flex-direction:column;gap:8px;height:100%;padding:16px;border:1px solid var(--line);border-radius:var(--r);background:var(--paper2);box-sizing:border-box;overflow:visible}
body .games-carousel-module .card-game img{max-width:100%;height:auto;border-radius:8px}
body .games-carousel-module .card-game-title{font-size:17px;color:var(--ink)}
body .games-carousel-module .card-game-info{font-size:14px;color:var(--ink2)}
body .games-carousel-module .card-game a.btn{margin-top:auto;display:inline-flex;align-self:flex-start;align-items:center;min-height:40px;padding:8px 16px;border-radius:8px;background:var(--accent);color:#fff!important;font-weight:700;text-decoration:none;white-space:nowrap;width:auto!important;max-width:none!important;flex:none;box-sizing:border-box;text-shadow:none;box-shadow:none;border:0}
@media (max-width:900px){
.cpyh-games{grid-template-columns:repeat(2,1fr)}
.cpyh-wall{grid-template-columns:repeat(3,1fr)}
.cpyh-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
.cpyh-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:240px 180px 180px}
.cpyh-mosaic .cpyh-m0{grid-column:span 2;grid-row:auto}
.cpyh-split,.cpyh-guide{grid-template-columns:1fr}
.cpyh-split .cpyh-fig{max-height:320px}
.cpyh-guide .cpyh-fig{order:0;max-height:300px}
body .games-carousel-module .glide__slides{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:520px){
.cpyh{margin:20px 0}
.cpyh--pelit,.cpyh--studiot{padding:32px var(--pad)}
body .cpyh h2{font-size:23px}
.cpyh__hd{flex-direction:column;align-items:flex-start;gap:6px}
.cpyh-games{gap:10px}
.cpyh-games .cpyh__tx{padding:40px 10px 10px}
.cpyh-games .cpyh__tx b{font-size:15px}
.cpyh-games .cpyh__tx span{-webkit-line-clamp:2;font-size:13px}
.cpyh-rc{padding:18px 16px}
.cpyh-rc li a{grid-template-columns:80px 1fr;gap:10px}
.cpyh-rc em{grid-column:2;justify-self:start}
.cpyh-rc__logo img{height:32px}
.cpyh-wall{grid-template-columns:repeat(2,1fr)}
.cpyh-wall a{height:96px}
.cpyh-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
.cpyh-tiles li:last-child{grid-column:span 2}
.cpyh-tiles a{padding:14px}
.cpyh-mosaic{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:200px}
.cpyh-mosaic .cpyh-m0{grid-column:auto}
.cpyh-split ul,.cpyh-help{grid-template-columns:1fr}
body .games-carousel-module .glide__slides{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body .games-carousel-module .card-game{padding:12px}
}
