/*
 * Six-course board selector.
 * No new game rows or scrolling: phones use three columns by two rows.
 * Tier accents continue to come from the shared Aurora Vale biome CSS.
 */
.map-menu[hidden]{display:none}
.map-menu {
  width:min(370px,calc(100% - 12px));
  max-height:min(356px,calc(100% - 63px));
}
.map-option { min-height:38px; margin-bottom:2px; }
.map-option-body strong { overflow-wrap:anywhere; }
.map-option-body small { overflow-wrap:anywhere; white-space:normal; }
@media (max-width:920px) and (orientation:portrait) {
  .map-menu:not([hidden]) {
    max-height:calc(100% - 49px);
    padding:4px;
  }
  .map-menu-title { margin:2px 3px 3px; }
  .map-option { min-height:35px; height:35px; margin-bottom:2px; }
}
@media (max-width:440px) and (orientation:portrait),
       (max-width:760px) and (orientation:landscape),
       (max-height:450px) and (orientation:landscape) {
  .map-menu:not([hidden]) {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:auto repeat(2,52px);
    column-gap:3px;
    row-gap:3px;
    align-content:start;
    left:4px;
    top:45px;
    padding:3px;
    width:calc(100% - 8px);
    max-height:calc(100% - 49px);
    overflow:hidden;
  }
  .map-menu-title {
    grid-column:1 / -1;
    grid-row:1;
    margin:0 3px 1px;
  }
  .map-menu-title span { font-size:7px; }
  .map-option {
    min-width:0;
    height:52px;
    min-height:52px;
    margin:0;
    padding:3px 4px;
    gap:3px;
    overflow:hidden;
  }
  .map-option-no { width:20px;height:22px;flex:0 0 20px;font-size:9px; }
  .map-option-body {min-width:0;gap:2px;}
  .map-option-body strong {font-size:8px;line-height:1.05;white-space:normal;}
  .map-option-body small {font-size:7px;line-height:1.08;white-space:normal;}
}
@media (min-width:376px) and (max-width:440px) and (orientation:portrait),
       (min-width:540px) and (max-height:450px) and (orientation:landscape) {
  .map-option-body strong{font-size:10px}
  .map-option-body small{font-size:8px}
  .map-option-no {width:23px;height:24px;flex:0 0 23px}
}
