.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.95);
  z-index: 950;
  width: 420px;
  max-height: 80vh;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #e0ddd8;
}
.modal-title {
  font-size: 14px;
  font-weight: 700;
}
.modal-close {
  font-size: 20px;
  color: #888;
  line-height: 1;
}
.modal-close:hover { color: #333; }
.modal-body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}
.modal-body .board-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-body .board-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f5f4f0;
  cursor: pointer;
  transition: background .1s;
}
.modal-body .board-item:hover { background: #e8e5df; }
.modal-body .board-item-name {
  font-size: 13px;
  font-weight: 600;
}
.modal-body .board-item-date {
  font-size: 10px;
  color: #888;
}
