/* UH1 (26.10.2026) · WIND GAME unified header + icons (executor H). Visual only: no stakes, payouts or balance logic.
   UH1d (26.10, owner): the ☰ / side-menu / bottom-bar / Mini App menu keep their own 3D icons (v9, ui5 21.10) — no overrides here.
   One icon set (src/icons.py → --uhi-* masks, colour = currentColor), one button: 40 px, radius 12, same border, same states.
   build.py puts the rules into @layer wgfix44 AND @layer wg-polish26 (whichever the page declares first wins for !important:
   wgfix44 on most pages, wg-polish26 on the arena pages); selectors carry html:not(#uh-a):not(#uh-b) to win inside the layer. Source: /root/projects/wind-game/unified-header-2026-10-26/src */
:root{--uhi-menu:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 7h16M4 12h16M4 17h16%22/%3E%3C/svg%3E");--uhi-close:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 6l12 12M18 6 6 18%22/%3E%3C/svg%3E");--uhi-back:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14.5 5.5 8 12l6.5 6.5%22/%3E%3C/svg%3E");--uhi-plus:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 5v14M5 12h14%22/%3E%3C/svg%3E");--uhi-bell:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6.2 10a5.8 5.8 0 0 1 11.6 0v3.6l1.7 2.6a.7.7 0 0 1-.6 1.1H5.1a.7.7 0 0 1-.6-1.1l1.7-2.6z%22/%3E%3Cpath d=%22M10 20.2a2.3 2.3 0 0 0 4 0%22/%3E%3C/svg%3E");--uhi-sun:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224%22/%3E%3Cpath d=%22M12 2.8v1.9M12 19.3v1.9M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2.8 12h1.9M19.3 12h1.9M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4%22/%3E%3C/svg%3E");--uhi-moon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M19.6 14.6A8 8 0 1 1 9.4 4.4a6.4 6.4 0 0 0 10.2 10.2z%22/%3E%3C/svg%3E");--uhi-sound:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 9.5h3.2L12 5.6v12.8l-4.8-3.9H4z%22/%3E%3Cpath d=%22M15.6 9.2a4 4 0 0 1 0 5.6M18.2 6.6a7.6 7.6 0 0 1 0 10.8%22/%3E%3C/svg%3E");--uhi-mute:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 9.5h3.2L12 5.6v12.8l-4.8-3.9H4z%22/%3E%3Cpath d=%22M15.8 9.6l4.8 4.8M20.6 9.6l-4.8 4.8%22/%3E%3C/svg%3E");--uhi-globe:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%228.6%22/%3E%3Cpath d=%22M3.6 12h16.8M12 3.4c2.4 2.4 3.6 5.3 3.6 8.6s-1.2 6.2-3.6 8.6c-2.4-2.4-3.6-5.3-3.6-8.6S9.6 5.8 12 3.4z%22/%3E%3C/svg%3E");--uhi-telegram:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20.6 4.6 3.7 11.1c-.8.3-.8 1 0 1.3l4.1 1.4 1.6 4.9c.2.6.9.8 1.4.4l2.3-1.9 4.3 3.1c.6.4 1.3.1 1.5-.6l2.9-12.4c.2-.9-.5-1.5-1.2-1.2z%22/%3E%3Cpath d=%22m7.8 13.8 9-6.1-6.6 7.4%22/%3E%3C/svg%3E");--uhi-wallet:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M17.5 7.5V5.8a1.3 1.3 0 0 0-1.6-1.3L5.2 7.1A1.6 1.6 0 0 0 4 8.6%22/%3E%3Crect x=%224%22 y=%227.5%22 width=%2216%22 height=%2212%22 rx=%222.4%22/%3E%3Cpath d=%22M15.5 13.5h1.6%22/%3E%3C/svg%3E");--uhi-history:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.2 12a7.8 7.8 0 1 0 2.3-5.5%22/%3E%3Cpath d=%22M4 4.4v3.9h3.9%22/%3E%3Cpath d=%22M12 8.2v4.2l2.8 1.8%22/%3E%3C/svg%3E");--uhi-settings:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 7h9M17 7h3M4 17h3M11 17h9%22/%3E%3Ccircle cx=%2215%22 cy=%227%22 r=%222.2%22/%3E%3Ccircle cx=%229%22 cy=%2217%22 r=%222.2%22/%3E%3C/svg%3E");--uhi-full:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.5 9V4.5H9M15 4.5h4.5V9M19.5 15v4.5H15M9 19.5H4.5V15%22/%3E%3C/svg%3E");--uhi-info:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%228.6%22/%3E%3Cpath d=%22M12 11v5.2%22/%3E%3Cpath d=%22M12 7.7h.01%22 stroke-width=%222.6%22/%3E%3C/svg%3E");--uhi-more:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 12h.01M12 12h.01M18 12h.01%22 stroke-width=%223%22/%3E%3C/svg%3E");--uhi-spark:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3.5l1.9 5.2 5.2 1.9-5.2 1.9-1.9 5.2-1.9-5.2-5.2-1.9 5.2-1.9z%22/%3E%3Cpath d=%22M18.5 16.5l.7 1.8 1.8.7-1.8.7-.7 1.8-.7-1.8-1.8-.7 1.8-.7z%22/%3E%3C/svg%3E");--uhi-chat:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5.2 5h13.6c.9 0 1.7.8 1.7 1.7v8.1c0 .9-.8 1.7-1.7 1.7H11l-4.6 3.4v-3.4H5.2c-.9 0-1.7-.8-1.7-1.7V6.7C3.5 5.8 4.3 5 5.2 5z%22/%3E%3Cpath d=%22M8 10.8h.01M12 10.8h.01M16 10.8h.01%22 stroke-width=%222.4%22/%3E%3C/svg%3E");--uhi-games:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7.6 7.5h8.8a4.6 4.6 0 0 1 4.5 5.5l-.8 4a2.2 2.2 0 0 1-3.9.9l-1.6-2.1H9.4l-1.6 2.1a2.2 2.2 0 0 1-3.9-.9l-.8-4a4.6 4.6 0 0 1 4.5-5.5z%22/%3E%3Cpath d=%22M8 10.4v3.2M6.4 12h3.2%22/%3E%3Cpath d=%22M15.4 11.2h.01M17.4 13h.01%22 stroke-width=%222.4%22/%3E%3C/svg%3E");--uhi-favorites:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 19.6s-7.6-4.5-7.6-10.1a4.2 4.2 0 0 1 7.6-2.5 4.2 4.2 0 0 1 7.6 2.5c0 5.6-7.6 10.1-7.6 10.1z%22/%3E%3C/svg%3E");--uhi-rankings:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 20h17%22/%3E%3Cpath d=%22M9.3 20v-8.5h5.4V20M4.3 20v-5h5M14.7 20v-3.2h5V20%22/%3E%3Cpath d=%22M12 3.6l1 2 2.2.3-1.6 1.5.4 2.2-2-1-2 1 .4-2.2-1.6-1.5 2.2-.3z%22/%3E%3C/svg%3E");--uhi-tournaments:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 4h8v5.2a4 4 0 0 1-8 0z%22/%3E%3Cpath d=%22M8 6H4.6v1.4A3.6 3.6 0 0 0 8.2 11M16 6h3.4v1.4a3.6 3.6 0 0 1-3.6 3.6%22/%3E%3Cpath d=%22M12 13.2v3.6M8.5 20h7M9.6 16.8h4.8V20H9.6z%22/%3E%3C/svg%3E");--uhi-battlepass:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 6.2c0-.7.5-1.2 1.2-1.2h13.6c.7 0 1.2.5 1.2 1.2v3a2.8 2.8 0 0 0 0 5.6v3c0 .7-.5 1.2-1.2 1.2H5.2c-.7 0-1.2-.5-1.2-1.2v-3a2.8 2.8 0 0 0 0-5.6z%22/%3E%3Cpath d=%22M9 9.2l3 2 3-2M9 12.8l3 2 3-2%22/%3E%3C/svg%3E");--uhi-bonuses:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223.8%22 y=%228.6%22 width=%2216.4%22 height=%224%22 rx=%221%22/%3E%3Cpath d=%22M5.4 12.6v6.2c0 .6.5 1.2 1.2 1.2h10.8c.7 0 1.2-.6 1.2-1.2v-6.2M12 8.6V20%22/%3E%3Cpath d=%22M12 8.6S10.6 4.2 8.2 4.6c-1.9.3-1.8 3.3.4 3.9 1.3.3 3.4.1 3.4.1zM12 8.6s1.4-4.4 3.8-4c1.9.3 1.8 3.3-.4 3.9-1.3.3-3.4.1-3.4.1z%22/%3E%3C/svg%3E");--uhi-referrals:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%229.5%22 cy=%228.3%22 r=%223.3%22/%3E%3Cpath d=%22M3.6 19.4a5.9 5.9 0 0 1 11.8 0%22/%3E%3Cpath d=%22M18.6 8.2v6M15.6 11.2h6%22/%3E%3C/svg%3E");--uhi-community:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.8 4.6h9.4c.9 0 1.6.7 1.6 1.6v5.6c0 .9-.7 1.6-1.6 1.6H9.4l-3.5 2.7v-2.7H4.8c-.9 0-1.6-.7-1.6-1.6V6.2c0-.9.7-1.6 1.6-1.6z%22/%3E%3Cpath d=%22M18.4 9.4h.8c.9 0 1.6.7 1.6 1.6v5.6c0 .9-.7 1.6-1.6 1.6h-1.1V21l-3.5-2.8h-3.9c-.9 0-1.6-.7-1.6-1.6v-.3%22/%3E%3C/svg%3E");--uhi-profile:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228.4%22 r=%223.9%22/%3E%3Cpath d=%22M4.6 20a7.4 7.4 0 0 1 14.8 0%22/%3E%3C/svg%3E");--uhi-support:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.6 13.2v-1.4a7.4 7.4 0 0 1 14.8 0v1.4%22/%3E%3Cpath d=%22M4.6 13.2h2.9v5.2H6.1c-.8 0-1.5-.7-1.5-1.5zM19.4 13.2h-2.9v5.2h1.4c.8 0 1.5-.7 1.5-1.5z%22/%3E%3Cpath d=%22M16.5 18.4c0 1.4-1.6 2.2-3.9 2.2%22/%3E%3C/svg%3E");--uhi-rules:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 5.6c0-.9.7-1.6 1.6-1.6h10.8c.9 0 1.6.7 1.6 1.6v14.4H7.6A2.6 2.6 0 0 1 5 17.4z%22/%3E%3Cpath d=%22M5 17.4a2.6 2.6 0 0 1 2.6-2.6H19%22/%3E%3Cpath d=%22M9 8.2h6M9 11.2h4%22/%3E%3C/svg%3E");--uhi-home:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 11.2 12 4.6l8 6.6%22/%3E%3Cpath d=%22M6.2 9.6V19c0 .6.4 1 1 1h9.6c.6 0 1-.4 1-1V9.6%22/%3E%3Cpath d=%22M10 20v-5h4v5%22/%3E%3C/svg%3E");--uhi-cashier:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cellipse cx=%229.5%22 cy=%227.4%22 rx=%225.5%22 ry=%222.6%22/%3E%3Cpath d=%22M4 7.4v3.4c0 1.4 2.5 2.6 5.5 2.6s5.5-1.2 5.5-2.6V7.4%22/%3E%3Cpath d=%22M4 10.8v3.4c0 1.4 2.5 2.6 5.5 2.6 1 0 1.9-.1 2.7-.4%22/%3E%3Ccircle cx=%2217%22 cy=%2215.6%22 r=%224%22/%3E%3Cpath d=%22M17 13.8v3.6%22/%3E%3C/svg%3E");--uhi-catalog:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%224%22 width=%226.6%22 height=%226.6%22 rx=%221.6%22/%3E%3Crect x=%2213.4%22 y=%224%22 width=%226.6%22 height=%226.6%22 rx=%221.6%22/%3E%3Crect x=%224%22 y=%2213.4%22 width=%226.6%22 height=%226.6%22 rx=%221.6%22/%3E%3Crect x=%2213.4%22 y=%2213.4%22 width=%226.6%22 height=%226.6%22 rx=%221.6%22/%3E%3C/svg%3E");--uhi-payments:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223.6%22 y=%225.6%22 width=%2216.8%22 height=%2212.8%22 rx=%222.2%22/%3E%3Cpath d=%22M3.6 9.6h16.8M7.2 14.6h3.6%22/%3E%3C/svg%3E");--uhi-team:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%229%22 cy=%228.6%22 r=%223.2%22/%3E%3Cpath d=%22M3.4 19.4a5.6 5.6 0 0 1 11.2 0%22/%3E%3Cpath d=%22M15.4 5.6a3.2 3.2 0 0 1 0 6.1M17.6 14.3a5.6 5.6 0 0 1 3 5.1%22/%3E%3C/svg%3E");--uhi-shield:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3.6 5 6.3v5.3c0 4.4 3 7.6 7 8.8 4-1.2 7-4.4 7-8.8V6.3z%22/%3E%3Cpath d=%22m9 12 2.2 2.2L15.4 10%22/%3E%3C/svg%3E")}

