/* 모바일 반응형 스타일 - 모든 페이지에 적용 */
@media (max-width: 768px) {
  .site-header {
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px) !important;
  }

  .header-brand {
    margin-left: 0 !important;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: space-between;
  }

  .header-brand--stacked {
    justify-content: flex-start;
  }

  .header-brand--stacked .header-brand-center {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
  }

  .header-brand--stacked .header-title {
    text-align: left;
  }

  .header-brand--stacked .header-secondary-icons {
    gap: 2px;
    transform: translate(6px, -8px);
  }

  .header-login-container {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    transform: none !important;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-nav .header-login-container {
    margin-left: 0 !important;
  }

  .header-login-toggle {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .baseball-points-button {
    padding: 6px 10px;
    font-size: 12px;
  }

  .header-secondary-icons .baseball-points-button {
    padding: 4px 8px !important;
    font-size: 11px !important;
  }

  .notification-icon-button {
    padding: 6px;
    font-size: 18px;
  }

  .header-secondary-icons .notification-icon-button {
    width: 40px;
    height: 40px;
    padding: 8px !important;
  }

  .header-secondary-icons .message-icon-button {
    width: 40px;
    height: 40px;
    padding: 8px !important;
    margin: 0 !important;
  }

  .header-title {
    font-size: 18px;
  }

  .header-logo img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .header-brand {
    flex-wrap: wrap;
    gap: 8px;
  }

  .header-brand--stacked {
    flex-wrap: nowrap;
  }

  .header-login-container {
    width: 100%;
    justify-content: flex-end;
    margin-top: 8px;
  }

  .header-nav .header-login-container {
    width: 100%;
    margin-top: 0;
    justify-content: flex-end;
  }

  .header-login-toggle {
    padding: 6px 10px;
    font-size: 11px;
  }
}
