/* French's shared six-game home. Other builds omit this entry and stylesheet. */
#screen-home .game-cards,
#screen-home .game-cards:has(.card-word-wings) {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  grid-auto-rows: calc((100vh - 92px) / 3);
  grid-auto-rows: max(132px, calc((100svh - 92px) / 3));
  max-height: none;
  min-height: 0;
  gap: 10px;
}
#screen-home .game-launch-card,
#screen-home .card-word-wings {
  min-height: 0;
  max-height: none;
  height: 100%;
  flex: none;
}
#screen-home .card-word-wings {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(145deg, #E2F2FF, #C9EBF7 65%, #FFE1AD);
  border-color: #65B6E8;
  border-bottom-color: #E99548;
}
#screen-home .card-word-wings .launch-go { background: #F59E56; color: #272B45; }
#screen-home .card-word-wings:focus-visible { outline: 3px solid #245EB5; outline-offset: 3px; }
@media (orientation: landscape) and (max-height: 500px) {
  #screen-home .game-cards,
  #screen-home .game-cards:has(.card-word-wings) {
    grid-auto-rows: calc((100vh - 92px) / 3);
    grid-auto-rows: max(84px, calc((100svh - 92px) / 3));
  }
  #screen-home .game-launch-card,
  #screen-home .card-word-wings {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    padding: 8px 14px;
  }
  #screen-home .launch-icon-wrap { width: 56px; }
  #screen-home .launch-text { flex: 1 1 0; min-width: 0; width: auto; }
  #screen-home .launch-go { margin-left: auto; }
}

.parent-settings {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.parent-theme-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.parent-theme-block .world-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.parent-theme-block .world-chip { min-height: 44px; }

/* Compact interface-language menu belongs to the home screen only. */
.native-menu{position:relative;flex:none;z-index:10}.native-menu-button{background:transparent;border:0;border-radius:10px;min-width:44px;min-height:44px;font-size:22px;cursor:pointer}.native-menu-options{position:absolute;top:100%;left:0;max-height:65vh;overflow:auto;min-width:215px;padding:6px;border:1px solid #d2d9dc;border-radius:14px;background:#fff;box-shadow:0 8px 24px #17304a33}.native-menu-options[hidden]{display:none}.native-menu-options button{display:block;width:100%;text-align:left;border:0;border-radius:8px;background:#fff;padding:10px;font:inherit;cursor:pointer}.native-menu-options button:hover,.native-menu-options button:focus{background:#deeeff}.native-menu-options button[aria-current=true]{font-weight:bold;background:#ddf6ed}

#screen-home .card-la-catrina {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(145deg, #F9DBF5, #F5E2BC 65%, #DCB9EE);
  border-color: #B16BBA;
  border-bottom-color: #A97835;
}
#screen-home .card-la-catrina .launch-go { background: #9B4CA9; color: #fff; }
#screen-home .card-la-catrina:focus-visible { outline: 3px solid #773B88; outline-offset: 3px; }

#screen-home .card-starlight-compass {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(145deg, #DCE8FF, #E8EEF9 58%, #FFE5AE);
  border-color: #5579C6;
  border-bottom-color: #C98B2B;
}
#screen-home .card-starlight-compass .launch-go { background: #2D4F9E; color: #FFE8A3; }
#screen-home .card-starlight-compass:focus-visible { outline: 3px solid #2D4F9E; outline-offset: 3px; }
