/* detail.css — 짤 상세 모달 · 액션 버튼 */

dialog {
  width: min(830px,calc(100% - 32px));
  border: 0;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 25px 100px #0003;
  background: var(--bg);
  color: var(--ink);
}

dialog::backdrop {
  background: #20251ec0;
}

.detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.detail .art {
  min-height: 380px;
  padding: 35px;
}

.detail .art img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
}

.detailcopy {
  padding: 54px 28px 30px;
}

.detailcopy h2 {
  font-size: 23px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.detailcopy p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.detailcopy .actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.actions button {
  border: 1px solid #d9dbcf;
  border-radius: 8px;
  padding: 11px 12px;   /* 4개가 한 줄에 들어가는 폭 */
  font-size: 13px;
  background: white;
}

.actions button:first-child {
  background: var(--yellow);
  border-color: var(--yellow);
}

.close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 22px;
}

.actions button.danger {
  border-color: #e4b4b4;
  color: #a33a3a;
}

.actions button.danger:hover {
  background: #fbeeee;
}

.actions button.report {
  color: #7d8071;
}

.actions button.report:hover {
  background: #f1f1ea;
}
