 body {
            user-select: none;
            -webkit-user-select: none;
            /* Prevent default touch highlight */
            -webkit-tap-highlight-color: transparent;
            /* Prevent iOS press darkness */
            -webkit-touch-callout: none;
 }
 
 /* ===== Long-press active post ===== */
.poster {
  position: relative;
}

.poster.long-press-active::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(255,255,255,1),
    rgba(255,255,255,0.9),
    rgba(255,255,255,0)
  );
  box-shadow:
    0 18px 30px rgba(255,255,255,1),
    0 8px 16px rgba(255,255,255,0.7);
  border-radius: 12px;
}

/* ===== Action bar ===== */
.post-action-bar {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 20;
}

.post-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-family: Noto Sans JP;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.post-action-btn .label {
  font-size: 14px;
}

.post-action-btn .icon {
  font-size: 15px;
  line-height: 1;
}

.post-action-btn .label {
  background: #f2f2f2;
}

.post-action-btn:active {
  transform: scale(0.95);
}

/* Optional color hints */
.post-action-btn.report { color: black; }
.post-action-btn.delete { color: black; 
}
 
 
 .post-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: flex-end;
  z-index: 9999;
}

.post-modal.hidden {
  display: none;
}

.post-sheet {
  width: 100%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 15px;
  animation: slideUp .3s ease;
  font-family: 'Noto Sans JP', sans-serif;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.post-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.close-post {
  font-size: 22px;
  cursor: pointer;
}

#postContent {
  width: 100%;
  border: none;
  resize: none;
  margin: 15px 0;
  font-size: 15px;
  outline: none;
}

.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.media-btn img {
  width: 22px;
}

.post-btn {
  background: rgb(244,7,82);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
}
 
 
.emoji-container {
            display: flex;
            justify-content: space-between;
            width: 80%;
        }

        .emoji-wrapper {
            position: relative;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            user-select: none;
            -webkit-user-select: none;
            /* Prevent default touch highlight */
            -webkit-tap-highlight-color: transparent;
            /* Prevent iOS press darkness */
            -webkit-touch-callout: none;
        }

        .emoji {
            width: 24px;
            height: 24px;
            transition: transform 0.7s ease;
        }

        .emoji-count {
            color: black;
            font-size: 13px;
            vertical-align: middle;
        }

        .selected::after {
            content: '';
            position: absolute;
            top: -2px;
            left: -5px;
            right: -5px;
            bottom: -2px;
            background: rgb(180, 180, 180, 0.2);
            border-radius: 10px;
            border: 1px solid rgb(200, 200, 200);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .selected.background-visible::after {
            opacity: 1;
        }

        .animating {
            transform: scale(1.7);
        }