body { overflow: hidden; }
.screen { height: 100dvh; }
.center { display: grid; place-items: center; padding: 24px; }
.chat { display: flex; flex-direction: column; }

.spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.card {
  background: var(--surface); border-radius: 16px; padding: 32px 24px; max-width: 380px; width: 100%;
  text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.card-ico { font-size: 44px; }
.card h1 { font-size: 21px; margin: 10px 0 8px; }
.card p { color: var(--muted); margin: 0 0 22px; }

.topbar {
  display: flex; align-items: center; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  background: var(--brand); color: #fff;
}
.topbar .avatar { background: rgba(255, 255, 255, .2); color: #fff; }
.topbar-info { flex: 1; min-width: 0; }
.topbar-title { font-weight: 600; font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-sub { font-size: 12.5px; opacity: .85; }
.topbar-sub.typing { color: #fff !important; }
.ghost-light { background: rgba(255, 255, 255, .16); }
.ghost-light:hover { background: rgba(255, 255, 255, .26); }

.banner {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 13.5px;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.banner span { flex: 1; }
.banner-close { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; padding: 4px; }
