/* Mobile model board layout aligned with the NHL goals page. */
@media (max-width: 720px) {
  .container { padding: 14px !important; }
  .header {
    width: 100%;
    min-height: 0;
    align-items: stretch !important;
    flex-direction: column !important;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 26px;
  }
  .brand { font-size: 21px; }
  .brand-badge { width: 40px; height: 40px; border-radius: 11px; }
  .nav {
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
  }
  .board-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 5px;
    overflow: visible;
    border-color: #26365b;
    background: #07102d;
    box-shadow: none;
  }
  .board-toggle > .sport-menu {
    flex: 1 1 calc((100% - 10px) / 3);
    min-width: 0;
  }
  .board-toggle .sport-trigger {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 6px;
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
  }
  .board-toggle .sport-trigger img { width: 22px; height: 22px; flex: 0 0 22px; }
  .board-toggle > .edge-lab-trigger {
    flex: 1 1 100%;
    min-height: 44px;
    justify-content: center;
    font-weight: 650 !important;
  }
  .nav > a { padding: 7px 10px; font-weight: 400; }
  .header .board-toggle .sport-dropdown {
    left: 0 !important;
    right: auto !important;
    width: min(260px, calc(100vw - 28px));
    max-height: min(70vh, 360px);
    overflow-y: auto;
  }
  .header .board-toggle > .sport-menu:nth-child(3) > .sport-dropdown {
    left: auto !important;
    right: 0 !important;
  }

  .page-title { align-items: flex-start; gap: 12px; margin-bottom: 22px; }
  .page-title > div:first-child { min-width: 0; }
  .hero-title { font-size: 38px; line-height: 1.05; }
  .league-pill { margin-left: 5px; }
  .hero-sub { font-size: 15px; line-height: 1.4; }
  .page-glossary-button { align-self: flex-start; }

  .toolbar { align-items: flex-start; gap: 10px; margin: 18px 0; }
  .toolbar-left { display: flex; width: 100%; align-items: center; gap: 10px; flex-wrap: wrap; }
  .toolbar-left > .search {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    min-height: 44px;
    border-color: #29385e;
    background-color: #091331;
  }
  .toolbar-left > .game-filter-wrap,
  .toolbar-left > .game-picker {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
  .game-filter-btn, .game-picker-btn {
    min-height: 50px;
    border-color: #29385e;
    background-color: #091331;
  }
  .game-picker-btn { height: auto !important; padding: 8px 13px !important; }
  .game-filter-menu, .game-picker-menu { width: 100% !important; max-width: 100% !important; }
  .toolbar-left > .select-filter { min-height: 44px; }
  .updated, .updated-inline { margin-left: 0; white-space: normal; }
  .toolbar-right { justify-content: flex-start; }
}
@media (max-width: 360px) {
  .board-toggle .sport-trigger { gap: 4px; font-size: 13px; }
  .board-toggle .sport-trigger img { width: 19px; height: 19px; flex-basis: 19px; }
}
