/* NATIVEnvoy mobile web shell — mirrors Flutter Home · Feed · Events · Chat · Me */
html, body {
  margin: 0; padding: 0; height: 100%;
  background: #050505;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.nv-m-root {
  min-height: 100%;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,212,255,.12), transparent 55%),
    #050505;
}
.nv-m-phone {
  width: min(430px, 100vw);
  min-height: 100vh;
  min-height: 100dvh;
  background: #0a0a0a;
  color: #f8f9fa;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0,212,255,.15), 0 20px 60px rgba(0,0,0,.55);
}
.nv-m-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(0,212,255,.2);
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nv-m-top img { height: 32px; width: auto; display: block; }
.nv-m-top .actions { display: flex; gap: .35rem; }
.nv-m-icon-btn {
  width: 36px; height: 36px; border-radius: 12px;
  border: 1px solid rgba(0,212,255,.25);
  background: #141414; color: #00d4ff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem;
}
.nv-m-body {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 88px;
}
.nv-m-pane { display: none; padding: 1rem; }
.nv-m-pane.on { display: block; }
.nv-m-bottom {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(430px, 100vw);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .15rem;
  padding: .45rem .35rem calc(.45rem + env(safe-area-inset-bottom));
  background: rgba(12,12,12,.97);
  border-top: 1px solid rgba(0,212,255,.22);
  z-index: 30;
}
.nv-m-tab {
  border: 0; background: transparent; color: #94a3b8;
  padding: .4rem .2rem; border-radius: 12px;
  font-size: .68rem; font-weight: 700; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
}
.nv-m-tab .ico { font-size: 1.15rem; line-height: 1; }
.nv-m-tab.on { color: #00d4ff; background: rgba(0,212,255,.08); }

.nv-m-hero {
  border-radius: 22px; overflow: hidden; position: relative;
  aspect-ratio: 16/9; margin-bottom: 1rem;
  background: #111 center/cover no-repeat;
}
.nv-m-hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.82));
}
.nv-m-hero .inner {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
}
.nv-m-pill {
  display: inline-flex; padding: .25rem .7rem; border-radius: 999px;
  border: 1px solid rgba(0,212,255,.55); color: #7dd3fc;
  background: rgba(0,212,255,.14); font-size: .72rem; font-weight: 800;
}
.nv-m-hero h1 {
  margin: .45rem 0 .2rem; font-size: 1.35rem; font-weight: 900; color: #fff;
}
.nv-m-hero p { margin: 0; color: rgba(255,255,255,.85); font-size: .9rem; }

.nv-m-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.nv-m-chip {
  padding: .45rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
  border: 1px solid rgba(0,212,255,.35); background: rgba(0,212,255,.1); color: #e2e8f0;
}
.nv-m-section { font-weight: 900; font-size: 1.05rem; margin: 1rem 0 .65rem; }
.nv-m-card {
  background: linear-gradient(135deg, #141414, #0d1a20);
  border: 1px solid rgba(0,212,255,.28);
  border-radius: 18px; padding: .85rem;
  margin-bottom: .7rem;
}
.nv-m-card h3 { margin: 0 0 .25rem; font-size: 1rem; }
.nv-m-card .meta { color: #94a3b8; font-size: .82rem; margin: 0; }
.nv-m-row {
  display: flex; gap: .75rem; align-items: center; cursor: pointer;
}
.nv-m-row .emoji {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,212,255,.14); font-size: 1.35rem; flex: 0 0 auto;
}
.nv-m-roles {
  display: flex; gap: .65rem; overflow-x: auto; padding-bottom: .35rem;
  -webkit-overflow-scrolling: touch;
}
.nv-m-role {
  flex: 0 0 132px; height: 160px; border-radius: 18px; overflow: hidden;
  position: relative; background: #111 center/cover no-repeat;
}
.nv-m-role .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.88));
}
.nv-m-role .txt {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  font-size: .85rem; font-weight: 800;
}
.nv-m-role .txt small { display: block; font-weight: 600; opacity: .8; font-size: .72rem; }

.nv-m-feed-item { padding: .9rem; }
.nv-m-feed-item .who { font-weight: 800; color: #00d4ff; }
.nv-m-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .55rem; }
.nv-m-btn {
  border: 0; border-radius: 999px; padding: .55rem .9rem;
  font-weight: 800; font-size: .82rem; cursor: pointer;
  background: linear-gradient(135deg, #00d4ff, #0284c7); color: #0a0a0a;
}
.nv-m-btn.ghost {
  background: transparent; color: #e2e8f0;
  border: 1px solid rgba(0,212,255,.3);
}
.nv-m-input, .nv-m-textarea, .nv-m-select {
  width: 100%; border-radius: 12px; border: 1px solid rgba(0,212,255,.25);
  background: #121212; color: #f8f9fa; padding: .7rem .85rem;
  font: inherit; margin: .35rem 0 .75rem;
}
.nv-m-textarea { min-height: 88px; resize: vertical; }
.nv-m-composer {
  display: flex; gap: .4rem; align-items: flex-end;
  position: sticky; bottom: 78px; background: rgba(10,10,10,.95);
  padding: .55rem 0 .2rem; margin-top: .5rem;
}
.nv-m-composer input { flex: 1; margin: 0; }
.nv-m-msg {
  border-radius: 14px; padding: .7rem .85rem; margin-bottom: .55rem;
  max-width: 92%;
}
.nv-m-msg.bot { background: #141414; border: 1px solid rgba(0,212,255,.2); }
.nv-m-msg.user {
  background: rgba(0,212,255,.15); border: 1px solid rgba(0,212,255,.35);
  margin-left: auto;
}
.nv-m-msg .txt { white-space: pre-wrap; font-size: .9rem; }
.nv-m-empty { color: #94a3b8; text-align: center; padding: 2rem .5rem; }
.nv-m-gate {
  padding: 2rem 1.25rem; text-align: center;
}
.nv-m-gate h2 { margin: 0 0 .5rem; }
.hidden { display: none !important; }
