/* 作品页：原图授权 / 下载按钮（补充 photo.built.css） */
.photo-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 15px;
  background: #059669;
  color: #fff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: background-color 0.2s ease, filter 0.2s ease;
}
.photo-dl-btn:hover {
  background: #047857;
  color: #fff !important;
}

.photo-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 15px;
  background: #fff;
  color: #334155;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.photo-auth-btn:hover {
  border-color: rgba(10, 61, 98, 0.4);
  color: #0a3d62;
  background: #f0f9ff;
}

.photo-auth-pending {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 15px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.photo-auth-reject-tip {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  font-size: 0.875rem;
  color: #b91c1c;
}

.photo-auth-owner-tip {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  font-size: 0.875rem;
  color: #334155;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.photo-auth-owner-tip a {
  font-weight: 600;
  color: #0a3d62;
  text-decoration: none;
}
.photo-auth-owner-tip a:hover {
  color: #0369a1;
}
.photo-auth-owner-tip .fa-key {
  color: #0a3d62;
  margin-right: 0.375rem;
}

/* 他人复核 */
.photo-rereview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  background: #fffbeb;
  color: #78350f;
  border: 1px solid #fcd34d;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.photo-rereview-btn:hover {
  background: #fef3c7;
}
.photo-rereview-btn__hint {
  font-weight: 400;
  color: rgba(146, 64, 14, 0.85);
}
.photo-rereview-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
}
.photo-rereview-cooldown {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
}
.photo-rereview-modal__head {
  background: #fffbeb;
}
.photo-rereview-modal__textarea {
  border: 2px solid #fef3c7;
  background: #fffbeb;
}
.photo-rereview-modal__textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}
#submitRereviewBtn {
  background: #0a3d62 !important;
  color: #fff !important;
}
#submitRereviewBtn:hover {
  filter: brightness(1.1);
}
#submitRereviewBtn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  filter: none;
}
