* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* STOP BODY SCROLL */
html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background: #000;
  display: flex;
  justify-content: center;
  font-family: system-ui, sans-serif;
}

/* MOBILE FRAME */
.app {
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: #111;
  color: #fff;
  position: relative;
}

/* FIXED HEADER */
.header {
  position: fixed;
  top: 0;
  width: 420px;
  max-width: 100%;
  background: #000;
  text-align: center;
  padding: 10px;
  z-index: 1000;
  border-bottom: 1px solid #222;
}

.header img {
  height: 40px;
}

.header small {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}

/* FIXED POST BOX */
.post-box {
  position: fixed;
  top: 76px;
  width: 420px;
  max-width: 100%;
  background: #111;
  padding: 10px;
  z-index: 999;
  border-bottom: 1px solid #222;
}

textarea {
  width: 100%;
  background: #222;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  resize: none;
}

button {
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  background: #fe206d;
  color: #fff;
  border: none;
  border-radius: 6px;
}

/* FEED SCROLLS */
.feed {
  position: absolute;
  top: 185px; /* header + post-box height */
  bottom: 0;
  width: 100%;
  overflow-y: auto;
  padding: 10px;
}

/* POST CARD */
.post {
  background: #1c1c1c;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
}

/* ACTION BAR */
.actions {
  display: flex;
  gap: 15px;
  margin-top: 6px;
  font-size: 18px;
  cursor: pointer;
}

/* COMMENT INPUT HIDDEN */
.comment-box {
  display: none;
  margin-top: 6px;
}

.comment-box input {
  width: 100%;
  padding: 8px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
}

/* COMMENTS */
.comment {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
}
.like-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.comment {
  padding: 8px 10px;
  margin-bottom: 6px;
  background: #1f1f1f;
  border-left: 3px solid #555;
  border-radius: 4px;
  font-size: 14px;
}

/* 🆕 Highlight newly added comment */
.new-comment {
  border-left-color: #ff2e63;
  animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.comment-btn {
  cursor: pointer;
  user-select: none;
}
input[type="text"] {
    width: -webkit-fill-available;
    height: 28px;
}

/* Fixed Feedback Tab */
.feedback-tab {
  position: fixed;
  right: -35px;
  top: 50%;
  transform: rotate(-90deg);
  background: #ff2e63;
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px 6px 0 0;
  z-index: 999;
}

.feedback-tab:hover {
  background: #e02657;
}

/* Footer */
.footer {
  text-align: center;
  padding: 14px;
  font-size: 13px;
  color: #888;
  background: #0f0f0f;
}
