/* Mobile parity: one shared mobile board-selector style on home and board pages.
   Landscape handset must not inherit the desktop button scale. */
@media (max-width:700px),
       (orientation:landscape) and (max-height:650px) and (max-width:1200px) and (pointer:coarse){
 header.site-header > .gnb .gnb-inner{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:minmax(44px,auto)!important;gap:5px!important;padding:4px 10px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;box-sizing:border-box!important;
  white-space:normal!important;overflow:visible!important;
 }
 header.site-header > .gnb .gnb-inner > a.sg-nav-board{
  display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;
  gap:1px!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:auto!important;min-height:44px!important;max-height:none!important;
  box-sizing:border-box!important;overflow:visible!important;overflow-wrap:anywhere!important;word-break:keep-all!important;
  background:#fff!important;border:1px solid #d7e4f5!important;border-radius:12px!important;
  box-shadow:0 2px 7px #25477a0b!important;padding:4px 3px!important;
  line-height:1.2!important;font-size:12px!important;text-align:center!important;color:#1765bb!important;
 }
 header.site-header > .gnb .gnb-inner > a.sg-nav-board:before{
  content:""!important;display:block!important;flex:0 0 16px!important;
  width:16px!important;height:16px!important;background-color:currentColor!important;
  -webkit-mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M5 3h9l5 5v13H5z"/%3E%3Cpath d="M14 3v6h5M8 13h8M8 17h8"/%3E%3C/svg%3E') center/contain no-repeat!important;
  mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M5 3h9l5 5v13H5z"/%3E%3Cpath d="M14 3v6h5M8 13h8M8 17h8"/%3E%3C/svg%3E') center/contain no-repeat!important;
 }
 header.site-header > .gnb .gnb-inner > a.sg-nav-board.active,
 header.site-header > .gnb .gnb-inner > a.sg-nav-board[aria-current=page]{
  background:#1765d1!important;color:#fff!important;border-color:#1765d1!important;
 }
}
