:root{
  --bg1:#b9dcff;
  --bg2:#e9f4ff;
  --ink:#0b2342;
  --muted:#385175;
  --card:#ffffff;
  --accent:#0ea5e9;
  --ok:#22c55e;
  --warn:#f59e0b;
  --err:#ef4444;
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  background-attachment: fixed;
}

.app-header{
  position:sticky; top:0; z-index:10;
  backdrop-filter:saturate(180%) blur(8px);
  background:rgba(245,249,255,.7);
  border-bottom:1px solid rgba(0,0,0,.06);
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 12px;
}
.brand{font-weight:800; letter-spacing:.2px}
.nav .btn{margin-left:8px}

.container{padding:16px}
.container.narrow{max-width:480px; margin:0 auto}

.title{margin:.2rem 0 0.4rem 0}
.subtitle{margin:1rem 0 .6rem 0}

.muted{color:var(--muted); font-size:.95rem}

.btn{
  appearance:none; border:0; border-radius:12px;
  background:#e6f2ff; padding:10px 14px; font-weight:600; cursor:pointer;
}
.btn.primary{background:var(--accent); color:white}
.btn.success{background:var(--ok); color:white}
.btn.warn{background:var(--warn); color:white}
.btn.error{background:var(--err); color:white}
.btn:disabled{opacity:.6; cursor:not-allowed}

.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:14px; box-shadow:0 6px 20px rgba(10,40,90,.08);
}

.profile-card{
  display:flex; gap:12px; align-items:center;
  background:rgba(255,255,255,.75); padding:10px; border-radius:16px;
  box-shadow:0 6px 20px rgba(10,40,90,.08);
}
.avatar{width:120px; height:120px; border-radius:20%; object-fit:cover}
.profile-meta .handle{font-weight:700}
.profile-meta .name{font-weight:600}
.socials a{margin-right:8px; text-decoration:none; color:var(--accent)}

.cloud-stack{display:flex; flex-direction:column; gap:12px}
.cloud{
  background:white;
  padding:14px 14px 18px 14px;
  border-radius:40px; position:relative;
  box-shadow:0 10px 26px rgba(10,40,90,.12);
  clip-path: path("M10,40 Q40,0 90,20 T170,25 Q210,20 240,40 T300,50 Q320,80 290,110 T220,120 Q170,140 90,130 T10,100 Q0,70 10,40 Z");
}
.cloud textarea, .cloud input{
  width:100%; border:0; outline:0; resize:vertical; min-height:44px;
  background:transparent; font-size:1rem;
}

.cloud .q-meta{font-size:.85rem; color:var(--muted); margin-top:6px}

.inbox .item{padding:12px; border-radius:14px; background:rgba(255,255,255,.85); box-shadow:0 6px 18px rgba(10,40,90,.08);}
.inbox .row{display:flex; align-items:center; gap:10px}
.inbox .avatar-sm{width:52px; height:52px; border-radius:12px; object-fit:cover}

.actions{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}

/* Accessibility */
@media (prefers-reduced-motion: no-preference){
  body{ background-size:cover; animation: skyfloat 35s linear infinite alternate}
}
@keyframes skyfloat{
  0%{ background-position: 0 0}
  100%{ background-position: 0 18%}
}