:root{--uh-ink:#f1e6cc;--uh-gold:#f3d58a;--uh-gold2:#d4a64a;--uh-ruby:#e11d48;--uh-ruby2:#b3122e;--uh-wine:#5a0814;
  --uh-btn:linear-gradient(180deg,#29252d,#1d1a21);--uh-bd:rgba(255,255,255,.11);--uh-bd-h:rgba(243,213,138,.5);
  --uh-bar:linear-gradient(180deg,rgba(28,13,19,.98),rgba(17,14,20,.97));--uh-bar-line:rgba(225,29,72,.30)}
@layer wgfix44{

/* ---------- one icon primitive: span.uh-i / ::before with --uh-i ---------- */
html:not(#uh-a):not(#uh-b) .uh-i{display:inline-block!important;flex:none!important;width:20px!important;height:20px!important;background:currentColor!important;
  -webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}

/* ---------- header buttons: ☰, bell, sound, theme, language, + (every page, every width) ---------- */
html:not(#uh-a):not(#uh-b) body :is(#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,#wg-header-controls>a.mp-account-link,#wg-header-controls>a.p23-payments-quick){
  position:relative!important;display:inline-grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;
  padding:0!important;margin:0!important;border-radius:12px!important;border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 8px rgba(0,0,0,.25)!important;font-size:0!important;line-height:0!important;text-indent:0!important;overflow:visible!important;cursor:pointer!important;
  transition:border-color .15s,color .15s,background .15s!important;transform:none!important;opacity:1!important;filter:none!important;text-decoration:none!important}
html:not(#uh-a):not(#uh-b) body :is(#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,#wg-header-controls>a.mp-account-link,#wg-header-controls>a.p23-payments-quick)>*{display:none!important}
html:not(#uh-a):not(#uh-b) body :is(#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-account-link,#wg-header-controls>a.p23-payments-quick)::before{
  content:""!important;display:block!important;position:static!important;width:20px!important;height:20px!important;background:currentColor!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;
  -webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b) body :is(#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,#wg-header-controls>a.mp-account-link,#wg-header-controls>a.p23-payments-quick)::after{content:none!important;display:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.pe-btn.pe-bell{--uh-i:var(--uhi-bell)}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-account-link{--uh-i:var(--uhi-profile)}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.p23-payments-quick{--uh-i:var(--uhi-payments)}
html:not(#uh-a):not(#uh-b) body #wg-header-controls .wg-snd-btn{--uh-i:var(--uhi-sound)}
html:not(#uh-a):not(#uh-b)[data-uh-snd="off"] body #wg-header-controls .wg-snd-btn{--uh-i:var(--uhi-mute);color:#ff8fa3!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>:is(button.wgt-theme,button.mp-theme-toggle){--uh-i:var(--uhi-sun)}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body #wg-header-controls>:is(button.wgt-theme,button.mp-theme-toggle){--uh-i:var(--uhi-moon)}
html:not(#uh-a):not(#uh-b) body #wg-header-controls .wg-snd{flex:0 0 40px!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important}
/* language: a code, not a word («RU» / «EN», the current one; click switches) */
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-lang::before{content:"RU"!important;display:grid!important;place-items:center!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;background:none!important;-webkit-mask:none!important;mask:none!important;
  font:800 13px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;letter-spacing:.04em!important;color:currentColor!important}
html:not(#uh-a):not(#uh-b)[data-uh-lang="en"] body #wg-header-controls>a.mp-lang::before{content:"EN"!important}
/* hover / focus / pressed: gold edge, the same everywhere */
@media (hover:hover){html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle,#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,.uh-quick .uh-u):hover{border-color:var(--uh-bd-h)!important;color:var(--uh-gold)!important}}
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle,#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,.uh-plus,.uh-quick button,a.uh-logo):focus-visible{outline:2px solid var(--uh-gold)!important;outline-offset:2px!important}
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle,#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,.uh-plus,.uh-quick button):active{transform:translateY(1px)!important}

/* anything the site hides (hidden attribute) stays hidden, whatever the button rules above say */
html:not(#uh-a):not(#uh-b) body #wg-header-controls#wg-header-controls>[hidden]:not(#uh-c){display:none!important}

/* bell: unread payments/reminders = ruby badge with a ring (the bell itself stays the same button) */
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.pe-btn.pe-bell::after{content:""!important;display:none!important;position:absolute!important;top:-3px!important;right:-3px!important;left:auto!important;bottom:auto!important;width:12px!important;height:12px!important;
  border-radius:50%!important;background:radial-gradient(circle at 35% 35%,#ff6b86,#e11d48 60%,#b3122e)!important;box-shadow:0 0 0 2px #17121a,0 0 10px rgba(225,29,72,.7)!important;-webkit-mask:none!important;mask:none!important;transform:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.pe-btn.pe-bell.pe-unread::after{display:block!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.pe-btn.pe-bell.pe-unread{color:var(--uh-gold)!important;border-color:rgba(225,29,72,.55)!important}

/* balance chip + «+» deposit as one segmented control [avatar 151,06 | +] */
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined{height:40px!important;min-height:40px!important;box-sizing:border-box!important;border-radius:12px!important;
  border:1px solid rgba(243,213,138,.30)!important;background:var(--uh-btn)!important;color:var(--uh-gold)!important;font:800 14px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;font-variant-numeric:tabular-nums!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 8px rgba(0,0,0,.25)!important;text-shadow:none!important;letter-spacing:0!important}
html:not(#uh-a):not(#uh-b).uh-dep-on body #wg-header-controls>a.mp-wallet-chip.wg-account-combined:not([hidden]){border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right-width:0!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{display:none!important}
html:not(#uh-a):not(#uh-b).uh-dep-on body #wg-header-controls>a.mp-wallet-chip:not([hidden])+button.uh-plus{display:inline-flex!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{--uh-i:var(--uhi-plus);align-items:center!important;justify-content:center!important;gap:6px!important;flex:0 0 auto!important;height:40px!important;min-width:40px!important;margin:0 0 0 -8px!important;padding:0 10px!important;
  border:0!important;border-radius:0 12px 12px 0!important;background:linear-gradient(180deg,#f7dc93,#d4a64a)!important;color:#3a1208!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 4px 14px rgba(212,166,74,.28)!important;
  font:800 14px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;cursor:pointer!important;white-space:nowrap!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus>.uh-i{width:20px!important;height:20px!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus>.uh-lbl{display:none!important}
html:not(#uh-a):not(#uh-b).uh-dep-on body #wg-header-controls>:is(span.dp-top,a.p23-deposit-quick){display:none!important}

/* the header bar itself: brand palette in BOTH themes (light theme no longer a white/pink strip) */
html:not(#uh-a):not(#uh-b) body :is(div.mp-topbar,header.wgt-header.wg-shell-header){background:var(--uh-bar)!important;border-bottom:1px solid var(--uh-bar-line)!important;box-shadow:0 1px 0 rgba(243,213,138,.06),0 10px 24px rgba(0,0,0,.28)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body :is(div.mp-topbar,header.wgt-header.wg-shell-header){color:#f7efe6!important;box-shadow:0 1px 0 rgba(243,213,138,.10),0 8px 20px rgba(60,10,20,.18)!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body header.wgt-header.wg-shell-header :is(a.c3-brand,a.brand) span{color:#f7efe6!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body header.wgt-header.wg-shell-header nav.wg-crumbs{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.10)!important;color:#f7efe6!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body header.wgt-header.wg-shell-header nav.wg-crumbs :is(a,b){color:#f7efe6!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body header.wgt-header.wg-shell-header nav.wg-crumbs a{background:rgba(255,255,255,.08)!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body :is(div.mp-topbar,header.wgt-header) .wg-live-dashboard{background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.10)!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body header.wgt-header.wg-shell-header :is(.top-actions>.pill,.topbar-right .pill){background:rgba(255,255,255,.06)!important;border-color:rgba(243,213,138,.30)!important;color:#f3d58a!important;box-shadow:none!important}
/* Telegram chip: same button, readable in both themes (light theme had dark ruby text on ruby) */
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip{--uh-i:var(--uhi-telegram);height:40px!important;min-height:40px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;gap:8px!important;padding:0 14px 0 11px!important;border-radius:12px!important;
  border:1px solid rgba(243,213,138,.38)!important;background:linear-gradient(180deg,#3a1520,#24101a)!important;color:#fff1cf!important;font:700 13px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;text-shadow:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip>svg{display:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip::before{content:""!important;display:block!important;width:19px!important;height:19px!important;flex:none!important;background:#5fb8ff!important;-webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip>span{color:inherit!important;font:inherit!important}
/* guest «Войти» = the same gold as «+» */
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.wg46-login{height:40px!important;min-height:40px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;padding:0 16px!important;border-radius:12px!important;border:0!important;
  background:linear-gradient(180deg,#f7dc93,#d4a64a)!important;color:#3a1208!important;font:800 14px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)!important;text-decoration:none!important}

/* «Все игры» in the game header duplicated «‹ Игры» (crumbs, desktop) and «Игры» (☰ menu, phones) */
html:not(#uh-a):not(#uh-b) body header.wgt-header.wg-shell-header>nav.uh-dup-all{display:none!important}

/* logo in the phone header (injected a.uh-logo; desktop keeps the sidebar / C3 brand) */
html:not(#uh-a):not(#uh-b) body a.uh-logo{display:none!important}


@media (max-width:820px){
/* drawer «×» = the same button with the line icon */
html:not(#uh-a):not(#uh-b) body button.wg-shell-close{--uh-i:var(--uhi-close);position:relative!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border-radius:12px!important;
  border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;font-size:0!important;line-height:0!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;outline-offset:2px!important}
html:not(#uh-a):not(#uh-b) body button.wg-shell-close>*{display:none!important}
html:not(#uh-a):not(#uh-b) body button.wg-shell-close::before{content:""!important;display:block!important;position:static!important;width:20px!important;height:20px!important;background:currentColor!important;border:0!important;box-shadow:none!important;transform:none!important;-webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b) body button.wg-shell-close::after{content:none!important;display:none!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body button.wg-shell-close{background:#fff!important;border-color:rgba(122,15,31,.16)!important;color:#7a0f1f!important}
}

/* ---------- ☰ menu quick block (phones): gold «Пополнить», then three equal icon buttons: theme · language · sound ---------- */
html:not(#uh-a):not(#uh-b) body nav .m1-quick{display:none!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick{display:none!important}

/* ---------- phones and tablets (≤820 px): ☰ · logo · … · 🔔 · [balance | +] ---------- */
@media (max-width:820px){
html:not(#uh-a):not(#uh-b):not(.tg-embed) body :is(div.mp-topbar,header.wgt-header.wg-shell-header){display:flex!important;align-items:center!important;gap:8px!important;min-height:56px!important;height:auto!important;box-sizing:border-box!important;
  padding:8px max(12px,env(safe-area-inset-right,0px)) 8px max(12px,env(safe-area-inset-left,0px))!important;flex-wrap:nowrap!important}
html:not(#uh-a):not(#uh-b) body :is(div.mp-topbar,header.wgt-header.wg-shell-header)>:is(button.wg-shell-toggle,button#menu-toggle){order:1!important;position:static!important;margin:0!important}
html:not(#uh-a):not(#uh-b) body :is(div.mp-topbar,header.wgt-header.wg-shell-header)>a.uh-logo{order:2!important;display:inline-flex!important;align-items:center!important;gap:8px!important;flex:0 1 auto!important;min-width:0!important;height:40px!important;margin:0!important;padding:0 2px!important;text-decoration:none!important;color:#f7efe6!important}
html:not(#uh-a):not(#uh-b) body a.uh-logo>img{width:34px!important;height:34px!important;flex:none!important;filter:drop-shadow(0 2px 6px rgba(0,0,0,.45))!important}
html:not(#uh-a):not(#uh-b) body a.uh-logo>span{display:none!important;font:800 15px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;letter-spacing:.02em!important;white-space:nowrap!important;color:#f7efe6!important}
html:not(#uh-a):not(#uh-b) body a.uh-logo>span>b{color:#ff4d6d!important;font-weight:800!important}
html:not(#uh-a):not(#uh-b) body :is(div.mp-topbar,header.wgt-header.wg-shell-header)>#wg-header-controls{order:3!important;flex:1 1 auto!important;min-width:0!important;margin:0 0 0 auto!important;display:flex!important;flex-direction:row!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;width:auto!important}
/* ☰ = the same 40 px button with the line icon (phones only: on desktop the side menu is always there) */
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle){--uh-i:var(--uhi-menu);position:relative!important;display:inline-grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;
  padding:0!important;margin:0!important;border-radius:12px!important;border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 8px rgba(0,0,0,.25)!important;font-size:0!important;line-height:0!important;overflow:visible!important;transform:none!important;grid-template-rows:none!important;grid-auto-rows:auto!important;gap:0!important}
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle)>*{display:none!important}
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle)::before{content:""!important;display:block!important;position:static!important;width:20px!important;height:20px!important;background:currentColor!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;-webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle)::after{content:none!important;display:none!important}
/* phones: only ☰ · logo · 🔔 · [balance | +] (theme, language, sound live in the ☰ menu; owner's decision m1e) */
html:not(#uh-a):not(#uh-b) body #wg-header-controls#wg-header-controls>:is(span.dp-top,a.tgp-go,div.wg-snd,button.wgt-theme,button.mp-theme-toggle,a.mp-lang,a.p23-deposit-quick,a.p23-payments-quick,a.mp-account-link,a.wg-lvl-chip){display:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.pe-btn.pe-bell{order:10!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.wg46-login{order:15!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined{order:20!important;flex:0 0 auto!important;min-width:84px!important;max-width:160px!important;width:auto!important;padding:4px 12px 4px 44px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;position:relative!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined::before{position:absolute!important;left:5px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;width:30px!important;height:30px!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{order:21!important;width:40px!important;padding:0!important}
/* tablets: room for the word mark */
@media (min-width:560px){html:not(#uh-a):not(#uh-b) body a.uh-logo>span{display:inline!important}}
/* very narrow phones: keep the row on one line */
@media (max-width:359px){html:not(#uh-a):not(#uh-b) body a.uh-logo{display:none!important}
  html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined{padding-left:38px!important}
  html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined::before{width:26px!important;height:26px!important;left:5px!important}}

/* ☰ menu on phones */
html:not(#uh-a):not(#uh-b) body nav .uh-quick{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:4px 0 12px!important;padding:0 0 12px!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button{margin:0!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-dep{--uh-i:var(--uhi-plus);grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:48px!important;min-height:48px!important;padding:0 16px!important;border-radius:12px!important;border:0!important;
  background:linear-gradient(180deg,#f7dc93,#d4a64a)!important;color:#3a1208!important;font:800 15px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 6px 18px rgba(212,166,74,.25)!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-u{position:relative!important;display:grid!important;place-items:center!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:12px!important;border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;
  font:800 13px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;letter-spacing:.04em!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-u[aria-pressed="true"]{border-color:rgba(243,213,138,.55)!important;color:var(--uh-gold)!important;background:linear-gradient(180deg,#3a1520,#24101a)!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-snd[aria-pressed="false"]{color:#ff8fa3!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-theme{--uh-i:var(--uhi-sun)}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body nav .uh-quick>button.uh-theme{--uh-i:var(--uhi-moon)}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-snd{--uh-i:var(--uhi-sound)}
html:not(#uh-a):not(#uh-b)[data-uh-snd="off"] body nav .uh-quick>button.uh-snd{--uh-i:var(--uhi-mute)}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body nav .uh-quick{border-bottom-color:rgba(122,15,31,.12)!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body nav .uh-quick>button.uh-u{background:#fff!important;border-color:rgba(122,15,31,.16)!important;color:#7a0f1f!important;box-shadow:0 1px 3px rgba(90,20,30,.08)!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body nav .uh-quick>button.uh-u[aria-pressed="true"]{background:#fff4f6!important;border-color:rgba(195,23,58,.55)!important;color:#b3122e!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body nav .uh-quick>button.uh-snd[aria-pressed="false"]{color:#b3122e!important}
}

/* ---------- desktop (≥821 px): same buttons in one row; «+ Пополнить» joined to the balance ---------- */
@media (min-width:821px){
html:not(#uh-a):not(#uh-b) body #wg-header-controls{gap:8px!important;align-items:center!important;flex-wrap:nowrap!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined{order:50!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{order:51!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus>.uh-lbl{display:inline!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{padding:0 14px 0 10px!important}
/* game pages: one row (brand · crumbs · … · controls); «Все игры» duplicated «‹ Игры» in the crumbs */
html:not(#uh-a):not(#uh-b) body header.wgt-header.wg-shell-header{flex-wrap:nowrap!important;align-items:center!important}
html:not(#uh-a):not(#uh-b) body header.wgt-header.wg-shell-header>:is(nav.wg-crumbs,a.c3-brand){flex:0 0 auto!important;white-space:nowrap!important}
html:not(#uh-a):not(#uh-b) body header.wgt-header.wg-shell-header>nav.wg-crumbs>*{white-space:nowrap!important}
html:not(#uh-a):not(#uh-b) body header.wgt-header.wg-shell-header>#wg-header-controls{margin-left:auto!important;width:auto!important;flex:0 0 auto!important}
}
@media (min-width:821px) and (max-width:1499px){
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip{width:40px!important;padding:0!important;justify-content:center!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip>span{display:none!important}
}
@media (min-width:821px) and (max-width:1180px){
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus>.uh-lbl{display:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{padding:0!important;width:40px!important}
}

/* ---------- Telegram Mini App game frames (html.tgg, toolbar from assets/tgapp/tg-games.*): same buttons and icons ---------- */
html:not(#uh-a):not(#uh-b).tgg .tgg-tool{border-radius:12px!important;border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;height:40px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important}
html:not(#uh-a):not(#uh-b).tgg .tgg-rules b{display:none!important}
html:not(#uh-a):not(#uh-b).tgg .tgg-rules::before,html:not(#uh-a):not(#uh-b).tgg .tgg-more::after{content:""!important;display:block!important;width:20px!important;height:20px!important;flex:none!important;background:currentColor!important;-webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b).tgg .tgg-rules{--uh-i:var(--uhi-info)}
html:not(#uh-a):not(#uh-b).tgg .tgg-more{--uh-i:var(--uhi-more)}
html:not(#uh-a):not(#uh-b).tgg .tgg-more i{display:none!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"].tgg .tgg-tool{background:#fff!important;border-color:rgba(122,15,31,.16)!important;color:#7a0f1f!important}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button){
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:0 0 auto!important;box-sizing:border-box!important;
  width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0!important;margin:0!important;border-radius:12px!important;
  border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 8px rgba(0,0,0,.25)!important;
  font:700 0/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;letter-spacing:0!important;text-transform:none!important;text-shadow:none!important;text-decoration:none!important;image-rendering:auto!important;cursor:pointer!important;transform:none!important}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button)>*{display:none!important}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button)::before{
  content:""!important;display:block!important;position:static!important;flex:none!important;width:20px!important;height:20px!important;background:currentColor!important;border:0!important;box-shadow:none!important;transform:none!important;
  -webkit-mask:var(--uh-i,var(--uhi-more)) center/contain no-repeat!important;mask:var(--uh-i,var(--uhi-more)) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button)::after{content:none!important;display:none!important}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],header.soft-metro-head>a.returnGames,header.wp-header>button.soft-games-link){--uh-i:var(--uhi-back)}
html:not(#uh-a):not(#uh-b) body :is(#vzHistory,#historyBtn,header.wp-header .wp-actions>button:not(.fs25-open):not(.wp-icon)){--uh-i:var(--uhi-history)}
html:not(#uh-a):not(#uh-b) body :is(#vzFullscreen,header.wp-header .wp-actions>button.wp-icon){--uh-i:var(--uhi-full)}
html:not(#uh-a):not(#uh-b) body #helpBtn{--uh-i:var(--uhi-info)}
html:not(#uh-a):not(#uh-b) body #settingsBtn{--uh-i:var(--uhi-settings)}
html:not(#uh-a):not(#uh-b) body header.wp-header .wp-actions>button.fs25-open{--uh-i:var(--uhi-spark);color:var(--uh-gold)!important;border-color:rgba(243,213,138,.38)!important}
@media (hover:hover){html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button):hover{border-color:var(--uh-bd-h)!important;color:var(--uh-gold)!important}}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button):focus-visible{outline:2px solid var(--uh-gold)!important;outline-offset:2px!important}
html:not(#uh-a):not(#uh-b) body :is(#windToolbar,header.wp-header .wp-actions){display:flex!important;align-items:center!important;gap:8px!important}
/* desktop: the label next to the icon for «back», «history», «free spins» (the same words as the site menu) */
@media (min-width:821px){
html:not(#uh-a):not(#uh-b):not(#uh-c) body :is(.wg-gamebar>a[href],header.soft-metro-head>a.returnGames,header.wp-header>button.soft-games-link,#vzHistory,#historyBtn,header.wp-header .wp-actions>button.fs25-open,header.wp-header .wp-actions>button:not(.fs25-open):not(.wp-icon)){width:auto!important;padding:0 14px 0 10px!important}
html:not(#uh-a):not(#uh-b):not(#uh-c) body :is(.wg-gamebar>a[href],header.soft-metro-head>a.returnGames,header.wp-header>button.soft-games-link,#vzHistory,#historyBtn,header.wp-header .wp-actions>button.fs25-open,header.wp-header .wp-actions>button:not(.fs25-open):not(.wp-icon))::after{display:block!important;position:static!important;font:700 14px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;color:inherit!important;background:none!important;-webkit-mask:none!important;mask:none!important;width:auto!important;height:auto!important}
html:not(#uh-a):not(#uh-b):not(#uh-c) body :is(.wg-gamebar>a[href],header.soft-metro-head>a.returnGames)::after{content:"Игры"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c) body header.wp-header>button.soft-games-link::after{content:"Лобби"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c) body :is(#vzHistory,#historyBtn,header.wp-header .wp-actions>button:not(.fs25-open):not(.wp-icon))::after{content:"История"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c) body header.wp-header .wp-actions>button.fs25-open::after{content:"Фриспины"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c):lang(en) body :is(.wg-gamebar>a[href],header.soft-metro-head>a.returnGames)::after{content:"Games"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c):lang(en) body header.wp-header>button.soft-games-link::after{content:"Lobby"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c):lang(en) body :is(#vzHistory,#historyBtn,header.wp-header .wp-actions>button:not(.fs25-open):not(.wp-icon))::after{content:"History"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c):lang(en) body header.wp-header .wp-actions>button.fs25-open::after{content:"Free spins"!important}
}
}
@layer wg-polish26{

/* ---------- one icon primitive: span.uh-i / ::before with --uh-i ---------- */
html:not(#uh-a):not(#uh-b) .uh-i{display:inline-block!important;flex:none!important;width:20px!important;height:20px!important;background:currentColor!important;
  -webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}

/* ---------- header buttons: ☰, bell, sound, theme, language, + (every page, every width) ---------- */
html:not(#uh-a):not(#uh-b) body :is(#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,#wg-header-controls>a.mp-account-link,#wg-header-controls>a.p23-payments-quick){
  position:relative!important;display:inline-grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;
  padding:0!important;margin:0!important;border-radius:12px!important;border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 8px rgba(0,0,0,.25)!important;font-size:0!important;line-height:0!important;text-indent:0!important;overflow:visible!important;cursor:pointer!important;
  transition:border-color .15s,color .15s,background .15s!important;transform:none!important;opacity:1!important;filter:none!important;text-decoration:none!important}
html:not(#uh-a):not(#uh-b) body :is(#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,#wg-header-controls>a.mp-account-link,#wg-header-controls>a.p23-payments-quick)>*{display:none!important}
html:not(#uh-a):not(#uh-b) body :is(#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-account-link,#wg-header-controls>a.p23-payments-quick)::before{
  content:""!important;display:block!important;position:static!important;width:20px!important;height:20px!important;background:currentColor!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;
  -webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b) body :is(#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,#wg-header-controls>a.mp-account-link,#wg-header-controls>a.p23-payments-quick)::after{content:none!important;display:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.pe-btn.pe-bell{--uh-i:var(--uhi-bell)}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-account-link{--uh-i:var(--uhi-profile)}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.p23-payments-quick{--uh-i:var(--uhi-payments)}
html:not(#uh-a):not(#uh-b) body #wg-header-controls .wg-snd-btn{--uh-i:var(--uhi-sound)}
html:not(#uh-a):not(#uh-b)[data-uh-snd="off"] body #wg-header-controls .wg-snd-btn{--uh-i:var(--uhi-mute);color:#ff8fa3!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>:is(button.wgt-theme,button.mp-theme-toggle){--uh-i:var(--uhi-sun)}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body #wg-header-controls>:is(button.wgt-theme,button.mp-theme-toggle){--uh-i:var(--uhi-moon)}
html:not(#uh-a):not(#uh-b) body #wg-header-controls .wg-snd{flex:0 0 40px!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important}
/* language: a code, not a word («RU» / «EN», the current one; click switches) */
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-lang::before{content:"RU"!important;display:grid!important;place-items:center!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;background:none!important;-webkit-mask:none!important;mask:none!important;
  font:800 13px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;letter-spacing:.04em!important;color:currentColor!important}
html:not(#uh-a):not(#uh-b)[data-uh-lang="en"] body #wg-header-controls>a.mp-lang::before{content:"EN"!important}
/* hover / focus / pressed: gold edge, the same everywhere */
@media (hover:hover){html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle,#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,.uh-quick .uh-u):hover{border-color:var(--uh-bd-h)!important;color:var(--uh-gold)!important}}
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle,#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,.uh-plus,.uh-quick button,a.uh-logo):focus-visible{outline:2px solid var(--uh-gold)!important;outline-offset:2px!important}
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle,#wg-header-controls>button.pe-btn.pe-bell,#wg-header-controls .wg-snd-btn,#wg-header-controls>button.wgt-theme,#wg-header-controls>button.mp-theme-toggle,#wg-header-controls>a.mp-lang,.uh-plus,.uh-quick button):active{transform:translateY(1px)!important}

/* anything the site hides (hidden attribute) stays hidden, whatever the button rules above say */
html:not(#uh-a):not(#uh-b) body #wg-header-controls#wg-header-controls>[hidden]:not(#uh-c){display:none!important}

/* bell: unread payments/reminders = ruby badge with a ring (the bell itself stays the same button) */
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.pe-btn.pe-bell::after{content:""!important;display:none!important;position:absolute!important;top:-3px!important;right:-3px!important;left:auto!important;bottom:auto!important;width:12px!important;height:12px!important;
  border-radius:50%!important;background:radial-gradient(circle at 35% 35%,#ff6b86,#e11d48 60%,#b3122e)!important;box-shadow:0 0 0 2px #17121a,0 0 10px rgba(225,29,72,.7)!important;-webkit-mask:none!important;mask:none!important;transform:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.pe-btn.pe-bell.pe-unread::after{display:block!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.pe-btn.pe-bell.pe-unread{color:var(--uh-gold)!important;border-color:rgba(225,29,72,.55)!important}

/* balance chip + «+» deposit as one segmented control [avatar 151,06 | +] */
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined{height:40px!important;min-height:40px!important;box-sizing:border-box!important;border-radius:12px!important;
  border:1px solid rgba(243,213,138,.30)!important;background:var(--uh-btn)!important;color:var(--uh-gold)!important;font:800 14px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;font-variant-numeric:tabular-nums!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 8px rgba(0,0,0,.25)!important;text-shadow:none!important;letter-spacing:0!important}
html:not(#uh-a):not(#uh-b).uh-dep-on body #wg-header-controls>a.mp-wallet-chip.wg-account-combined:not([hidden]){border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right-width:0!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{display:none!important}
html:not(#uh-a):not(#uh-b).uh-dep-on body #wg-header-controls>a.mp-wallet-chip:not([hidden])+button.uh-plus{display:inline-flex!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{--uh-i:var(--uhi-plus);align-items:center!important;justify-content:center!important;gap:6px!important;flex:0 0 auto!important;height:40px!important;min-width:40px!important;margin:0 0 0 -8px!important;padding:0 10px!important;
  border:0!important;border-radius:0 12px 12px 0!important;background:linear-gradient(180deg,#f7dc93,#d4a64a)!important;color:#3a1208!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 4px 14px rgba(212,166,74,.28)!important;
  font:800 14px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;cursor:pointer!important;white-space:nowrap!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus>.uh-i{width:20px!important;height:20px!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus>.uh-lbl{display:none!important}
html:not(#uh-a):not(#uh-b).uh-dep-on body #wg-header-controls>:is(span.dp-top,a.p23-deposit-quick){display:none!important}

/* the header bar itself: brand palette in BOTH themes (light theme no longer a white/pink strip) */
html:not(#uh-a):not(#uh-b) body :is(div.mp-topbar,header.wgt-header.wg-shell-header){background:var(--uh-bar)!important;border-bottom:1px solid var(--uh-bar-line)!important;box-shadow:0 1px 0 rgba(243,213,138,.06),0 10px 24px rgba(0,0,0,.28)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body :is(div.mp-topbar,header.wgt-header.wg-shell-header){color:#f7efe6!important;box-shadow:0 1px 0 rgba(243,213,138,.10),0 8px 20px rgba(60,10,20,.18)!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body header.wgt-header.wg-shell-header :is(a.c3-brand,a.brand) span{color:#f7efe6!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body header.wgt-header.wg-shell-header nav.wg-crumbs{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.10)!important;color:#f7efe6!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body header.wgt-header.wg-shell-header nav.wg-crumbs :is(a,b){color:#f7efe6!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body header.wgt-header.wg-shell-header nav.wg-crumbs a{background:rgba(255,255,255,.08)!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body :is(div.mp-topbar,header.wgt-header) .wg-live-dashboard{background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.10)!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body header.wgt-header.wg-shell-header :is(.top-actions>.pill,.topbar-right .pill){background:rgba(255,255,255,.06)!important;border-color:rgba(243,213,138,.30)!important;color:#f3d58a!important;box-shadow:none!important}
/* Telegram chip: same button, readable in both themes (light theme had dark ruby text on ruby) */
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip{--uh-i:var(--uhi-telegram);height:40px!important;min-height:40px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;gap:8px!important;padding:0 14px 0 11px!important;border-radius:12px!important;
  border:1px solid rgba(243,213,138,.38)!important;background:linear-gradient(180deg,#3a1520,#24101a)!important;color:#fff1cf!important;font:700 13px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;text-shadow:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip>svg{display:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip::before{content:""!important;display:block!important;width:19px!important;height:19px!important;flex:none!important;background:#5fb8ff!important;-webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip>span{color:inherit!important;font:inherit!important}
/* guest «Войти» = the same gold as «+» */
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.wg46-login{height:40px!important;min-height:40px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;padding:0 16px!important;border-radius:12px!important;border:0!important;
  background:linear-gradient(180deg,#f7dc93,#d4a64a)!important;color:#3a1208!important;font:800 14px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)!important;text-decoration:none!important}

/* «Все игры» in the game header duplicated «‹ Игры» (crumbs, desktop) and «Игры» (☰ menu, phones) */
html:not(#uh-a):not(#uh-b) body header.wgt-header.wg-shell-header>nav.uh-dup-all{display:none!important}

/* logo in the phone header (injected a.uh-logo; desktop keeps the sidebar / C3 brand) */
html:not(#uh-a):not(#uh-b) body a.uh-logo{display:none!important}


@media (max-width:820px){
/* drawer «×» = the same button with the line icon */
html:not(#uh-a):not(#uh-b) body button.wg-shell-close{--uh-i:var(--uhi-close);position:relative!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border-radius:12px!important;
  border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;font-size:0!important;line-height:0!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;outline-offset:2px!important}
html:not(#uh-a):not(#uh-b) body button.wg-shell-close>*{display:none!important}
html:not(#uh-a):not(#uh-b) body button.wg-shell-close::before{content:""!important;display:block!important;position:static!important;width:20px!important;height:20px!important;background:currentColor!important;border:0!important;box-shadow:none!important;transform:none!important;-webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b) body button.wg-shell-close::after{content:none!important;display:none!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body button.wg-shell-close{background:#fff!important;border-color:rgba(122,15,31,.16)!important;color:#7a0f1f!important}
}

/* ---------- ☰ menu quick block (phones): gold «Пополнить», then three equal icon buttons: theme · language · sound ---------- */
html:not(#uh-a):not(#uh-b) body nav .m1-quick{display:none!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick{display:none!important}

/* ---------- phones and tablets (≤820 px): ☰ · logo · … · 🔔 · [balance | +] ---------- */
@media (max-width:820px){
html:not(#uh-a):not(#uh-b):not(.tg-embed) body :is(div.mp-topbar,header.wgt-header.wg-shell-header){display:flex!important;align-items:center!important;gap:8px!important;min-height:56px!important;height:auto!important;box-sizing:border-box!important;
  padding:8px max(12px,env(safe-area-inset-right,0px)) 8px max(12px,env(safe-area-inset-left,0px))!important;flex-wrap:nowrap!important}
html:not(#uh-a):not(#uh-b) body :is(div.mp-topbar,header.wgt-header.wg-shell-header)>:is(button.wg-shell-toggle,button#menu-toggle){order:1!important;position:static!important;margin:0!important}
html:not(#uh-a):not(#uh-b) body :is(div.mp-topbar,header.wgt-header.wg-shell-header)>a.uh-logo{order:2!important;display:inline-flex!important;align-items:center!important;gap:8px!important;flex:0 1 auto!important;min-width:0!important;height:40px!important;margin:0!important;padding:0 2px!important;text-decoration:none!important;color:#f7efe6!important}
html:not(#uh-a):not(#uh-b) body a.uh-logo>img{width:34px!important;height:34px!important;flex:none!important;filter:drop-shadow(0 2px 6px rgba(0,0,0,.45))!important}
html:not(#uh-a):not(#uh-b) body a.uh-logo>span{display:none!important;font:800 15px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;letter-spacing:.02em!important;white-space:nowrap!important;color:#f7efe6!important}
html:not(#uh-a):not(#uh-b) body a.uh-logo>span>b{color:#ff4d6d!important;font-weight:800!important}
html:not(#uh-a):not(#uh-b) body :is(div.mp-topbar,header.wgt-header.wg-shell-header)>#wg-header-controls{order:3!important;flex:1 1 auto!important;min-width:0!important;margin:0 0 0 auto!important;display:flex!important;flex-direction:row!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;width:auto!important}
/* ☰ = the same 40 px button with the line icon (phones only: on desktop the side menu is always there) */
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle){--uh-i:var(--uhi-menu);position:relative!important;display:inline-grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;
  padding:0!important;margin:0!important;border-radius:12px!important;border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 8px rgba(0,0,0,.25)!important;font-size:0!important;line-height:0!important;overflow:visible!important;transform:none!important;grid-template-rows:none!important;grid-auto-rows:auto!important;gap:0!important}
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle)>*{display:none!important}
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle)::before{content:""!important;display:block!important;position:static!important;width:20px!important;height:20px!important;background:currentColor!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;-webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b) body :is(button.wg-shell-toggle,button#menu-toggle.mp-menu-toggle)::after{content:none!important;display:none!important}
/* phones: only ☰ · logo · 🔔 · [balance | +] (theme, language, sound live in the ☰ menu; owner's decision m1e) */
html:not(#uh-a):not(#uh-b) body #wg-header-controls#wg-header-controls>:is(span.dp-top,a.tgp-go,div.wg-snd,button.wgt-theme,button.mp-theme-toggle,a.mp-lang,a.p23-deposit-quick,a.p23-payments-quick,a.mp-account-link,a.wg-lvl-chip){display:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.pe-btn.pe-bell{order:10!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.wg46-login{order:15!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined{order:20!important;flex:0 0 auto!important;min-width:84px!important;max-width:160px!important;width:auto!important;padding:4px 12px 4px 44px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;position:relative!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined::before{position:absolute!important;left:5px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;width:30px!important;height:30px!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{order:21!important;width:40px!important;padding:0!important}
/* tablets: room for the word mark */
@media (min-width:560px){html:not(#uh-a):not(#uh-b) body a.uh-logo>span{display:inline!important}}
/* very narrow phones: keep the row on one line */
@media (max-width:359px){html:not(#uh-a):not(#uh-b) body a.uh-logo{display:none!important}
  html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined{padding-left:38px!important}
  html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined::before{width:26px!important;height:26px!important;left:5px!important}}

/* ☰ menu on phones */
html:not(#uh-a):not(#uh-b) body nav .uh-quick{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:4px 0 12px!important;padding:0 0 12px!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button{margin:0!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-dep{--uh-i:var(--uhi-plus);grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:48px!important;min-height:48px!important;padding:0 16px!important;border-radius:12px!important;border:0!important;
  background:linear-gradient(180deg,#f7dc93,#d4a64a)!important;color:#3a1208!important;font:800 15px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 6px 18px rgba(212,166,74,.25)!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-u{position:relative!important;display:grid!important;place-items:center!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:12px!important;border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;
  font:800 13px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;letter-spacing:.04em!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-u[aria-pressed="true"]{border-color:rgba(243,213,138,.55)!important;color:var(--uh-gold)!important;background:linear-gradient(180deg,#3a1520,#24101a)!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-snd[aria-pressed="false"]{color:#ff8fa3!important}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-theme{--uh-i:var(--uhi-sun)}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body nav .uh-quick>button.uh-theme{--uh-i:var(--uhi-moon)}
html:not(#uh-a):not(#uh-b) body nav .uh-quick>button.uh-snd{--uh-i:var(--uhi-sound)}
html:not(#uh-a):not(#uh-b)[data-uh-snd="off"] body nav .uh-quick>button.uh-snd{--uh-i:var(--uhi-mute)}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body nav .uh-quick{border-bottom-color:rgba(122,15,31,.12)!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body nav .uh-quick>button.uh-u{background:#fff!important;border-color:rgba(122,15,31,.16)!important;color:#7a0f1f!important;box-shadow:0 1px 3px rgba(90,20,30,.08)!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body nav .uh-quick>button.uh-u[aria-pressed="true"]{background:#fff4f6!important;border-color:rgba(195,23,58,.55)!important;color:#b3122e!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"] body nav .uh-quick>button.uh-snd[aria-pressed="false"]{color:#b3122e!important}
}

/* ---------- desktop (≥821 px): same buttons in one row; «+ Пополнить» joined to the balance ---------- */
@media (min-width:821px){
html:not(#uh-a):not(#uh-b) body #wg-header-controls{gap:8px!important;align-items:center!important;flex-wrap:nowrap!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.mp-wallet-chip.wg-account-combined{order:50!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{order:51!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus>.uh-lbl{display:inline!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{padding:0 14px 0 10px!important}
/* game pages: one row (brand · crumbs · … · controls); «Все игры» duplicated «‹ Игры» in the crumbs */
html:not(#uh-a):not(#uh-b) body header.wgt-header.wg-shell-header{flex-wrap:nowrap!important;align-items:center!important}
html:not(#uh-a):not(#uh-b) body header.wgt-header.wg-shell-header>:is(nav.wg-crumbs,a.c3-brand){flex:0 0 auto!important;white-space:nowrap!important}
html:not(#uh-a):not(#uh-b) body header.wgt-header.wg-shell-header>nav.wg-crumbs>*{white-space:nowrap!important}
html:not(#uh-a):not(#uh-b) body header.wgt-header.wg-shell-header>#wg-header-controls{margin-left:auto!important;width:auto!important;flex:0 0 auto!important}
}
@media (min-width:821px) and (max-width:1499px){
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip{width:40px!important;padding:0!important;justify-content:center!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>a.tgp-go.tgp-chip>span{display:none!important}
}
@media (min-width:821px) and (max-width:1180px){
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus>.uh-lbl{display:none!important}
html:not(#uh-a):not(#uh-b) body #wg-header-controls>button.uh-plus{padding:0!important;width:40px!important}
}

/* ---------- Telegram Mini App game frames (html.tgg, toolbar from assets/tgapp/tg-games.*): same buttons and icons ---------- */
html:not(#uh-a):not(#uh-b).tgg .tgg-tool{border-radius:12px!important;border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;height:40px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important}
html:not(#uh-a):not(#uh-b).tgg .tgg-rules b{display:none!important}
html:not(#uh-a):not(#uh-b).tgg .tgg-rules::before,html:not(#uh-a):not(#uh-b).tgg .tgg-more::after{content:""!important;display:block!important;width:20px!important;height:20px!important;flex:none!important;background:currentColor!important;-webkit-mask:var(--uh-i) center/contain no-repeat!important;mask:var(--uh-i) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b).tgg .tgg-rules{--uh-i:var(--uhi-info)}
html:not(#uh-a):not(#uh-b).tgg .tgg-more{--uh-i:var(--uhi-more)}
html:not(#uh-a):not(#uh-b).tgg .tgg-more i{display:none!important}
html:not(#uh-a):not(#uh-b)[data-theme="light"].tgg .tgg-tool{background:#fff!important;border-color:rgba(122,15,31,.16)!important;color:#7a0f1f!important}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button){
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:0 0 auto!important;box-sizing:border-box!important;
  width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0!important;margin:0!important;border-radius:12px!important;
  border:1px solid var(--uh-bd)!important;background:var(--uh-btn)!important;color:var(--uh-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 8px rgba(0,0,0,.25)!important;
  font:700 0/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;letter-spacing:0!important;text-transform:none!important;text-shadow:none!important;text-decoration:none!important;image-rendering:auto!important;cursor:pointer!important;transform:none!important}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button)>*{display:none!important}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button)::before{
  content:""!important;display:block!important;position:static!important;flex:none!important;width:20px!important;height:20px!important;background:currentColor!important;border:0!important;box-shadow:none!important;transform:none!important;
  -webkit-mask:var(--uh-i,var(--uhi-more)) center/contain no-repeat!important;mask:var(--uh-i,var(--uhi-more)) center/contain no-repeat!important}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button)::after{content:none!important;display:none!important}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],header.soft-metro-head>a.returnGames,header.wp-header>button.soft-games-link){--uh-i:var(--uhi-back)}
html:not(#uh-a):not(#uh-b) body :is(#vzHistory,#historyBtn,header.wp-header .wp-actions>button:not(.fs25-open):not(.wp-icon)){--uh-i:var(--uhi-history)}
html:not(#uh-a):not(#uh-b) body :is(#vzFullscreen,header.wp-header .wp-actions>button.wp-icon){--uh-i:var(--uhi-full)}
html:not(#uh-a):not(#uh-b) body #helpBtn{--uh-i:var(--uhi-info)}
html:not(#uh-a):not(#uh-b) body #settingsBtn{--uh-i:var(--uhi-settings)}
html:not(#uh-a):not(#uh-b) body header.wp-header .wp-actions>button.fs25-open{--uh-i:var(--uhi-spark);color:var(--uh-gold)!important;border-color:rgba(243,213,138,.38)!important}
@media (hover:hover){html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button):hover{border-color:var(--uh-bd-h)!important;color:var(--uh-gold)!important}}
html:not(#uh-a):not(#uh-b) body :is(.wg-gamebar>a[href],#vzHistory,#vzFullscreen,header.soft-metro-head>a.returnGames,#windToolbar>button.btn,header.wp-header>button.soft-games-link,header.wp-header .wp-actions>button):focus-visible{outline:2px solid var(--uh-gold)!important;outline-offset:2px!important}
html:not(#uh-a):not(#uh-b) body :is(#windToolbar,header.wp-header .wp-actions){display:flex!important;align-items:center!important;gap:8px!important}
/* desktop: the label next to the icon for «back», «history», «free spins» (the same words as the site menu) */
@media (min-width:821px){
html:not(#uh-a):not(#uh-b):not(#uh-c) body :is(.wg-gamebar>a[href],header.soft-metro-head>a.returnGames,header.wp-header>button.soft-games-link,#vzHistory,#historyBtn,header.wp-header .wp-actions>button.fs25-open,header.wp-header .wp-actions>button:not(.fs25-open):not(.wp-icon)){width:auto!important;padding:0 14px 0 10px!important}
html:not(#uh-a):not(#uh-b):not(#uh-c) body :is(.wg-gamebar>a[href],header.soft-metro-head>a.returnGames,header.wp-header>button.soft-games-link,#vzHistory,#historyBtn,header.wp-header .wp-actions>button.fs25-open,header.wp-header .wp-actions>button:not(.fs25-open):not(.wp-icon))::after{display:block!important;position:static!important;font:700 14px/1 var(--wg-font-ui,Arimo,Arial,sans-serif)!important;color:inherit!important;background:none!important;-webkit-mask:none!important;mask:none!important;width:auto!important;height:auto!important}
html:not(#uh-a):not(#uh-b):not(#uh-c) body :is(.wg-gamebar>a[href],header.soft-metro-head>a.returnGames)::after{content:"Игры"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c) body header.wp-header>button.soft-games-link::after{content:"Лобби"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c) body :is(#vzHistory,#historyBtn,header.wp-header .wp-actions>button:not(.fs25-open):not(.wp-icon))::after{content:"История"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c) body header.wp-header .wp-actions>button.fs25-open::after{content:"Фриспины"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c):lang(en) body :is(.wg-gamebar>a[href],header.soft-metro-head>a.returnGames)::after{content:"Games"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c):lang(en) body header.wp-header>button.soft-games-link::after{content:"Lobby"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c):lang(en) body :is(#vzHistory,#historyBtn,header.wp-header .wp-actions>button:not(.fs25-open):not(.wp-icon))::after{content:"History"!important}
html:not(#uh-a):not(#uh-b):not(#uh-c):lang(en) body header.wp-header .wp-actions>button.fs25-open::after{content:"Free spins"!important}
}
}
