/* Только бесплатная подборка и новые обложки от 26.10.2026. */
.topic.free-materials-trigger,.topic.free-materials-trigger:hover,.topic.free-materials-trigger:focus-visible{background:#e5f584!important;color:#211736!important;border:1px solid #c9dd65;border-radius:12px;font-weight:800;line-height:1.35;animation:free-games-lime-pulse 2.6s ease-in-out infinite}
.topic.free-materials-trigger span{color:#211736!important}.topic.free-materials-trigger .topic-icon{color:#211736!important}
@keyframes free-games-lime-pulse{0%,100%{background:#e5f584;box-shadow:0 0 0 0 #d5ee6555;filter:brightness(1)}50%{background:#d9f16f;box-shadow:0 0 0 4px #d5ee6544,0 3px 16px #c8e95155;filter:brightness(1.06)}}
#free-materials-dialog.free-games-expanded{width:min(980px,calc(100vw - 32px));max-height:min(850px,calc(100dvh - 32px));padding:0;overflow:hidden;border-radius:24px}
#free-materials-dialog.free-games-expanded[open]{display:flex;flex-direction:column}
.free-games-heading{flex:none;padding:28px 28px 15px;background:#fff;border-bottom:1px solid #e3e0e8}
.free-games-kicker{display:block;font-size:11px;letter-spacing:1.3px;font-weight:750;color:#6e42d6;padding-right:32px}
#free-materials-dialog.free-games-expanded h2{font-size:30px;line-height:1.15;margin:10px 0 12px;padding-right:32px;overflow-wrap:normal;word-break:normal}
#free-materials-dialog.free-games-expanded p{margin:0 0 15px;line-height:1.5}
.free-games-search{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#76707f}
.free-games-search input{box-sizing:border-box;width:100%;min-width:0;padding:13px 15px;border:1px solid #dad6e5;background:#f7f6fa;border-radius:12px;font-size:16px;color:#211736}
.free-games-count{display:block;margin-top:10px;font-size:12px;color:#76707f}
.free-games-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 28px 28px;-webkit-overflow-scrolling:touch}
#free-games-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0}
#free-games-list li{min-width:0}#free-games-list li[hidden]{display:none}
.free-game-item{display:flex;align-items:flex-start;gap:13px;height:100%;min-height:124px;padding:18px;border:1px solid #e3e0e8;border-radius:17px;background:#fbfafc;color:#211736;text-decoration:none;transition:background .18s,border-color .18s}
.free-game-item:hover{background:#f1f7d5;border-color:#cadc79}.free-game-item:focus-visible{outline:3px solid #6e42d6;outline-offset:2px}
.free-game-number{flex:0 0 32px;display:grid;place-items:center;height:32px;border-radius:10px;background:#e5f584;color:#211736;font-size:12px;font-weight:750}
.free-game-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.free-game-copy small{font-size:11px;color:#76707f}.free-game-copy strong{font-size:16px;line-height:1.35;font-weight:700;overflow-wrap:normal;word-break:normal}.free-game-action{font-size:12px;font-weight:700;color:#6e42d6;margin-top:4px}
#free-materials-dialog .free-games-empty{padding:12px 0;color:#76707f}
.cover-link:has(img[src*="/catalog-covers-20261026/"]),.spotlight-image:has(img[src*="/catalog-covers-20261026/"]){aspect-ratio:1/1;height:auto}
.cover-link img[src*="/catalog-covers-20261026/"],.spotlight-image img[src*="/catalog-covers-20261026/"]{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}
.catalog-variant-open{flex:1 1 130px;padding:12px 14px;border-radius:10px;border:1px solid #d8c9ee;background:#f3edfc;color:#6337bf;text-align:center;font-size:14px;font-weight:600}
@media(max-width:620px){#free-materials-dialog.free-games-expanded{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:19px}.free-games-heading{padding:24px 18px 13px}#free-materials-dialog.free-games-expanded h2{font-size:26px}.free-games-scroll{padding:14px 18px 20px}#free-games-list{grid-template-columns:1fr;gap:10px}.free-game-item{padding:14px;min-height:108px}.free-game-copy strong{font-size:15px}.free-game-number{flex-basis:28px;height:28px}}
@media(prefers-reduced-motion:reduce){.topic.free-materials-trigger{animation:none!important}}

/* Обложки и рассылки только внутри бесплатной подборки. */
#free-materials-dialog.free-games-with-covers{width:min(1080px,calc(100vw - 32px))}
.free-games-with-covers #free-games-list{gap:18px}
.free-games-with-covers .free-game-item{display:flex;flex-direction:column;gap:0;padding:0;min-height:0;overflow:hidden;height:100%}
.free-game-visual{position:relative;display:block;width:100%;aspect-ratio:16/9;background:#f0edf7;overflow:hidden}
.free-game-visual img{display:block;width:100%;height:100%;object-fit:contain}
.free-games-with-covers .free-game-number{position:absolute;top:10px;left:10px;width:32px;height:32px;box-shadow:0 1px 7px #21173624}
.free-games-with-covers .free-game-copy{flex:1;padding:17px 18px 19px;width:100%;box-sizing:border-box}
.free-games-with-covers .free-game-action{margin-top:auto;padding-top:10px}
.free-newsletter{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;border:1px solid #ded5ef;border-radius:17px;background:#f3eefb;margin:0 0 20px;color:#211736}
.free-newsletter:last-child{margin:22px 0 0}
.free-newsletter strong{display:block;font-size:16px;line-height:1.35}
#free-materials-dialog .free-newsletter p{font-size:13px;color:#71677c;margin:4px 0 0;line-height:1.4}
.free-newsletter-links{display:flex;flex-wrap:wrap;gap:8px}
.free-newsletter-links a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;border:1px solid #6e42d6;border-radius:11px;font-size:13px;line-height:1.35;font-weight:700;color:#fff;background:#6e42d6;text-decoration:none;text-align:center}
.free-newsletter-links a+a{color:#211736;background:#e5f584;border-color:#cfdf8c}
.free-newsletter-links a:hover{filter:brightness(1.07)}
.free-newsletter-links a:focus-visible{outline:3px solid #211736;outline-offset:3px}
@media(max-width:620px){#free-materials-dialog.free-games-with-covers{width:calc(100vw - 20px)}.free-games-with-covers #free-games-list{gap:14px}.free-games-with-covers .free-game-copy{padding:14px 15px 16px}.free-newsletter{padding:15px;gap:12px}.free-newsletter-links{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.free-newsletter-links a{padding:9px 7px;font-size:12px}.free-newsletter strong{font-size:15px}}

/* Бесплатные результаты общего поиска доступны при любом статусе подписки. */
.free-search-card .cover-link{aspect-ratio:16/9;height:auto;background:#f0edf7}
.free-search-card .cover-link img{width:100%;height:100%;object-fit:contain}
.free-search-badge{display:inline-block;align-self:flex-start;padding:6px 10px;margin-bottom:12px;border-radius:8px;background:#e5f584;color:#211736;font-size:11px;font-weight:800;letter-spacing:.6px}
.free-search-card .free-search-play{background:#e5f584;color:#211736;border:1px solid #cfdf8c}
.free-search-card .free-search-play:hover{background:#d9f16f}

/* Пометки запуска видны и гостям, и подписчикам. */
.material-badges{display:flex;flex-wrap:wrap;gap:7px;margin:2px 0 12px;align-items:flex-start}
.material-badges span{display:inline-block;padding:6px 9px;border-radius:8px;font-size:12px;line-height:1.35;font-weight:650;white-space:normal}
.material-online{background:#f0ebf8;color:#64428b;border:1px solid #e0d5ee}
.material-vpn{background:#fff4d5;color:#705623;border:1px solid #ead6a1}
.free-game-copy .material-badges{margin:3px 0 0}
.premium-floating small{overflow-wrap:normal;word-break:normal;text-wrap:balance}

/* Complete supplied covers and the shared board offer. */
.free-game-visual:has(img[src*="/catalog-covers-20261026/"]),.free-search-card .cover-link:has(img[src*="/catalog-covers-20261026/"]){aspect-ratio:1}
.boards-community-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:28px;padding:24px;margin:0 0 32px;background:#241b36;color:#fff;border-radius:20px}
.boards-community-card[hidden]{display:none}
.boards-community-card img,.boards-community-image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:12px}
.boards-community-image{display:block;margin:0 0 24px}
.boards-community-card h2{font-size:clamp(25px,3vw,36px);line-height:1.15;margin:14px 0}
.boards-community-card p{line-height:1.6;color:#d9cee5}
.boards-community-card .boards-kicker{color:#e5f584}
.boards-community-card .play,.boards-access-links .play{display:block;padding:14px;border-radius:10px;background:#e5f584;color:#211736;text-align:center;text-decoration:none;white-space:normal}
.boards-community-card .game-actions,.boards-access-links{display:flex;flex-direction:column;gap:10px}
.boards-access-links{padding:12px 0}.boards-access-links p{font-size:13px;text-align:center;margin:0}
.catalog-boards-announcement-visual img[src*="nov09-boards-community"]{aspect-ratio:1;object-fit:contain;height:auto}
@media(max-width:700px){.boards-community-card{grid-template-columns:1fr;padding:18px;gap:18px}}

/* Large, centered community actions; never stretch the flex basis vertically. */
.boards-community-card .game-actions{flex-wrap:nowrap}
.boards-community-card .game-actions>.play,.boards-access-links>.play{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:84px;height:auto;padding:22px 24px;font-size:clamp(24px,2.3vw,32px);line-height:1.25;font-weight:750;text-wrap:balance}
#boards-panel .boards-offer>.play,#boards-panel .premium-board>.buy-game{display:flex;align-items:center;justify-content:center;min-height:76px;padding:20px;font-size:clamp(22px,2vw,28px);line-height:1.25;font-weight:750;text-align:center;white-space:normal;text-wrap:balance}
.boards-community-card .legacy-boards-access-note{font-size:18px;line-height:1.5}
@media(max-width:700px){.boards-community-card .game-actions>.play,.boards-access-links>.play{font-size:24px;min-height:78px;padding:20px 16px}#boards-panel .boards-offer>.play,#boards-panel .premium-board>.buy-game{font-size:22px}}
