/* ============================================
   comment-sheet.css — Bottom sheet opened by a long-press on a touch back
   comment row. Appended to document.body, so not scoped under
   .feed-post-unit--touch.
   ============================================ */

.sb-comment-sheet-veil {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 4000;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sb-comment-sheet-veil.is-open {
  opacity: 1;
}

.sb-comment-sheet-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-sizing: border-box;
  max-height: 80vh;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform 0.2s ease;
}

.sb-comment-sheet-veil.is-open .sb-comment-sheet-panel {
  transform: translateY(0);
}

.sb-comment-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  margin: 10px auto 12px;
}

.sb-comment-sheet-quote {
  font-size: 13px;
  color: #555;
  padding: 0 16px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid #eee;
}

.sb-comment-sheet-quote strong {
  font-weight: 600;
  color: #333;
}

.sb-comment-sheet-action {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  color: #18181b;
  text-align: left;
  cursor: pointer;
}

.sb-comment-sheet-action--danger {
  color: #DC2626;
}

.sb-comment-sheet-divider {
  border-top: 1px solid #eee;
}

.sb-comment-sheet-cancel {
  display: block;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 16px;
  text-align: center;
  color: #18181b;
  cursor: pointer;
}
