/* ============================================================
   app.css — 应用外壳（不覆盖设计系统任何已有类）
   只负责：桌面居中容器、移动端全屏、toast、textarea
   ============================================================ */

html, body { height: 100%; }

body {
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* 手机上铺满整屏，去掉演示外框 */
@media (max-width: 430px), (max-height: 700px) {
  body { background: var(--bg); display: block; }
  .phone {
    width: 100%; height: 100%; padding: 0; border-radius: 0;
    background: var(--bg); box-shadow: none;
  }
  .screen { border-radius: 0; }
  .statusbar { padding-top: env(safe-area-inset-top, 0); }
  .bottom-bar, .composer, .tabbar { padding-bottom: calc(env(safe-area-inset-bottom, 0px)); }
}

/* 提示条 */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(12px);
  max-width: 80%; padding: 10px 16px; border-radius: 999px;
  background: rgba(61, 58, 56, .92); color: #fff;
  font-size: 12.5px; font-weight: 600; line-height: 1.5;
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  z-index: 99;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 导入用的多行文本域 */
.ta {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 11px 12px; font-family: var(--font-family); font-size: 12px; line-height: 1.7;
  color: var(--text); background: #FFFDFB; outline: none; resize: vertical;
}
.ta:focus { border-color: var(--primary); }
.ta::placeholder { color: #C0B6AE; }
