// 手机版容器样式 - 用于PC端显示手机版效果
.mobile-container {
  width: 100%;
  min-height: 100vh;
  position: relative;
  
  // PC端样式 - 768px以上显示手机版效果
  @media screen and (min-width: 768px) {
    max-width: 414px;
    width: 414px !important;
    margin: 0 auto;
    min-height: auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    
    // 确保内容不超出容器
    * {
      max-width: 100%;
    }
  }
  
  // 大屏幕设备 - 1024px以上
  @media screen and (min-width: 1024px) {
    max-width: 375px;
    width: 375px !important;
  }
  
  // 超大屏幕设备 - 1440px以上  
  @media screen and (min-width: 1440px) {
    max-width: 414px;
    width: 414px !important;
  }
}

// PC端页面背景
@media screen and (min-width: 768px) {
  body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
  }
  
  // 主应用容器
  #app {
    max-width: 414px !important;
    width: 414px !important;
    margin: 0 auto;
    background-color: transparent;
    position: relative;
  }
  
  // 页面容器
  page {
    max-width: 414px !important;
    width: 414px !important;
    margin: 0 auto;
    background-color: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  }
  
  // Taro页面容器
  .taro_page {
    max-width: 414px !important;
    width: 414px !important;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
  }
  
  // 底部导航栏在PC端的样式调整
  .nut-tabbar {
    max-width: 414px !important;
    width: 414px !important;
    margin: 0 auto;
    border-radius: 0 0 12px 12px;
  }
}

// 移动端保持原有样式
@media screen and (max-width: 767px) {
  .mobile-container {
    width: 100%;
    min-height: 100vh;
  }
}
