/* C3 (26.10.2026) · WIND GAME pages, owner screenshots: visual only. All rules in @layer wg-polish26 (first declared layer). */
@layer wg-polish26{
/* c3a · №15 one brand mark on every game page (emblem + WIND GAME, same as the side menu) */
@media (min-width:821px){
  html body a.c3-brand{display:inline-flex!important;align-items:center!important;gap:9px!important;flex:0 0 auto!important;
    width:auto!important;min-width:0!important;max-width:none!important;height:38px!important;margin:0 14px 0 0!important;padding:0!important;
    position:static!important;transform:none!important;opacity:1!important;visibility:visible!important;
    text-decoration:none!important;text-transform:none!important;color:#f4f1f7!important;background:none!important;border:0!important;box-shadow:none!important;
    font:800 16px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;letter-spacing:.01em!important;white-space:nowrap!important}
  html body a.c3-brand::before,html body a.c3-brand::after{content:none!important;display:none!important}
  html body a.c3-brand>img{display:block!important;width:32px!important;height:32px!important;flex:0 0 32px!important;margin:0!important;
    border:0!important;border-radius:0!important;background:none!important;filter:drop-shadow(0 2px 6px rgba(0,0,0,.45))}
  html body a.c3-brand>span{display:inline!important;color:inherit!important;font:inherit!important;letter-spacing:inherit!important}
  html body a.c3-brand>span>b{color:#ff4d6d!important;font-weight:800!important}
  html[data-theme="light"] body a.c3-brand{color:#17151c!important}
  html[data-theme="light"] body a.c3-brand>span>b{color:#d61f45!important}
  html body .mp-topbar>a.c3-brand+.mp-crumb{white-space:nowrap!important;flex:0 0 auto!important}
  html body a.c3-brand:focus-visible{outline:2px solid #ff4d6d!important;outline-offset:4px;border-radius:8px}
}
@media (max-width:820px){html body a.c3-brand.c3-added{display:none!important}}

/* c3b · №18 Slither: computer-mode icon (no emoji robot) and a calmer «Играть с компьютером» button */
html body .sb59-cpu>.c3-cpu-ico{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;flex:0 0 44px!important;
  font-size:0!important;line-height:0!important;border-radius:13px!important;color:currentColor;
  background:radial-gradient(120% 120% at 30% 20%,rgba(255,255,255,.14),rgba(255,255,255,.03) 60%)!important;border:1px solid rgba(255,255,255,.12)!important}
html body .sb59-cpu>.c3-cpu-ico>svg{width:30px!important;height:30px!important;max-width:none!important;display:block!important}
html body #cpu-open.cpu-cta{filter:saturate(.78) brightness(.8)!important;box-shadow:0 6px 16px -10px rgba(0,0,0,.7)!important;transition:filter .15s ease!important}
html body #cpu-open.cpu-cta:hover,html body #cpu-open.cpu-cta:focus-visible{filter:saturate(.9) brightness(.92)!important}
html body #cpu-open.cpu-cta .c3-cpu-mini{display:inline-block;width:18px;height:18px;vertical-align:-3px;margin-right:6px}
html body #cpu-open.cpu-cta .c3-cpu-mini>svg{width:18px!important;height:18px!important;display:block!important}
/* light theme: the dark snake banner kept dark text (unreadable) */
html[data-theme="light"] body .wc-snake-banner h2{color:#fff!important}
html[data-theme="light"] body .wc-snake-banner p{color:rgba(255,255,255,.78)!important}

/* c3c · №20 «Номера»: the close cross sits on the top-right corner of the gold frame of every window */
html body .pzg-ov>.pz-x.c3-pzx{position:absolute!important;z-index:30!important;width:38px!important;height:38px!important;margin:0!important;padding:0!important;
  display:grid!important;place-items:center!important;border-radius:50%!important;font:700 20px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;color:#2a1a04!important;
  background:radial-gradient(circle at 35% 30%,#fff3c4,#f4c95d 45%,#b9862a 100%)!important;border:2px solid #5b3d0e!important;
  box-shadow:0 0 0 2px rgba(255,226,140,.55),0 6px 16px rgba(0,0,0,.55)!important;cursor:pointer;transition:transform .12s ease}
html body .pzg-ov>.pz-x.c3-pzx:hover{transform:scale(1.07)}
html body .pzg-ov>.pz-x.c3-pzx:focus-visible{outline:3px solid #fff!important;outline-offset:2px}
html body .pzg-ov>.pz-x.c3-pzx[data-c3-off]{visibility:hidden!important}
html body .pzg-ov .pzg-ov-head{padding-right:12px!important}

/* c3d · №21 «Инвентарь номеров»: the page scrolls as a normal page (the one-screen game fit squeezed it to 100dvh,
   so the content ran under the footer and its Telegram block) */
html.wgf-plates-inventory body .mp-wrap{height:auto!important;min-height:100dvh!important}
html.wgf-plates-inventory body main#pinv-root{flex:1 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
html.wgf-plates-inventory body main#pinv-root .pinv-hist{max-height:none!important}
html.wgf-plates-inventory body .mp-footer{position:relative!important;z-index:1}
/* subtitle was cut to one line («…передай игроку и…») */
html.wgf-plates-inventory body .pinv-head p{-webkit-line-clamp:unset!important;line-clamp:none!important;display:block!important;overflow:visible!important;max-height:none!important;max-width:720px}

/* c3e · №22 «Кейсы номеров»: the case contents is its own widget under the game window (was squeezed at the bottom of
   the one-screen game box with an inner scroll) */
html body .c3-pzk-box{box-sizing:border-box;width:auto;margin:16px 24px 8px;padding:18px 20px 16px;border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015)),var(--wg-s1,#121116);
  border:1px solid rgba(232,195,111,.28);box-shadow:0 18px 40px -26px rgba(0,0,0,.85)}
html body .c3-pzk-box>.c3-pzk-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
html body .c3-pzk-box>.c3-pzk-head>h3.pzk-h{margin:0!important;font:800 18px/1.2 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;letter-spacing:.01em!important;text-transform:none!important;color:#f4ecd8!important}
html body .c3-pzk-box>.c3-pzk-head>span{font-size:12.5px;color:rgba(244,236,216,.62);white-space:nowrap}
html body .c3-pzk-box .pzk-items{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(188px,1fr))!important;gap:10px!important;max-height:none!important;overflow:visible!important;margin:0!important}
html body .c3-pzk-box>.pz-small{margin:12px 0 0!important;opacity:.75}
html[data-theme="light"] body .c3-pzk-box{background:#fff;border-color:rgba(160,120,40,.35)}
html[data-theme="light"] body .c3-pzk-box>.c3-pzk-head>h3.pzk-h{color:#2a2010!important}
html[data-theme="light"] body .c3-pzk-box>.c3-pzk-head>span{color:rgba(42,32,16,.6)}
@media (max-width:820px){html body .c3-pzk-box{margin:12px 12px 8px;padding:14px 12px}html body .c3-pzk-box .pzk-items{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
html.wgf-plates-cases body main#pz-root{height:auto!important;min-height:0!important;max-height:none!important}
html.wgf-plates-cases body #pzk-view{flex:none!important;overflow:visible!important;height:auto!important;max-height:none!important}
html.wgf-plates-cases body .mp-wrap{height:auto!important;min-height:100dvh!important}
html.wgf-plates-cases body main#pz-root{padding-bottom:6px!important}

/* c3f · №23 «Избранное»: the favourites view is only about your games: no catalog category bar under it, bigger cards
   with the stake range, the heart removes a game right here */
html body.mp-favorites-view .wg-cat-tabs{display:none!important}
html body.mp-favorites-view .mp-favorites-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;gap:12px!important}
html body.mp-favorites-view .mp-favorites-list>.mp-shortcut{display:grid!important;grid-template-columns:64px minmax(0,1fr) 34px!important;grid-template-rows:auto auto!important;
  align-items:center!important;column-gap:12px!important;row-gap:3px!important;min-height:84px!important;padding:10px 10px 10px 10px!important;width:auto!important;height:auto!important}
html body.mp-favorites-view .mp-favorites-list>.mp-shortcut>.mp-shortcut-cover{grid-row:1/3!important;grid-column:1!important;width:64px!important;height:64px!important;border-radius:14px!important;object-fit:cover}
html body.mp-favorites-view .mp-favorites-list>.mp-shortcut>.mp-shortcut-title{grid-column:2!important;grid-row:1!important;align-self:end!important;font-size:15px!important;font-weight:800!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.mp-favorites-view .mp-favorites-list>.mp-shortcut>.c3-fav-meta{grid-column:2;grid-row:2;align-self:start;font-size:12px;font-weight:600;opacity:.72;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.mp-favorites-view .mp-favorites-list>.mp-shortcut>svg{grid-column:3!important;grid-row:1/3!important;width:34px!important;height:34px!important;padding:7px!important;border-radius:50%!important;cursor:pointer;
  box-sizing:border-box;transition:background .15s ease,transform .15s ease}
html body.mp-favorites-view #favorites-list>.mp-shortcut>svg:hover{background:rgba(255,77,109,.16);transform:scale(1.08)}
html body.mp-favorites-view .mp-favorites-list>.mp-shortcut>.c3-fav-play{display:none}
@media (max-width:820px){html body.mp-favorites-view .mp-favorites-list{grid-template-columns:1fr!important}}
html body:not(.mp-favorites-view) .mp-shortcut>.c3-fav-meta{display:none!important}

/* c3g · №24 «Топ проекта»: the live status is one tidy pill (fixed-width digits, nothing cut or jumping) */
html body .rk-live{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px 10px!important;width:max-content!important;max-width:100%!important;
  box-sizing:border-box;padding:6px 6px 6px 14px!important;border-radius:999px!important;background:rgba(255,255,255,.04)!important;border:1px solid rgba(255,255,255,.09)!important}
html body .rk-live .rk-live-dot{white-space:nowrap!important;overflow:visible!important;max-width:none!important;width:auto!important;flex:0 0 auto!important;font-variant-numeric:tabular-nums!important;background:none!important;padding:0!important}
html body .rk-live [data-rk-live-sub]{white-space:nowrap!important;flex:0 0 auto;font-variant-numeric:tabular-nums!important;opacity:.72}
html body .rk-live .rk-refresh{margin:0 0 0 2px!important;border-radius:999px!important}
html[data-theme="light"] body .rk-live{background:rgba(0,0,0,.035)!important;border-color:rgba(0,0,0,.1)!important}
/* c3g · №25 share card of the leaderboard: it now carries the top 3 and your place */
.wind-share-dialog .c3-rk-top{list-style:none!important;margin:14px 0 0!important;padding:0!important;display:grid!important;gap:8px!important}
.wind-share-dialog .c3-rk-top li{display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:8px 12px!important;border-radius:12px!important;background:rgba(255,255,255,.06)!important;font-weight:700!important}
.wind-share-dialog .c3-rk-top li>i{font-style:normal!important;width:28px!important;height:28px!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:13px!important;font-weight:900!important;color:#1d1406!important;background:linear-gradient(180deg,#ffe28a,#d9a43a)!important}
.wind-share-dialog .c3-rk-top li:nth-child(2)>i{background:linear-gradient(180deg,#f2f4f8,#a9b0bd)!important}
.wind-share-dialog .c3-rk-top li:nth-child(3)>i{background:linear-gradient(180deg,#f3c39b,#b8743f)!important}
.wind-share-dialog .c3-rk-top li>span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.wind-share-dialog .c3-rk-top li>b{color:#e8c36f!important;white-space:nowrap!important}
.wind-share-dialog .c3-rk-me{margin:12px 0 0!important;padding:8px 12px!important;border-radius:12px!important;border:1px dashed rgba(232,195,111,.45)!important;font-weight:700!important}
.wind-share-dialog .ws-preview h2{color:#fff!important}
.wind-share-dialog .ws-preview .c3-rk-top li>span,.wind-share-dialog .ws-preview .c3-rk-me{color:#f4eff7!important}
.wind-share-dialog .ws-preview small{color:#e8c36f!important}

/* c3h · №26 Реферальная программа → «Обзор»: the partner links block is tidy: three neutral link tiles, one gold
   «Поделиться», and the long list of every mirror and bot folded under «Все ссылки» */
html body .hd1-pack{border-radius:18px!important}
html body .hd1-pack>summary{font-size:16px!important}
html body .hd1-pack .hd1-in{gap:14px!important}
html body .hd1-pack .hd1-quick{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html body .hd1-pack .hd1-quick>.hd1-all{min-height:52px!important;padding:10px 14px!important;border-radius:14px!important;text-align:left!important;white-space:normal!important;line-height:1.25!important;
  font-size:13px!important;font-weight:700!important;color:inherit!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;transition:border-color .15s ease,background .15s ease}
html body .hd1-pack .hd1-quick>.hd1-all:hover{background:rgba(255,255,255,.08)!important;border-color:rgba(232,195,111,.55)!important}
html body .hd1-pack .hd1-quick>.hd1-all.hd1-share{grid-column:span 2!important;text-align:center!important;color:#2a1a04!important;background:linear-gradient(180deg,#ffe28a,#e3ad3f)!important;border-color:transparent!important}
html body .hd1-pack .hd1-quick>.hd1-all.hd1-share:hover{filter:brightness(1.05)}
html body .hd1-pack .hd1-all.is-done,html body .hd1-pack .hd1-row button.is-done{background:#16a34a!important;color:#fff!important;border-color:transparent!important}
html body .hd1-pack .c3-hd1-more{border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(0,0,0,.12)}
html body .hd1-pack .c3-hd1-more>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;padding:12px 14px;font-weight:700;font-size:14px}
html body .hd1-pack .c3-hd1-more>summary::-webkit-details-marker{display:none}
html body .hd1-pack .c3-hd1-more>summary::after{content:'▾';margin-left:auto;opacity:.6}
html body .hd1-pack .c3-hd1-more[open]>summary::after{content:'▴'}
html body .hd1-pack .c3-hd1-more>summary small{font-weight:600;opacity:.65}
html body .hd1-pack .c3-hd1-more>.c3-hd1-list{display:grid;gap:8px;padding:0 14px 14px}
html body .hd1-pack .hd1-row input{font-size:12.5px!important;padding:8px 10px!important;border-radius:10px!important}
html body .hd1-pack .hd1-row button{color:inherit!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important}
html body .hd1-pack .c3-hd1-list>.hd1-all{justify-self:start;color:inherit!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important}
html[data-theme="light"] body .hd1-pack .hd1-quick>.hd1-all:not(.hd1-share),html[data-theme="light"] body .hd1-pack .hd1-row button,html[data-theme="light"] body .hd1-pack .c3-hd1-list>.hd1-all{background:rgba(0,0,0,.04)!important;border-color:rgba(0,0,0,.12)!important}
html[data-theme="light"] body .hd1-pack .c3-hd1-more{background:rgba(0,0,0,.025);border-color:rgba(0,0,0,.1)}
@media (max-width:820px){html body .hd1-pack .hd1-quick{grid-template-columns:1fr!important}html body .hd1-pack .hd1-quick>.hd1-all.hd1-share{grid-column:auto!important}}
html body .hd1-pack .hd1-links{display:grid!important;gap:10px!important}
html body .hd1-pack .hd1-links>.hd1-note{margin-top:2px}
/* the referral page scrolls as one page (the inner 557 px scroll box cut the overview in half above the footer) */
html body.c3-rp-flow main.wws-main{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important}
html body.c3-rp-flow main.wws-main .wws-content{height:auto!important;max-height:none!important;overflow:visible!important;flex:none!important}
html body.c3-rp-flow .mp-wrap{height:auto!important;min-height:100dvh!important}
html body.c3-rp-flow main.wws-main>.mp-detail-lead{transform:none!important}
html[data-theme="light"] body .hd1-pack{background:#fff!important;border-color:rgba(0,0,0,.1)!important;color:#1d1a22!important}
html[data-theme="light"] body .hd1-pack .hd1-row input,html[data-theme="light"] body .hd1-pack .hd1-top select{background:#faf8fb!important;color:#1d1a22!important;border-color:rgba(0,0,0,.14)!important}
html[data-theme="light"] body .hd1-pack .hd1-quick>.hd1-all:not(.hd1-share){color:#1d1a22!important}
html body .hd1-pack .c3-hd1-more>summary,html body .hd1-pack .c3-hd1-more>summary *{color:#f4eff7!important;-webkit-text-fill-color:currentColor!important;background:none!important}
html[data-theme="light"] body .hd1-pack .c3-hd1-more>summary,html[data-theme="light"] body .hd1-pack .c3-hd1-more>summary *{color:#1d1a22!important}
html body .hd1-pack .c3-hd1-more>summary{border-radius:14px!important;box-shadow:none!important;border:0!important}
html body .hd1-pack .c3-hd1-more{border:1px solid rgba(255,255,255,.1)!important;box-shadow:none!important;background-image:none!important}
html[data-theme="light"] body .hd1-pack .c3-hd1-more{border-color:rgba(0,0,0,.1)!important}

/* c3i · №27 «Сообщество» → «Чат игроков»: one chat window that fits the screen: messages scroll inside, the input line is
   always visible at the bottom (was ~1 000 px further down inside a second scroll box); no «Свернуть общий чат» toggle and
   no «Последние сообщения / Обновить» header (the chat refreshes itself); name line compact. W transfers stay below the chat. */
html body.c3-chatfit main.wg-hub>.mp-kicker,html body.c3-chatfit main.wg-hub>.mp-detail-lead{display:none!important}
html body.c3-chatfit #inline-chat>summary{display:none!important}
html body.c3-chatfit #inline-chat .wg-c-chat>.wg-c-head{display:none!important}
html body.c3-chatfit #inline-chat .wg-inline-help-body,html body.c3-chatfit #inline-chat .wg-com-ui{padding-top:0!important;margin-top:0!important}
html body.c3-chatfit #inline-chat section.wg-c-chat{padding-top:10px!important;gap:12px!important}
html body.c3-chatfit #inline-chat .wg-c-chat2{flex:0 0 auto!important;height:var(--c3-chat-h,560px)!important;min-height:380px!important;max-height:none!important;display:flex!important;flex-direction:column!important}
html body.c3-chatfit #inline-chat .wg-c-chat2>.wgc-listwrap{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important}
html body.c3-chatfit #inline-chat .wg-c-chat2>.wgc-listwrap{display:flex!important;flex-direction:column!important;overflow:hidden!important}
html body.c3-chatfit #inline-chat .wg-c-chat2>.wgc-listwrap>.wgc-list{flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important}
html body.c3-chatfit #inline-chat .wg-c-chat2>.wgc-dock .wg-c-name-bar{min-height:0!important;padding:4px 10px!important;margin:4px 0 0!important;font-size:12.5px!important;background:none!important;border:0!important}
html body.c3-chatfit #inline-chat .wg-c-chat2>.wgc-dock .wg-c-name-bar .wg-c-text-button{min-height:28px!important;padding:2px 8px!important;font-size:12.5px!important}
html body.c3-chatfit #inline-chat .wg-c-chat2>.wgc-top .wgr.wgr-full{min-height:0!important}
html body.c3-chatfit #inline-chat .wg-c-chat2>.wgc-composer{position:relative!important;z-index:2}

}
