/* Game cards: big accent pictures coming out of a corner or an edge (theme colour, gentle motion). */
@keyframes gc-bob { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(-3px, -5px) rotate(5deg); } }
@keyframes gc-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes gc-spin { to { transform: rotate(360deg); } }
@keyframes gc-rise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.y button[aria-label="Квиз дня"] { position: relative; overflow: hidden; isolation: isolate; }
.y button[aria-label="Квиз дня"] > * { position: relative; z-index: 2; }
.y button[aria-label="Квиз дня"]::after { content: ""; position: absolute; z-index: 1; width: 104px; height: 104px; right: -12px; bottom: -18px; pointer-events: none; opacity: .9; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27100%27%20height%3D%27100%27%20viewBox%3D%270%200%20100%20100%27%3E%3Ctext%20x%3D%2750%27%20y%3D%2790%27%20text-anchor%3D%27middle%27%20font-family%3D%27Arial%20Black%2CArial%2Csans-serif%27%20font-weight%3D%27900%27%20font-size%3D%27110%27%20fill%3D%27white%27%20transform%3D%27rotate%2814%2050%2055%29%27%3E%3F%3C%2Ftext%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27100%27%20height%3D%27100%27%20viewBox%3D%270%200%20100%20100%27%3E%3Ctext%20x%3D%2750%27%20y%3D%2790%27%20text-anchor%3D%27middle%27%20font-family%3D%27Arial%20Black%2CArial%2Csans-serif%27%20font-weight%3D%27900%27%20font-size%3D%27110%27%20fill%3D%27white%27%20transform%3D%27rotate%2814%2050%2055%29%27%3E%3F%3C%2Ftext%3E%3C%2Fsvg%3E") center / contain no-repeat; mask-mode: luminance; background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 45%, white), var(--ac) 50%, color-mix(in srgb, var(--ac) 55%, black)); animation: gc-bob 4s ease-in-out infinite; }
.y button[aria-label="Битва групп"] { position: relative; overflow: hidden; isolation: isolate; }
.y button[aria-label="Битва групп"] > * { position: relative; z-index: 2; }
.y button[aria-label="Битва групп"]::after { content: ""; position: absolute; z-index: 1; width: 104px; height: 104px; right: -12px; bottom: -18px; pointer-events: none; opacity: .9; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27100%27%20height%3D%27100%27%20viewBox%3D%270%200%20100%20100%27%3E%3Ctext%20x%3D%2750%27%20y%3D%2776%27%20text-anchor%3D%27middle%27%20font-family%3D%27Arial%20Black%2CArial%2Csans-serif%27%20font-weight%3D%27900%27%20font-size%3D%2766%27%20fill%3D%27white%27%20transform%3D%27rotate%28-12%2050%2055%29%27%3E%2B1%3C%2Ftext%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27100%27%20height%3D%27100%27%20viewBox%3D%270%200%20100%20100%27%3E%3Ctext%20x%3D%2750%27%20y%3D%2776%27%20text-anchor%3D%27middle%27%20font-family%3D%27Arial%20Black%2CArial%2Csans-serif%27%20font-weight%3D%27900%27%20font-size%3D%2766%27%20fill%3D%27white%27%20transform%3D%27rotate%28-12%2050%2055%29%27%3E%2B1%3C%2Ftext%3E%3C%2Fsvg%3E") center / contain no-repeat; mask-mode: luminance; background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 45%, white), var(--ac) 50%, color-mix(in srgb, var(--ac) 55%, black)); animation: gc-beat 1.6s ease-in-out infinite; }
.y button[aria-label="Колесо дня"] { position: relative; overflow: hidden; isolation: isolate; }
.y button[aria-label="Колесо дня"] > * { position: relative; z-index: 2; }
.y button[aria-label="Колесо дня"]::after { content: ""; position: absolute; z-index: 1; width: 132px; height: 132px; right: -52px; top: 50%; margin-top: -66px; pointer-events: none; opacity: .9; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27130%27%20height%3D%27130%27%20viewBox%3D%270%200%20130%20130%27%3E%3Cg%20transform%3D%27translate%2865%2065%29%27%3E%3Cpath%20d%3D%27M0%200%20L60.0%200.0%20A60%2060%200%200%201%2042.4%2042.4%20Z%27%20fill%3D%27%237a7a7a%27%2F%3E%3Cpath%20d%3D%27M0%200%20L42.4%2042.4%20A60%2060%200%200%201%200.0%2060.0%20Z%27%20fill%3D%27white%27%2F%3E%3Cpath%20d%3D%27M0%200%20L0.0%2060.0%20A60%2060%200%200%201%20-42.4%2042.4%20Z%27%20fill%3D%27%237a7a7a%27%2F%3E%3Cpath%20d%3D%27M0%200%20L-42.4%2042.4%20A60%2060%200%200%201%20-60.0%200.0%20Z%27%20fill%3D%27white%27%2F%3E%3Cpath%20d%3D%27M0%200%20L-60.0%200.0%20A60%2060%200%200%201%20-42.4%20-42.4%20Z%27%20fill%3D%27%237a7a7a%27%2F%3E%3Cpath%20d%3D%27M0%200%20L-42.4%20-42.4%20A60%2060%200%200%201%20-0.0%20-60.0%20Z%27%20fill%3D%27white%27%2F%3E%3Cpath%20d%3D%27M0%200%20L-0.0%20-60.0%20A60%2060%200%200%201%2042.4%20-42.4%20Z%27%20fill%3D%27%237a7a7a%27%2F%3E%3Cpath%20d%3D%27M0%200%20L42.4%20-42.4%20A60%2060%200%200%201%2060.0%20-0.0%20Z%27%20fill%3D%27white%27%2F%3E%3Ccircle%20r%3D%2760%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%275%27%2F%3E%3Ccircle%20r%3D%2712%27%20fill%3D%27white%27%2F%3E%3Ccircle%20r%3D%275%27%20fill%3D%27black%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27130%27%20height%3D%27130%27%20viewBox%3D%270%200%20130%20130%27%3E%3Cg%20transform%3D%27translate%2865%2065%29%27%3E%3Cpath%20d%3D%27M0%200%20L60.0%200.0%20A60%2060%200%200%201%2042.4%2042.4%20Z%27%20fill%3D%27%237a7a7a%27%2F%3E%3Cpath%20d%3D%27M0%200%20L42.4%2042.4%20A60%2060%200%200%201%200.0%2060.0%20Z%27%20fill%3D%27white%27%2F%3E%3Cpath%20d%3D%27M0%200%20L0.0%2060.0%20A60%2060%200%200%201%20-42.4%2042.4%20Z%27%20fill%3D%27%237a7a7a%27%2F%3E%3Cpath%20d%3D%27M0%200%20L-42.4%2042.4%20A60%2060%200%200%201%20-60.0%200.0%20Z%27%20fill%3D%27white%27%2F%3E%3Cpath%20d%3D%27M0%200%20L-60.0%200.0%20A60%2060%200%200%201%20-42.4%20-42.4%20Z%27%20fill%3D%27%237a7a7a%27%2F%3E%3Cpath%20d%3D%27M0%200%20L-42.4%20-42.4%20A60%2060%200%200%201%20-0.0%20-60.0%20Z%27%20fill%3D%27white%27%2F%3E%3Cpath%20d%3D%27M0%200%20L-0.0%20-60.0%20A60%2060%200%200%201%2042.4%20-42.4%20Z%27%20fill%3D%27%237a7a7a%27%2F%3E%3Cpath%20d%3D%27M0%200%20L42.4%20-42.4%20A60%2060%200%200%201%2060.0%20-0.0%20Z%27%20fill%3D%27white%27%2F%3E%3Ccircle%20r%3D%2760%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%275%27%2F%3E%3Ccircle%20r%3D%2712%27%20fill%3D%27white%27%2F%3E%3Ccircle%20r%3D%275%27%20fill%3D%27black%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / contain no-repeat; mask-mode: luminance; background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 45%, white), var(--ac) 50%, color-mix(in srgb, var(--ac) 55%, black)); animation: gc-spin 12s linear infinite; }
.y button[aria-label="Рейтинг недели"] { position: relative; overflow: hidden; isolation: isolate; }
.y button[aria-label="Рейтинг недели"] > * { position: relative; z-index: 2; }
.y button[aria-label="Рейтинг недели"]::after { content: ""; position: absolute; z-index: 1; width: 104px; height: 78px; right: 18px; bottom: -6px; pointer-events: none; opacity: .9; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27120%27%20height%3D%2790%27%20viewBox%3D%270%200%20120%2090%27%3E%3Crect%20x%3D%2742%27%20y%3D%2718%27%20width%3D%2736%27%20height%3D%2772%27%20rx%3D%276%27%20fill%3D%27white%27%2F%3E%3Crect%20x%3D%272%27%20y%3D%2742%27%20width%3D%2736%27%20height%3D%2748%27%20rx%3D%276%27%20fill%3D%27%23b0b0b0%27%2F%3E%3Crect%20x%3D%2782%27%20y%3D%2756%27%20width%3D%2736%27%20height%3D%2734%27%20rx%3D%276%27%20fill%3D%27%238c8c8c%27%2F%3E%3Ctext%20x%3D%2760%27%20y%3D%2752%27%20text-anchor%3D%27middle%27%20font-family%3D%27Arial%20Black%2CArial%2Csans-serif%27%20font-weight%3D%27900%27%20font-size%3D%2724%27%20fill%3D%27black%27%3E1%3C%2Ftext%3E%3Ctext%20x%3D%2720%27%20y%3D%2770%27%20text-anchor%3D%27middle%27%20font-family%3D%27Arial%20Black%2CArial%2Csans-serif%27%20font-weight%3D%27900%27%20font-size%3D%2718%27%20fill%3D%27black%27%3E2%3C%2Ftext%3E%3Ctext%20x%3D%27100%27%20y%3D%2780%27%20text-anchor%3D%27middle%27%20font-family%3D%27Arial%20Black%2CArial%2Csans-serif%27%20font-weight%3D%27900%27%20font-size%3D%2716%27%20fill%3D%27black%27%3E3%3C%2Ftext%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27120%27%20height%3D%2790%27%20viewBox%3D%270%200%20120%2090%27%3E%3Crect%20x%3D%2742%27%20y%3D%2718%27%20width%3D%2736%27%20height%3D%2772%27%20rx%3D%276%27%20fill%3D%27white%27%2F%3E%3Crect%20x%3D%272%27%20y%3D%2742%27%20width%3D%2736%27%20height%3D%2748%27%20rx%3D%276%27%20fill%3D%27%23b0b0b0%27%2F%3E%3Crect%20x%3D%2782%27%20y%3D%2756%27%20width%3D%2736%27%20height%3D%2734%27%20rx%3D%276%27%20fill%3D%27%238c8c8c%27%2F%3E%3Ctext%20x%3D%2760%27%20y%3D%2752%27%20text-anchor%3D%27middle%27%20font-family%3D%27Arial%20Black%2CArial%2Csans-serif%27%20font-weight%3D%27900%27%20font-size%3D%2724%27%20fill%3D%27black%27%3E1%3C%2Ftext%3E%3Ctext%20x%3D%2720%27%20y%3D%2770%27%20text-anchor%3D%27middle%27%20font-family%3D%27Arial%20Black%2CArial%2Csans-serif%27%20font-weight%3D%27900%27%20font-size%3D%2718%27%20fill%3D%27black%27%3E2%3C%2Ftext%3E%3Ctext%20x%3D%27100%27%20y%3D%2780%27%20text-anchor%3D%27middle%27%20font-family%3D%27Arial%20Black%2CArial%2Csans-serif%27%20font-weight%3D%27900%27%20font-size%3D%2716%27%20fill%3D%27black%27%3E3%3C%2Ftext%3E%3C%2Fsvg%3E") center / contain no-repeat; mask-mode: luminance; background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 45%, white), var(--ac) 50%, color-mix(in srgb, var(--ac) 55%, black)); animation: gc-rise 4.5s ease-in-out infinite; }
.y button[aria-label="Квиз дня"] > span:nth-child(3), .y button[aria-label="Битва групп"] > span:nth-child(3) { max-width: calc(100% - 30px); }
.y button[aria-label="Колесо дня"] > svg.amb-spin { display: none !important; }
.y button[aria-label="Колесо дня"] { grid-template-columns: minmax(0, 1fr) auto !important; padding-left: 18px !important; }
.y button[aria-label="Колесо дня"] > :last-child { margin-right: 74px; }
.y button[aria-label="Рейтинг недели"] > span:first-child { display: none !important; }
.y button[aria-label="Рейтинг недели"] { grid-template-columns: minmax(0, 1fr) !important; padding-left: 18px !important; min-height: 78px; }
.y button[aria-label="Квиз дня"], .y button[aria-label="Битва групп"] { min-height: 170px !important; }
.y button[aria-label="Квиз дня"] > span:nth-child(3), .y button[aria-label="Битва групп"] > span:nth-child(3) { max-width: 100% !important; }
.still .y button[aria-label]::after, .y.still button[aria-label]::after { animation: none !important; opacity: .9 !important; }
@media (prefers-reduced-motion: reduce) { .y button[aria-label]::after { animation: none !important; } }
.y button[aria-label="Квиз дня"] > :last-child, .y button[aria-label="Битва групп"] > :last-child { margin-right: 62px; }
.lines > button.g-way { border: 0; }
.lines > button.g-way + button.g-way { border-top: 1px solid rgba(255,255,255,.06); }
