/* ===== BASE ===== */
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: #363636;
  overflow: hidden;
}

/* ===== MONET POND BACKGROUND ===== */
.pond {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.35), transparent 40%),
    radial-gradient(circle at 70% 40%, rgba(173, 216, 230, 0.35), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(221, 160, 221, 0.25), transparent 50%),
    linear-gradient(180deg, #f4f1ee, #e9e6e3);
  filter: blur(0px);
  z-index: -2;
}

/* subtle grain like paper / film */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ===== LAYOUT ===== */
.layout {
  display: flex;
  height: 100vh;
  padding: 24px;
  gap: 24px;
  box-sizing: border-box;
}

/* ===== FEED ===== */
.feed {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 10px;
}

/* scroll subtle */
.feed::-webkit-scrollbar {
  width: 8px;
}
.feed::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.4);
  border-radius: 999px;
}

/* ===== POSTS (floating lily cards) ===== */
.post {
  position: relative;
  padding: 16px 18px;
  border-radius: 22px;

  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.4);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

/* watercolor wash overlay */
.post::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 182, 193, 0.25), transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(173, 216, 230, 0.25), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(221, 160, 221, 0.2), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.post:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.10),
    0 0 30px rgba(255, 200, 220, 0.25);
}

/* ===== COMPOSER ===== */
.composer {
  width: 36%;
  padding: 26px;

  display: flex;
  flex-direction: column;
  gap: 14px;

  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(16px);

  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.5);

  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* header typography */
h1 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.5px;
}

.sub {
  margin: 6px 0 0;
  font-size: 12px;
  opacity: 0.6;
}

/* ===== INPUT ===== */
textarea {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.6);

  padding: 14px;

  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);

  font-size: 14px;
  resize: none;

  outline: none;

  transition: 0.2s ease;
}

textarea:focus {
  transform: scale(1.01);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== BUTTONS ===== */
button {
  border: none;
  padding: 10px 14px;
  border-radius: 999px;

  background: linear-gradient(135deg,
    rgba(255, 182, 193, 0.7),
    rgba(173, 216, 230, 0.7),
    rgba(221, 160, 221, 0.7)
  );

  cursor: pointer;

  font-weight: 500;
  letter-spacing: 0.3px;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ===== PROFILE ===== */
#profileBox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-card {
  padding: 12px 14px;
  border-radius: 18px;

  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.4);

  font-size: 12px;
}

.profile-name {
  font-weight: 600;
}

.profile-pubkey {
  opacity: 0.5;
  font-size: 11px;
  word-break: break-all;
}