/* Рядом · Обе игры доступны на сайте/Android/iPhone одинаково, 2026-11-13. */
body.rl-theme #pane-home .home-game-links{display:block;min-width:0;width:100%;margin:10px 0 17px;color:var(--rl-text)}
/* When a home tool is open, only that tool should be visible—not the games. */
body.rl-theme #pane-home .wrap:has(#homeCatalog[hidden]) > .home-game-links{display:none!important}
body.rl-theme #pane-home .home-game-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 10px}
body.rl-theme #pane-home .home-game-head h2{margin:0;font-size:18px;font-weight:820;color:var(--rl-text)}
body.rl-theme #pane-home .home-game-head>span{font-size:9px;font-weight:820;letter-spacing:.09em;color:var(--rl-primary)}
body.rl-theme #pane-home .home-game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.rl-theme #pane-home .home-game-card{display:flex;align-items:center;gap:10px;min-width:0;width:100%;min-height:87px;padding:11px;border:1px solid var(--rl-outline);border-radius:18px;background:var(--rl-surface);color:var(--rl-text);text-align:left;box-shadow:var(--rl-shadow)}
body.rl-theme #pane-home .home-game-card--life{background:color-mix(in srgb,var(--rl-surface) 90%,#e5f1dd)}
body.rl-theme #pane-home .home-game-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:13px;background:#f1e5f8;font-size:23px}
body.rl-theme #pane-home .home-game-card--life .home-game-icon{background:#e0eddb}
body.rl-theme #pane-home .home-game-copy{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;gap:4px}
body.rl-theme #pane-home .home-game-copy strong{color:var(--rl-text);font-size:13px;font-weight:800;line-height:1.2}
body.rl-theme #pane-home .home-game-copy small{color:var(--rl-text-secondary);font-size:10px;line-height:1.4}
body.rl-theme #pane-home .home-game-arrow{flex:none;font-size:23px;font-weight:700;color:var(--rl-primary)}
body.rl-theme #pane-home .home-game-card:focus-visible{outline:3px solid var(--rl-primary);outline-offset:3px}
body.rl-theme #pane-more #moreLife .shift-backbar{display:none}
@scope (html.ryadom-desktop-ui) {
@media (min-width:900px){
 body.rl-theme #pane-home .home-game-links{display:none!important}
 body.rl-theme #pane-more #moreLife{position:relative;inset:auto;top:auto;left:auto;right:auto;bottom:auto;z-index:1;
  display:flex;flex-direction:column;width:100%;max-width:none;height:auto;min-height:calc(100dvh - 84px);
  margin:0;padding:18px 25px 25px!important;border:0;border-radius:0;background:var(--site-canvas)}
 body.rl-theme #pane-more #moreLife .shift-backbar{display:flex;flex:0 0 auto;padding:0 0 14px;margin:0}
 body.rl-theme #pane-more #moreLife #lifeFrame{display:block;flex:1 1 auto;width:100%;min-height:max(640px,calc(100dvh - 176px));
  height:calc(100dvh - 176px);border:1px solid var(--site-border);border-radius:20px;overflow:hidden;
  background:#fcf5ec;box-shadow:var(--site-shadow)}
 body.rl-theme #pane-home .desktop-showcase-grid>.desktop-showcase-card:last-child:nth-child(3n + 1){grid-column:1/-1;min-height:185px}
 body.rl-theme #pane-home .desktop-showcase-grid>.desktop-showcase-card:last-child:nth-child(3n + 1) .desktop-showcase-card-art{width:31%;right:2%}
 @media(max-width:1450px){
  body.rl-theme #pane-home .desktop-showcase-grid>.desktop-showcase-card:last-child:nth-child(odd){grid-column:1/-1;min-height:185px}
  body.rl-theme #pane-home .desktop-showcase-grid>.desktop-showcase-card:last-child:nth-child(odd) .desktop-showcase-card-art{width:31%;right:2%}
 }
 @media(max-width:1050px){body.rl-theme #pane-more #moreLife{padding:12px 14px 18px!important}}
}
}
@media(max-width:370px){body.rl-theme #pane-home .home-game-card{gap:6px;min-height:78px;padding:8px 7px}
body.rl-theme #pane-home .home-game-icon{flex-basis:34px;width:34px;height:34px;font-size:19px}
body.rl-theme #pane-home .home-game-copy small{font-size:9px}
body.rl-theme #pane-home .home-game-copy strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){body.rl-theme #pane-home .home-game-card{transition:none!important}}
