/* Mobile overrides; desktop presentation remains governed by existing styles. */
@media (max-width: 767px) {
 html, body { min-width:0 !important; width:100%; margin:0; }
 body { font-size:14px; }
 .lhgmq-mobile-header {height:auto !important;min-height:62px;}
 .lhgmq-mobile-header > div {display:flex;align-items:center;flex-wrap:wrap;}
 .lhgmq-mobile-header > div > a {margin-right:auto;}
 .lhgmq-mobile-header span {float:none !important;padding:0 6px !important;}
 .lhgmq-mobile-nav {height:auto !important;min-height:44px;position:relative;z-index:1000 !important;}
 #cssmenu {display:block !important;}
 #cssmenu #menu-button {min-height:44px;box-sizing:border-box;}
 #cssmenu ul ul {display:none !important;position:static !important;width:100% !important;opacity:1 !important;visibility:visible !important;}
 #cssmenu li.lhgmq-menu-open > ul {display:block !important;}
 #cssmenu li {position:relative;}
 #cssmenu li > a {min-height:44px;box-sizing:border-box;padding-right:48px !important;}
 #cssmenu .submenu-button {display:none !important;}
 .lhgmq-submenu-toggle {position:absolute;right:0;top:0;width:44px;height:44px;border:0;background:transparent;color:inherit;font-size:22px;cursor:pointer;}
 .STHSIndex_Main,.STHSPHPTeamStat_Main,.tabsmain,.tabmain-content,.tabmain,
 .STHSPHPPlayerStat_PlayerNameHeader {min-width:0 !important;max-width:100% !important;width:100% !important;box-sizing:border-box;}
 .tabsmain > ul {display:flex !important;flex-wrap:wrap !important;width:100% !important;box-sizing:border-box;}
 .tabsmain > ul > li {float:none !important;}
 .tabsmain > ul > li > a {min-height:44px;box-sizing:border-box;display:flex;align-items:center;}
 .lhgmq-home-layout,.lhgmq-home-layout > tbody {display:block;width:100% !important;}
 .lhgmq-home-layout > tbody > tr {display:flex;flex-direction:column;gap:16px;}
 .lhgmq-home-layout > tbody > tr > td {display:block !important;width:100% !important;min-width:0 !important;box-sizing:border-box;}
 .lhgmq-home-layout .lhgmq-home-news {order:1;padding:12px !important;overflow-wrap:anywhere;}
 .lhgmq-home-layout .lhgmq-home-headlines {order:0;padding:12px !important;}
 .lhgmq-home-layout .lhgmq-home-stars {order:2;padding:12px !important;}
 .lhgmq-home-layout > tbody > tr > td.lhgmq-home-spacer {display:none !important;}
 .lhgmq-home-news img {max-width:100%;height:auto;}
 .lhgmq-home-news h2,.lhgmq-home-news p,.lhgmq-home-news div {max-width:100%;box-sizing:border-box;}
 .lhgmq-home-news {font-size:14px !important;line-height:1.5;}
 .lhgmq-table-scroll {display:block;max-width:100%;width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box;}
 .lhgmq-table-scroll:focus-visible {outline:2px solid #236192;outline-offset:2px;}
 .lhgmq-table-scroll > table {font-size:13px !important;}
 .lhgmq-table-scroll th,.lhgmq-table-scroll td {font-size:13px !important;}
 .lhgmq-table-scroll > table.STHSWaiver_Table {min-width:620px;}
 .lhgmq-mobile-team-layout,.lhgmq-mobile-team-layout > tbody,.lhgmq-mobile-team-layout > tbody > tr {display:block;width:100%;}
 .lhgmq-mobile-team-layout > tbody > tr > td {display:block;width:100% !important;box-sizing:border-box;}
 .lhgmq-mobile-team-layout > tbody > tr > td:empty {display:none;}
}
@media (min-width:768px) {.lhgmq-submenu-toggle {display:none;}}
@media (max-width:767px) {
 .lhgmq-fluid-container {min-width:0 !important;max-width:100% !important;width:100% !important;box-sizing:border-box;}
 .tabsmain ul.tabmain-links {display:flex !important;flex-wrap:wrap !important;white-space:normal !important;width:100% !important;padding:0 !important;box-sizing:border-box;}
 .tabsmain ul.tabmain-links > li {float:none !important;width:auto !important;flex:0 0 auto;}
 .tabsmain ul.tabmain-links > li > a {display:flex;align-items:center;min-height:44px;margin:0 !important;padding:0 12px !important;width:auto !important;box-sizing:border-box;}
}
@media (max-width:767px) {
 table.lhgmq-game-card {width:calc(100% - 16px) !important;max-width:calc(100% - 16px);margin-left:8px !important;margin-right:8px !important;table-layout:fixed;font-size:13px !important;}
 table.lhgmq-game-card td {font-size:13px !important;overflow-wrap:anywhere;}
 table.lhgmq-game-card td span {max-width:100%;white-space:normal !important;}
}

@media (max-width:767px) {
 .lhgmq-mobile-secondary {display:none !important;}
}
@media (max-width:767px) {
 .tabsmain.standard {height:auto !important;min-height:48px;}
 .tabsmain ul.tabmain-links {
  display:flex !important;flex-wrap:nowrap !important;justify-content:flex-start !important;
  width:100% !important;max-width:100% !important;min-width:0 !important;
  height:auto !important;min-height:48px;margin:0 !important;padding:0 !important;
  position:relative !important;z-index:1 !important;overflow-x:auto;overflow-y:hidden;
  white-space:nowrap !important;list-style:none;box-sizing:border-box;
  background:#fff;border-bottom:1px solid #ddd;overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
 }
 .tabsmain ul.tabmain-links > li {display:block !important;float:none !important;flex:0 0 auto;width:auto !important;margin:0 !important;padding:0 !important;}
 .tabsmain ul.tabmain-links > li > a {
  display:flex !important;align-items:center;justify-content:center;white-space:nowrap !important;
  height:48px !important;min-height:48px;width:auto !important;margin:0 !important;
  padding:0 14px !important;font-size:13px !important;line-height:normal !important;
  letter-spacing:normal !important;box-sizing:border-box;text-decoration:none;
 }
 .tabsmain ul.tabmain-links > li.activemain > a {font-weight:bold;border-bottom-width:3px !important;border-bottom-style:solid !important;}
}
@media (max-width:767px) {
 .tabsmain #cssmenu {width:100%;min-width:0;}
 .tabsmain #cssmenu #menu-button,.tabsmain #cssmenu .submenu-button {display:none !important;}
 .tabsmain #cssmenu ul.tabmain-links {height:48px !important;min-height:48px !important;line-height:normal !important;border:0;border-bottom:1px solid #ddd;}
 .tabsmain #cssmenu ul.tabmain-links::before,.tabsmain #cssmenu ul.tabmain-links::after {display:none !important;}
 .tabsmain #cssmenu ul.tabmain-links > li > a {padding:0 14px !important;}
}
@media (max-width:767px) {
 .lhgmq-lines-panel .lhgmq-table-scroll {overflow:visible;}
 .lhgmq-lines-panel table {min-width:0 !important;width:100% !important;table-layout:fixed;}
 .lhgmq-lines-cards,.lhgmq-lines-cards > tbody {display:block;width:100%;}
 .lhgmq-lines-cards > tbody > tr {display:flex;flex-wrap:wrap;width:100%;gap:4px;margin-bottom:8px;}
 .lhgmq-lines-cards > tbody > tr > td,.lhgmq-lines-cards > tbody > tr > th {flex:1 1 0;min-width:0;width:auto !important;box-sizing:border-box;font-size:12px !important;overflow-wrap:anywhere;text-align:center;}
 .lhgmq-lines-cards p {margin:6px 2px !important;line-height:1.4;font-size:12px !important;}
 .lhgmq-lines-cards img[src*="mugs"] {width:64px !important;height:64px !important;max-width:100%;object-fit:contain;border-width:2px !important;}
 .lhgmq-lines-cards img[src*="LogoTeams"] {display:none !important;}
 .lhgmq-depth-panel .lhgmq-table-scroll:has(.lhgmq-depth-groups) {overflow:visible;}
 .lhgmq-depth-groups,.lhgmq-depth-groups > tbody {display:block;width:100% !important;min-width:0 !important;}
 .lhgmq-depth-groups > tbody > tr:first-child {display:none;}
 .lhgmq-depth-groups > tbody > tr:not(:first-child) {display:block;}
 .lhgmq-depth-groups > tbody > tr > td {display:block;width:100% !important;padding:0 !important;margin-bottom:16px;box-sizing:border-box;}
 .lhgmq-depth-groups td[data-depth-position]::before {content:attr(data-depth-position);display:block;background:#151e2d;color:#fff;padding:10px 12px;font-weight:bold;font-size:14px;}
 .lhgmq-depth-panel .STHSPHPTeamStatDepthChart_Table {min-width:0 !important;width:100% !important;}
 .lhgmq-depth-panel .STHSPHPTeamStatDepthChart_Table tr {display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;border-bottom:1px solid #eee;padding:8px 4px;gap:6px;}
 .lhgmq-depth-panel .STHSPHPTeamStatDepthChart_Table td:nth-child(n) {display:block !important;width:auto !important;min-width:0 !important;padding:0 !important;font-size:12px !important;white-space:normal !important;overflow-wrap:anywhere;}
 .lhgmq-depth-panel .STHSPHPTeamStatDepthChart_Table td:first-child {font-size:14px !important;}
 .lhgmq-history-panel .contentItem__header,.lhgmq-history-panel .contentItem__header__wrapper {display:block !important;width:100% !important;max-width:100%;height:auto !important;min-height:0 !important;overflow:visible !important;box-sizing:border-box;}
 .lhgmq-history-panel .contentItem__logo {display:block !important;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;width:100% !important;height:auto !important;line-height:1.6 !important;font-size:14px !important;padding:10px !important;box-sizing:border-box;overflow-wrap:anywhere;}
 .lhgmq-history-panel .contentItem__logo > img {width:28px !important;height:28px !important;float:left;margin:0 8px 4px 0;}
 .lhgmq-history-panel .teamLogo--fancy {display:none !important;}
}
.lhgmq-lines-mobile-name {display:none;}
@media (max-width:767px) {
 .lhgmq-lines-cards img[src*="mugs"] {width:84px !important;height:84px !important;}
 .lhgmq-lines-cards,.lhgmq-lines-cards * {text-shadow:none !important;}
 .lhgmq-lines-cards .lhgmq-lines-desktop-name {display:none;}
 .lhgmq-lines-cards .lhgmq-lines-mobile-name {display:block;}
 .lhgmq-lines-jersey,.lhgmq-lines-player-name {display:block;line-height:1.4;}
 .lhgmq-lines-jersey {margin-bottom:2px;}
}
