/* mobile.css — 72号工程双轨视口与移动仿真器挂件样式 (依据 ADR-0520 / Rule LV / Rule XXXV 垂直化拆分) */

/* 视口切换浮动挂件 (Dock) */
.viewport-dock {
  position: fixed;
  top: 12px;
  right: 20px;
  z-index: 1000;
  background: var(--bg-surface);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dock-btn {
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}
.dock-btn.active {
  background: var(--primary);
  color: var(--text-inverse);
}
.theme-switcher {
  display: flex;
  gap: 4px;
  border-left: 1px solid var(--border-color);
  padding-left: 8px;
}
.theme-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 2px 4px;
}

/* 视口仿真器容器 (ADR-0520) */
.app-viewport-wrapper {
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 60px;
}

/* PC 模式 (全屏工业大屏) */
.app-viewport-wrapper.mode-pc .mobile-device-chassis {
  width: 100%;
  max-width: 1360px;
  min-height: calc(100vh - 80px);
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 20px 40px;
}
.app-viewport-wrapper.mode-pc .device-notch,
.app-viewport-wrapper.mode-pc .device-chin {
  display: none;
}

/* 移动端仿真机壳 (393×852px 视口) */
.app-viewport-wrapper.mode-mobile .mobile-device-chassis {
  width: 410px;
  height: 860px;
  background: var(--bg-surface);
  border: 10px solid #1e293b;
  border-radius: 48px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 40px;
}
.app-viewport-wrapper.mode-mobile .device-notch {
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}
.dynamic-island {
  width: 110px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
}
.device-chin {
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-bar {
  width: 130px;
  height: 4px;
  background: #94a3b8;
  border-radius: 4px;
}
.mobile-screen-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
}
